The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5431

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Include fingerprint and size metadata in CreateImage error
response when image already exists.  When creating an image
from a container snapshot, it is useful to know the fingerprint
of an existing image.  It can currently be parsed from the error
string, but this makes it more explicit.

Signed-off-by: Joel Hockey <joelhoc...@chromium.org>





<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
  <link rel="dns-prefetch" href="https://github.githubassets.com";>
  <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com";>
  <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com";>
  <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com";>
  <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com";>
  <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com";>
  <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/";>



  <link crossorigin="anonymous" media="all" 
integrity="sha512-pWLt6abkYhNeAHaDrPVG0yXCtIGRuCkwSUqQpsyN6smAIpIt+Iuq2IZKmoH9l3Cy/9ZnjvVrFZnvFFjGiqE3EA=="
 rel="stylesheet" 
href="https://github.githubassets.com/assets/frameworks-a3b8a10d4a9e37a78f033ef4a4f525f5.css";
 />
  <link crossorigin="anonymous" media="all" 
integrity="sha512-IST8JspDNfKOavszhBp7Z1zxXIrncPzvWLWp2S6A1FqFE74R5iIldEl/vpqtSMwUDbHHZZQO0KUQRC/rkDPlcg=="
 rel="stylesheet" 
href="https://github.githubassets.com/assets/github-b5621ac7a31fa904b2627bcd0f6079bc.css";
 />
  
  
  <link crossorigin="anonymous" media="all" 
integrity="sha512-L+Xfjk72/sIPS5T8Z8Wy/+/78ngrN7jAjVpE5Zoo2KfZYqr9s8p6selV7sLydYrh0Y3Pu02CuEa7uuq70RjSxg=="
 rel="stylesheet" 
href="https://github.githubassets.com/assets/site-278e4176d194ae782983c71f1f767503.css";
 />
  
  

  <meta name="viewport" content="width=device-width">
  
  <title>lxd: Send metadata in CreateImage error response by joelhockey · Pull 
Request #5431 · lxc/lxd · GitHub</title>
    <meta name="description" content="Include fingerprint and size metadata in 
CreateImage error
response when image already exists.  When creating an image
from a container snapshot, it is useful to know the fingerprint
of an existing image.  It can currently be parsed from the error
string, but this makes it more explicit.
Signed-off-by: Joel Hockey joelhoc...@chromium.org">
    <link rel="search" type="application/opensearchdescription+xml" 
href="/opensearch.xml" title="GitHub">
  <link rel="fluid-icon" href="https://github.com/fluidicon.png"; title="GitHub">
  <meta property="fb:app_id" content="1401488693436528">

    
    <meta property="og:image" 
content="https://avatars3.githubusercontent.com/u/208049?s=400&amp;v=4"; /><meta 
property="og:site_name" content="GitHub" /><meta property="og:type" 
content="object" /><meta property="og:title" content="lxd: Send metadata in 
CreateImage error response by joelhockey · Pull Request #5431 · lxc/lxd" 
/><meta property="og:url" content="https://github.com/lxc/lxd/pull/5431"; 
/><meta property="og:description" content="Include fingerprint and size 
metadata in CreateImage error
response when image already exists.  When creating an image
from a container snapshot, it is useful to know the fingerprint
of an existing..." />

  <link rel="assets" href="https://github.githubassets.com/";>
  
  <meta name="pjax-timeout" content="1000">
  
  <meta name="request-id" content="D72E:3360:39693:6FAC6:5C48EEBF" 
data-pjax-transient>

    <meta name="hovercard-subject-tag" content="pull_request:247142735" 
data-pjax-transient>

  

  <meta name="selected-link" value="repo_pulls" data-pjax-transient>

      <meta name="google-site-verification" 
content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
    <meta name="google-site-verification" 
content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
    <meta name="google-site-verification" 
content="GXs5KoUUkNCoaAZn7wPN-t01Pywp9M3sEjnt_3_ZWPc">

  <meta name="octolytics-host" content="collector.githubapp.com" /><meta 
name="octolytics-app-id" content="github" /><meta name="octolytics-event-url" 
content="https://collector.githubapp.com/github-external/browser_event"; /><meta 
name="octolytics-dimension-request_id" content="D72E:3360:39693:6FAC6:5C48EEBF" 
/><meta name="octolytics-dimension-region_edge" content="iad" /><meta 
name="octolytics-dimension-region_render" content="iad" />
<meta name="analytics-location" 
content="/&lt;user-name&gt;/&lt;repo-name&gt;/pull_requests/show" 
data-pjax-transient="true" />



    <meta name="google-analytics" content="UA-3769691-2">


<meta class="js-ga-set" name="dimension1" content="Logged Out">



  

      <meta name="hostname" content="github.com">
    <meta name="user-login" content="">

      <meta name="expected-hostname" content="github.com">
    <meta name="js-proxy-site-detection-payload" 
content="NTZiODg0MTE0OWJiY2UyNTBmN2E3Y2FiMjg5OWFmMjBkZjNkNzgwZWQ2MTZmMjM1Y2IwZDIwNzJiY2JmM2I4MXx7InJlbW90ZV9hZGRyZXNzIjoiMTQ5LjU2LjE0OC4wIiwicmVxdWVzdF9pZCI6IkQ3MkU6MzM2MDozOTY5Mzo2RkFDNjo1QzQ4RUVCRiIsInRpbWVzdGFtcCI6MTU0ODI4MzU4NCwiaG9zdCI6ImdpdGh1Yi5jb20ifQ==">

    <meta name="enabled-features" 
content="UNIVERSE_BANNER,MARKETPLACE_PLAN_RESTRICTION_EDITOR">

  <meta name="html-safe-nonce" 
content="215c3f3763238b4194144fac6864d64b287af8a1">

  <meta http-equiv="x-pjax-version" content="6b8920968fce738d76d864b14b4efa26">
  

      <link 
href="https://github.com/lxc/lxd/commits/create-image-exists-return-fingerprint.atom";
 rel="alternate" title="Recent Commits to 
lxd:create-image-exists-return-fingerprint" type="application/atom+xml">

  <meta name="go-import" content="github.com/lxc/lxd git 
https://github.com/lxc/lxd.git";>

  <meta name="octolytics-dimension-user_id" content="2301756" /><meta 
name="octolytics-dimension-user_login" content="lxc" /><meta 
name="octolytics-dimension-repository_id" content="26192117" /><meta 
name="octolytics-dimension-repository_nwo" content="lxc/lxd" /><meta 
name="octolytics-dimension-repository_public" content="true" /><meta 
name="octolytics-dimension-repository_is_fork" content="false" /><meta 
name="octolytics-dimension-repository_network_root_id" content="26192117" 
/><meta name="octolytics-dimension-repository_network_root_nwo" 
content="lxc/lxd" /><meta 
name="octolytics-dimension-repository_explore_github_marketplace_ci_cta_shown" 
content="false" />




  <meta name="browser-stats-url" 
content="https://api.github.com/_private/browser/stats";>

  <meta name="browser-errors-url" 
content="https://api.github.com/_private/browser/errors";>

  <link rel="mask-icon" 
href="https://github.githubassets.com/pinned-octocat.svg"; color="#000000">
  <link rel="icon" type="image/x-icon" class="js-site-favicon" 
href="https://github.githubassets.com/favicon.ico";>

<meta name="theme-color" content="#1e2327">



  <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials">

  </head>

  <body class="logged-out env-production">
    

  <div class="position-relative js-header-wrapper ">
    <a href="#start-of-content" tabindex="1" class="px-2 py-4 bg-blue 
text-white show-on-focus js-skip-to-content">Skip to content</a>
    <div id="js-pjax-loader-bar" class="pjax-loader-bar"><div 
class="progress"></div></div>

    
    
    


        
<header class="Header header-logged-out  position-relative f4 py-3" 
role="banner">
  <div class="container-lg d-flex px-3">
    <div class="d-flex flex-justify-between flex-items-center">
        <a class="mr-4" href="https://github.com/"; aria-label="Homepage" 
data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
          <svg height="32" class="octicon octicon-mark-github text-white" 
viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true"><path 
fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 
7.59.4.07.55-.17.55-.38 
0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
 1.08.58 1.23.82.72 1.21 1.87.87 
2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 
0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 
1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 
2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 
1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 
8c0-4.42-3.58-8-8-8z"/></svg>
        </a>
    </div>

    <div class="HeaderMenu HeaderMenu--logged-out d-flex flex-justify-between 
flex-items-center flex-auto">
      <div class="d-none">
        <button class="btn-link js-details-target" type="button" 
aria-label="Toggle navigation" aria-expanded="false">
          <svg height="24" class="octicon octicon-x text-gray" viewBox="0 0 12 
16" version="1.1" width="18" aria-hidden="true"><path fill-rule="evenodd" 
d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 
4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
        </button>
      </div>

        <nav class="mt-0" aria-label="Global">
          <ul class="d-flex list-style-none">
              <li class=" mr-3 mr-lg-3 edge-item-fix position-relative 
flex-wrap flex-justify-between d-flex flex-items-center ">
                <details class="HeaderMenu-details details-overlay 
details-reset width-full">
                  <summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 
border-0 no-wrap  d-inline-block">
                    Why GitHub?
                    <svg x="0px" y="0px" viewBox="0 0 14 8" 
xml:space="preserve" fill="none" class="icon-chevon-down-mktg 
position-relative">
                      <path d="M1,1l6.2,6L13,1"></path>
                    </svg>
                  </summary>
                  <div class="dropdown-menu flex-auto rounded-1 bg-white px-0 
mt-0  p-4 left-n4 position-absolute">
                    <a href="/features" class="py-2 lh-condensed-ultra d-block 
link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) 
Header, go to Features">Features <span class="Bump-link-symbol float-right 
text-normal text-gray-light">&rarr;</span></a>
                    <ul class="list-style-none f5 pb-3">
                      <li class="edge-item-fix"><a 
href="/features/code-review/" class="py-2 lh-condensed-ultra d-block link-gray 
no-underline f5" data-ga-click="(Logged out) Header, go to Code review">Code 
review</a></li>
                      <li class="edge-item-fix"><a 
href="/features/project-management/" class="py-2 lh-condensed-ultra d-block 
link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Project 
management">Project management</a></li>
                      <li class="edge-item-fix"><a 
href="/features/integrations" class="py-2 lh-condensed-ultra d-block link-gray 
no-underline f5" data-ga-click="(Logged out) Header, go to 
Integrations">Integrations</a></li>
                      <li class="edge-item-fix"><a href="/features/actions" 
class="py-2 lh-condensed-ultra d-block link-gray" data-ga-click="(Logged out) 
Header, go to Actions">Actions</a>
                      <li class="edge-item-fix"><a 
href="/features#team-management" class="py-2 lh-condensed-ultra d-block 
link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Team 
management">Team management</a></li>
                      <li class="edge-item-fix"><a 
href="/features#social-coding" class="py-2 lh-condensed-ultra d-block link-gray 
no-underline f5" data-ga-click="(Logged out) Header, go to Social 
coding">Social coding</a></li>
                      <li class="edge-item-fix"><a 
href="/features#documentation" class="py-2 lh-condensed-ultra d-block link-gray 
no-underline f5" data-ga-click="(Logged out) Header, go to 
Documentation">Documentation</a></li>
                      <li class="edge-item-fix"><a 
href="/features#code-hosting" class="py-2 lh-condensed-ultra d-block link-gray 
no-underline f5" data-ga-click="(Logged out) Header, go to Code hosting">Code 
hosting</a></li>
                    </ul>

                    <ul class="list-style-none mb-0 border-lg-top pt-lg-3">
                      <li class="edge-item-fix"><a href="/case-studies" 
class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline 
h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Case 
studies">Case Studies <span class="Bump-link-symbol float-right text-normal 
text-gray-light">&rarr;</span></a></li>
                      <li class="edge-item-fix"><a href="/security" class="py-2 
lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 
Bump-link--hover" data-ga-click="(Logged out) Header, go to Security">Security 
<span class="Bump-link-symbol float-right text-normal 
text-gray-light">&rarr;</span></a></li>
                    </ul>
                  </div>
                </details>
              </li>
              <li class=" mr-3 mr-lg-3">
                <a href="/enterprise" class="HeaderMenu-link no-underline py-3 
d-block d-lg-inline-block" data-ga-click="(Logged out) Header, click, go to 
Enterprise">Enterprise</a>
              </li>

              <li class=" mr-3 mr-lg-3 edge-item-fix position-relative 
flex-wrap flex-justify-between d-flex flex-items-center ">
                <details class="HeaderMenu-details details-overlay 
details-reset width-full">
                  <summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 
border-0 no-wrap  d-inline-block">
                    Explore
                    <svg x="0px" y="0px" viewBox="0 0 14 8" 
xml:space="preserve" fill="none" class="icon-chevon-down-mktg 
position-relative">
                      <path d="M1,1l6.2,6L13,1"></path>
                    </svg>
                  </summary>

                  <div class="dropdown-menu flex-auto rounded-1 bg-white px-0 
pt-2 pb-0 mt-0  p-4 left-n4 position-absolute">
                    <ul class="list-style-none mb-3">
                      <li class="edge-item-fix"><a href="/explore" class="py-2 
lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" 
data-ga-click="(Logged out) Header, go to Features">Explore GitHub <span 
class="Bump-link-symbol float-right text-normal 
text-gray-light">&rarr;</span></a></li>
                    </ul>

                    <h4 class="text-gray-light text-normal text-mono f5 mb-2  
border-top pt-3">Learn &amp; contribute</h4>
                    <ul class="list-style-none mb-3">
                      <li class="edge-item-fix"><a href="/topics" class="py-2 
lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged 
out) Header, go to Topics">Topics</a></li>
                      <li class="edge-item-fix"><a href="/collections" 
class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" 
data-ga-click="(Logged out) Header, go to Collections">Collections</a></li>
                      <li class="edge-item-fix"><a href="/trending" class="py-2 
lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged 
out) Header, go to Trending">Trending</a></li>
                      <li class="edge-item-fix"><a 
href="https://lab.github.com/"; class="py-2 lh-condensed-ultra d-block link-gray 
no-underline f5" data-ga-click="(Logged out) Header, go to Learning 
lab">Learning Lab</a></li>
                      <li class="edge-item-fix"><a 
href="https://opensource.guide"; class="py-2 lh-condensed-ultra d-block 
link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Open 
source guides">Open source guides</a></li>
                    </ul>

                    <h4 class="text-gray-light text-normal text-mono f5 mb-2  
border-top pt-3">Connect with others</h4>
                    <ul class="list-style-none mb-0">
                      <li class="edge-item-fix"><a href="/events" class="py-2 
lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged 
out) Header, go to Events">Events</a></li>
                      <li class="edge-item-fix"><a 
href="https://github.community"; class="py-2 lh-condensed-ultra d-block 
link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Community 
forum">Community forum</a></li>
                      <li class="edge-item-fix"><a 
href="https://education.github.com"; class="py-2 pb-0 lh-condensed-ultra d-block 
link-gray no-underline f5" data-ga-click="(Logged out) Header, go to GitHub 
Education">GitHub Education</a></li>
                    </ul>
                  </div>
                </details>
              </li>

              <li class=" mr-3 mr-lg-3">
                <a href="/marketplace" class="HeaderMenu-link no-underline py-3 
d-block d-lg-inline-block" data-ga-click="(Logged out) Header, go to 
Marketplace">Marketplace</a>
              </li>

              <li class=" mr-3 mr-lg-3 edge-item-fix position-relative 
flex-wrap flex-justify-between d-flex flex-items-center ">
                <details class="HeaderMenu-details details-overlay 
details-reset width-full">
                  <summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 
border-0 no-wrap  d-inline-block">
                    Pricing
                    <svg x="0px" y="0px" viewBox="0 0 14 8" 
xml:space="preserve" fill="none" class="icon-chevon-down-mktg 
position-relative">
                       <path d="M1,1l6.2,6L13,1"></path>
                    </svg>
                  </summary>

                  <div class="dropdown-menu flex-auto rounded-1 bg-white px-0 
pt-2 pb-4 mt-0  p-4 left-n4 position-absolute">
                    <a href="/pricing" class="pb-2 lh-condensed-ultra d-block 
link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) 
Header, go to Pricing">Plans <span class="Bump-link-symbol float-right 
text-normal text-gray-light">&rarr;</span></a>

                    <ul class="list-style-none mb-3">
                      <li class="edge-item-fix"><a 
href="/pricing#feature-comparison" class="py-2 lh-condensed-ultra d-block 
link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Compare 
features">Compare plans</a></li>
                      <li class="edge-item-fix"><a 
href="https://enterprise.github.com/contact"; class="py-2 lh-condensed-ultra 
d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to 
Compare features">Contact Sales</a></li>
                    </ul>

                    <ul class="list-style-none mb-0  border-top pt-3">
                      <li class="edge-item-fix"><a href="/nonprofit" 
class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline 
h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to 
Nonprofits">Nonprofit <span class="Bump-link-symbol float-right text-normal 
text-gray-light">&rarr;</span></a></li>
                      <li class="edge-item-fix"><a 
href="https://education.github.com"; class="py-2 pb-0 lh-condensed-ultra d-block 
no-underline link-gray-dark no-underline h5 Bump-link--hover"  
data-ga-click="(Logged out) Header, go to Education">Education <span 
class="Bump-link-symbol float-right text-normal 
text-gray-light">&rarr;</span></a></li>
                    </ul>
                  </div>
                </details>
              </li>
          </ul>
        </nav>

      <div class="d-flex flex-items-center px-0 text-center text-left">
          <div class="d-lg-flex mr-3">
            <div class="header-search scoped-search site-scoped-search 
js-site-search position-relative js-jump-to"
  role="combobox"
  aria-owns="jump-to-results"
  aria-label="Search or jump to"
  aria-haspopup="listbox"
  aria-expanded="false"
>
  <div class="position-relative">
    <!-- '"` --><!-- </textarea></xmp> --></option></form><form 
class="js-site-search-form" data-scope-type="Repository" 
data-scope-id="26192117" data-scoped-search-url="/lxc/lxd/search" 
data-unscoped-search-url="/search" action="/lxc/lxd/search" 
accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" 
value="&#x2713;" />
      <label class="form-control header-search-wrapper 
header-search-wrapper-jump-to position-relative d-flex flex-justify-between 
flex-items-center js-chromeless-input-container">
        <input type="text"
          class="form-control header-search-input jump-to-field 
js-jump-to-field js-site-search-focus js-site-search-field is-clearable"
          data-hotkey="s,/"
          name="q"
          value=""
          placeholder="Search"
          data-unscoped-placeholder="Search GitHub"
          data-scoped-placeholder="Search"
          autocapitalize="off"
          aria-autocomplete="list"
          aria-controls="jump-to-results"
          aria-label="Search"
          
data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations#csrf-token=nvGPdo2G5zic6/Ifv4fqdyW1aSb0x3Fb8PL8UZFFDTlur1eV3C02srl3fZBxW7r3VWBkvXFefOeaYpcxHaWOXA=="
          spellcheck="false"
          autocomplete="off"
          >
          <input type="hidden" class="js-site-search-type-field" name="type" >
            <img 
src="https://github.githubassets.com/images/search-key-slash.svg"; alt="" 
class="mr-2 header-search-key-slash">

            <div class="Box position-absolute overflow-hidden d-none 
jump-to-suggestions js-jump-to-suggestions-container">
              
<ul class="d-none js-jump-to-suggestions-template-container">
  

<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item 
js-navigation-item js-jump-to-suggestion" role="option">
  <a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center 
jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" 
href="">
    <div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 
text-center d-none">
      <svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 
js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" 
viewBox="0 0 12 16" version="1.1" role="img"><path fill-rule="evenodd" d="M4 
9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 
1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 
1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
      <svg height="16" width="16" class="octicon octicon-project flex-shrink-0 
js-jump-to-octicon-project d-none" title="Project" aria-label="Project" 
viewBox="0 0 15 16" version="1.1" role="img"><path fill-rule="evenodd" d="M10 
12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 
1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
      <svg height="16" width="16" class="octicon octicon-search flex-shrink-0 
js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 
0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M15.7 
13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 
6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 
0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 
0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"/></svg>
    </div>

    <img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" 
alt="" aria-label="Team" src="" width="28" height="28">

    <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto 
overflow-hidden text-left no-wrap css-truncate css-truncate-target">
    </div>

    <div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light 
ml-1 f6 d-none js-jump-to-badge-search">
      <span class="js-jump-to-badge-search-text-default d-none" aria-label="in 
this repository">
        In this repository
      </span>
      <span class="js-jump-to-badge-search-text-global d-none" aria-label="in 
all of GitHub">
        All GitHub
      </span>
      <span aria-hidden="true" class="d-inline-block ml-1 
v-align-middle">↵</span>
    </div>

    <div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 
text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
      Jump to
      <span class="d-inline-block ml-1 v-align-middle">↵</span>
    </div>
  </a>
</li>

</ul>

<ul class="d-none js-jump-to-no-results-template-container">
  <li class="d-flex flex-justify-center flex-items-center f5 d-none 
js-jump-to-suggestion p-2">
    <span class="text-gray">No suggested jump to results</span>
  </li>
</ul>

<ul id="jump-to-results" role="listbox" class="p-0 m-0 js-navigation-container 
jump-to-suggestions-results-container js-jump-to-suggestions-results-container">
  

<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item 
js-navigation-item js-jump-to-scoped-search d-none" role="option">
  <a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center 
jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" 
href="">
    <div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 
text-center d-none">
      <svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 
js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" 
viewBox="0 0 12 16" version="1.1" role="img"><path fill-rule="evenodd" d="M4 
9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 
1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 
1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
      <svg height="16" width="16" class="octicon octicon-project flex-shrink-0 
js-jump-to-octicon-project d-none" title="Project" aria-label="Project" 
viewBox="0 0 15 16" version="1.1" role="img"><path fill-rule="evenodd" d="M10 
12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 
1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
      <svg height="16" width="16" class="octicon octicon-search flex-shrink-0 
js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 
0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M15.7 
13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 
6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 
0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 
0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"/></svg>
    </div>

    <img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" 
alt="" aria-label="Team" src="" width="28" height="28">

    <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto 
overflow-hidden text-left no-wrap css-truncate css-truncate-target">
    </div>

    <div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light 
ml-1 f6 d-none js-jump-to-badge-search">
      <span class="js-jump-to-badge-search-text-default d-none" aria-label="in 
this repository">
        In this repository
      </span>
      <span class="js-jump-to-badge-search-text-global d-none" aria-label="in 
all of GitHub">
        All GitHub
      </span>
      <span aria-hidden="true" class="d-inline-block ml-1 
v-align-middle">↵</span>
    </div>

    <div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 
text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
      Jump to
      <span class="d-inline-block ml-1 v-align-middle">↵</span>
    </div>
  </a>
</li>

  

<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item 
js-navigation-item js-jump-to-global-search d-none" role="option">
  <a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center 
jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" 
href="">
    <div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 
text-center d-none">
      <svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 
js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" 
viewBox="0 0 12 16" version="1.1" role="img"><path fill-rule="evenodd" d="M4 
9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 
1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 
1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
      <svg height="16" width="16" class="octicon octicon-project flex-shrink-0 
js-jump-to-octicon-project d-none" title="Project" aria-label="Project" 
viewBox="0 0 15 16" version="1.1" role="img"><path fill-rule="evenodd" d="M10 
12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 
1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
      <svg height="16" width="16" class="octicon octicon-search flex-shrink-0 
js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 
0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M15.7 
13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 
6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 
0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 
0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"/></svg>
    </div>

    <img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" 
alt="" aria-label="Team" src="" width="28" height="28">

    <div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto 
overflow-hidden text-left no-wrap css-truncate css-truncate-target">
    </div>

    <div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light 
ml-1 f6 d-none js-jump-to-badge-search">
      <span class="js-jump-to-badge-search-text-default d-none" aria-label="in 
this repository">
        In this repository
      </span>
      <span class="js-jump-to-badge-search-text-global d-none" aria-label="in 
all of GitHub">
        All GitHub
      </span>
      <span aria-hidden="true" class="d-inline-block ml-1 
v-align-middle">↵</span>
    </div>

    <div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 
text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
      Jump to
      <span class="d-inline-block ml-1 v-align-middle">↵</span>
    </div>
  </a>
</li>


</ul>

            </div>
      </label>
</form>  </div>
</div>

          </div>

        <a class="HeaderMenu-link no-underline mr-3" 
href="/login?return_to=%2Flxc%2Flxd%2Fpull%2F5431" data-ga-click="(Logged out) 
Header, clicked Sign in, text:sign-in">Sign&nbsp;in</a>
          <a class="HeaderMenu-link d-inline-block no-underline border 
border-gray-dark rounded-1 px-2 py-1" href="/join" data-ga-click="(Logged out) 
Header, clicked Sign up, text:sign-up">Sign&nbsp;up</a>
      </div>
    </div>
  </div>
</header>

  </div>

  <div id="start-of-content" class="show-on-focus"></div>

    <div id="js-flash-container">

</div>



  <div role="main" class="application-main " data-commit-hovercards-enabled>
        <div itemscope itemtype="http://schema.org/SoftwareSourceCode"; class="">
    <div id="js-repo-pjax-container" data-pjax-container >
      
<!-- base sha1: &quot;d6767343241b21e7a7ced730aa3d80bdaa8d9336&quot; -->
<!-- head sha1: &quot;4ebcbfe46625f6bc7546a2c1718a34d390932c20&quot; -->

  


  




  <div class="pagehead repohead instapaper_ignore readability-menu 
experiment-repo-nav  ">
    <div class="repohead-details-container clearfix container">

      <ul class="pagehead-actions">
  <li>
      <a href="/login?return_to=%2Flxc%2Flxd"
    class="btn btn-sm btn-with-count tooltipped tooltipped-s"
    aria-label="You must be signed in to watch a repository" rel="nofollow">
    <svg class="octicon octicon-eye v-align-text-bottom" viewBox="0 0 16 16" 
version="1.1" width="16" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M8.06 2C3 2 0 8 0 8s3 6 8.06 6C13 14 16 8 16 
8s-3-6-7.94-6zM8 12c-2.2 0-4-1.78-4-4 0-2.2 1.8-4 4-4 2.22 0 4 1.8 4 4 0 
2.22-1.78 4-4 4zm2-4c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 
.89 2 2z"/></svg>
    Watch
  </a>
  <a class="social-count" href="/lxc/lxd/watchers"
     aria-label="199 users are watching this repository">
    199
  </a>

  </li>

  <li>
        <a href="/login?return_to=%2Flxc%2Flxd"
      class="btn btn-sm btn-with-count tooltipped tooltipped-s"
      aria-label="You must be signed in to star a repository" rel="nofollow">
      <svg class="octicon octicon-star v-align-text-bottom" viewBox="0 0 14 16" 
version="1.1" width="14" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 
11.33 14l-.93-4.74L14 6z"/></svg>
      Star
    </a>

    <a class="social-count js-social-count" href="/lxc/lxd/stargazers"
      aria-label="2092 users starred this repository">
      2,092
    </a>

  </li>

  <li>
      <a href="/login?return_to=%2Flxc%2Flxd"
        class="btn btn-sm btn-with-count tooltipped tooltipped-s"
        aria-label="You must be signed in to fork a repository" rel="nofollow">
        <svg class="octicon octicon-repo-forked v-align-text-bottom" viewBox="0 
0 10 16" version="1.1" width="10" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 
0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 
1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 
3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 
0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 
1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 
.65-.55 1.2-1.2 1.2z"/></svg>
        Fork
      </a>

    <a href="/lxc/lxd/network/members" class="social-count"
       aria-label="486 users forked this repository">
      486
    </a>
  </li>
</ul>

      <h1 class="public ">
  <svg class="octicon octicon-repo" viewBox="0 0 12 16" version="1.1" 
width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 
9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 
1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 
1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
  <span class="author" itemprop="author"><a class="url fn" rel="author" 
data-hovercard-type="organization" data-hovercard-url="/orgs/lxc/hovercard" 
href="/lxc">lxc</a></span><!--
--><span class="path-divider">/</span><!--
--><strong itemprop="name"><a data-pjax="#js-repo-pjax-container" 
href="/lxc/lxd">lxd</a></strong>

</h1>

    </div>
    
<nav class="reponav js-repo-nav js-sidenav-container-pjax container"
     itemscope
     itemtype="http://schema.org/BreadcrumbList";
    aria-label="Repository"
     data-pjax="#js-repo-pjax-container">

  <span itemscope itemtype="http://schema.org/ListItem"; 
itemprop="itemListElement">
    <a class="js-selected-navigation-item reponav-item" itemprop="url" 
data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits 
repo_releases repo_tags repo_branches repo_packages /lxc/lxd" href="/lxc/lxd">
      <svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" 
width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M9.5 3L8 
4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 
3z"/></svg>
      <span itemprop="name">Code</span>
      <meta itemprop="position" content="1">
</a>  </span>

    <span itemscope itemtype="http://schema.org/ListItem"; 
itemprop="itemListElement">
      <a itemprop="url" data-hotkey="g i" class="js-selected-navigation-item 
reponav-item" data-selected-links="repo_issues repo_labels repo_milestones 
/lxc/lxd/issues" href="/lxc/lxd/issues">
        <svg class="octicon octicon-issue-opened" viewBox="0 0 14 16" 
version="1.1" width="14" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 
5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 
7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg>
        <span itemprop="name">Issues</span>
        <span class="Counter">43</span>
        <meta itemprop="position" content="2">
</a>    </span>

  <span itemscope itemtype="http://schema.org/ListItem"; 
itemprop="itemListElement">
    <a data-hotkey="g p" itemprop="url" class="js-selected-navigation-item 
selected reponav-item" aria-current="page" data-selected-links="repo_pulls 
checks /lxc/lxd/pulls" href="/lxc/lxd/pulls">
      <svg class="octicon octicon-git-pull-request" viewBox="0 0 12 16" 
version="1.1" width="12" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 
2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 
0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 
1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 
1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 
1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 
0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 
3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 
1.2z"/></svg>
      <span itemprop="name">Pull requests</span>
      <span class="Counter">3</span>
      <meta itemprop="position" content="3">
</a>  </span>





    <a class="js-selected-navigation-item reponav-item" 
data-selected-links="repo_graphs repo_contributors dependency_graph pulse 
alerts security people /lxc/lxd/pulse" href="/lxc/lxd/pulse">
      <svg class="octicon octicon-graph" viewBox="0 0 16 16" version="1.1" 
width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M16 
14v1H0V0h1v14h15zM5 13H3V8h2v5zm4 0H7V3h2v10zm4 0h-2V6h2v7z"/></svg>
      Insights
</a>

</nav>


  </div>

<div class="container new-discussion-timeline experiment-repo-nav  ">
  <div class="repository-content ">

    
    
  <div class="issues-listing js-check-all-container" data-pjax>
    
      <div class="signup-prompt-bg rounded-1">
      <div class="signup-prompt p-4 text-center mb-4 rounded-1">
        <div class="position-relative">
          <!-- '"` --><!-- </textarea></xmp> --></option></form><form 
action="/site/dismiss_signup_prompt" accept-charset="UTF-8" 
method="post"><input name="utf8" type="hidden" value="&#x2713;" /><input 
type="hidden" name="authenticity_token" 
value="DMAh0c+k3fwiVsIgG42K8y4lFBImQCT+CA08Yu6PC+CsCXHWBE9mv8vF+ucFhvc/Ju/4sEVT6ApsdC7Z1etdDg=="
 />
            <button type="submit" class="position-absolute top-0 right-0 
btn-link link-gray" data-ga-click="(Logged out) Sign up prompt, clicked 
Dismiss, text:dismiss">
              Dismiss
            </button>
</form>          <h3 class="pt-2">Join GitHub today</h3>
          <p class="col-6 mx-auto">GitHub is home to over 28 million developers 
working together to host and review code, manage projects, and build software 
together.</p>
          <a class="btn btn-primary" href="/join?source=prompt-pr-show" 
data-ga-click="(Logged out) Sign up prompt, clicked Sign up, text:sign-up">Sign 
up</a>
        </div>
      </div>
    </div>



  <div class="clearfix js-issues-results">
    
  <div
    id="partial-discussion-header"
    class="gh-header js-details-container Details js-socket-channel 
js-updatable-content pull request js-pull-header-details"
    data-channel="pull_request:247142735"
    
data-url="/lxc/lxd/pull/5431/show_partial?partial=pull_requests%2Ftitle&amp;sticky=true"
    data-pull-is-open="true"
    data-gid="MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1">
  <div class="gh-header-show ">
      <div class="gh-header-actions">

          
<details class="details-reset details-overlay details-overlay-dark float-right" 
>
  <summary class="btn btn-sm btn-primary" aria-haspopup="dialog" 
data-ga-click="Issues, create new issue, view:issue_show location:issue_header 
style:button logged_in:false">
    
    New issue
  </summary>
  <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast 
overflow-auto" aria-label="Sign up for GitHub">
    <button class="position-absolute p-4 right-0 btn-link muted-link" 
type="button" aria-label="Close dialog" data-close-dialog>
      <svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" 
width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 
8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 
6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
    </button>
    <div class="p-4 d-flex flex-column">
            <div class="mt-3 mb-2 text-center">
  <svg height="60" class="octicon octicon-comment-discussion text-blue" 
viewBox="0 0 16 16" version="1.1" width="60" aria-hidden="true"><path 
fill-rule="evenodd" d="M15 1H6c-.55 0-1 .45-1 1v2H1c-.55 0-1 .45-1 1v6c0 .55.45 
1 1 1h1v3l3-3h4c.55 0 1-.45 1-1V9h1l3 3V9h1c.55 0 1-.45 
1-1V2c0-.55-.45-1-1-1zM9 11H4.5L3 12.5V11H1V5h4v3c0 .55.45 1 1 
1h3v2zm6-3h-2v1.5L11.5 8H6V2h9v6z"/></svg>
</div>

<div class="px-4">
  <p class="text-center mb-4">
  <strong>Have a question about this project?</strong> Sign up for a free 
GitHub account to open an issue and contact its maintainers and the community.
  </p>

  <form class="js-signup-form" autocomplete="off" 
action="/join?return_to=%2Flxc%2Flxd%2Fissues%2Fnew" accept-charset="UTF-8" 
method="post"><input name="utf8" type="hidden" value="&#x2713;" /><input 
type="hidden" name="authenticity_token" 
value="//te4UyoeuzA04nsiMBY8AykSdUWysu7vKLwzA2S7W3zTgZfkRfv0d29KxoAqgmOOb5DWhmyMKAowJQ1s8KUVw=="
 />    <auto-check src="/signup_check/username" 
csrf="+hHQADsrqWumqxMXSy2ac+p0fQ91AW9BT499B42odNkbBn36ZU8FdhzeWMWb0enaVdHSXpnyB3Ihwww3JtZNPA==">
      <dl class="form-group"><dt class="input-label"><label name="user[login]" 
autocapitalize="off" autofocus="autofocus" for="user_login_issues">Pick a 
username</label></dt><dd><input name="user[login]" autocapitalize="off" 
autofocus="autofocus" class="form-control" type="text" id="user_login_issues" 
/></dd></dl>
    </auto-check>

    <auto-check src="/signup_check/email" 
csrf="ABYSKCiBfiuFPnbkCWi3v6ETLxW8CJSPkxICgIl9U7D1d2UV22E/VUiCfwDRAUDxzdUGY+V0+LnMtsHv90hQ3A==">
      <dl class="form-group"><dt class="input-label"><label name="user[email]" 
autocapitalize="off" for="user_email_issues">Email 
Address</label></dt><dd><input name="user[email]" autocapitalize="off" 
class="form-control" type="text" id="user_email_issues" /></dd></dl>
    </auto-check>

    <dl class="form-group"><dt class="input-label"><label name="user[password]" 
for="user_password_issues">Password</label></dt><dd><input 
name="user[password]" class="form-control" type="password" 
id="user_password_issues" /></dd></dl>

    <input type="hidden" name="source" class="js-signup-source" 
value="modal-issues">
    <input type="text" name="required_field_04e2" id="required_field_04e2" 
hidden="hidden" class="form-control" />
<input type="hidden" name="timestamp" value="1548283583982" 
class="form-control" />
<input type="hidden" name="timestamp_secret" 
value="1e8d187a699a943b463f21a4f1d1e43d3e42ce79cb75cd233e41880d5f57b980" 
class="form-control" />


    <button class="btn btn-primary mt-2 btn-block" type="submit" 
data-ga-click="(Logged out) New issue modal, clicked Sign up, 
text:sign-up">Sign up for GitHub</button>
</form>
  <p class="mt-4 text-gray text-center">By clicking &ldquo;Sign up for 
GitHub&rdquo;, you agree to our <a href="https://help.github.com/terms"; 
target="_blank">terms of service</a> and
  <a href="https://help.github.com/privacy"; target="_blank">privacy 
statement</a>. We’ll occasionally send you account related emails.</p>
  <p class="mt-4 text-gray text-center">Already on GitHub? <a 
href="/login?return_to=%2Flxc%2Flxd%2Fissues%2Fnew" data-ga-click="(Logged out) 
New issue modal, clicked Sign in, text:sign-in">Sign in</a> to your account</p>
</div>

</div>
  </details-dialog>
</details>
      </div>

    <h1 class="gh-header-title">
      <span class="js-issue-title">
        lxd: Send metadata in CreateImage error response
      </span>
      <span class="gh-header-number">#5431</span>
    </h1>
  </div>


  <div class="TableObject gh-header-meta">
    <div class="TableObject-item">
        <div class="State State--green">
    <svg class="octicon octicon-git-pull-request" viewBox="0 0 12 16" 
version="1.1" width="12" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 
2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 
0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 
1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 
1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 
1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 
0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 
3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 
1.2z"/></svg>
    Open
  </div>

    </div>
    <div class="TableObject-item TableObject-item--primary">
          <a class="author pull-header-username css-truncate 
css-truncate-target expandable" data-hovercard-type="user" 
data-hovercard-url="/hovercards?user_id=208049" 
data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" 
href="/joelhockey">joelhockey</a>

  wants to merge 
  <span class="js-updating-pull-request-commits-count">1</span>
  commit into



  <span title="lxc/lxd:master" class="commit-ref css-truncate 
user-select-contain expandable base-ref"><span class="css-truncate-target 
user">lxc</span>:<span class="css-truncate-target">master</span></span>

  <div class="commit-ref-dropdown">
    <details class="details-reset details-overlay select-menu js-select-menu 
commitish-suggester js-load-contents" 
data-contents-url="/lxc/lxd/pull/5431/show_partial?partial=pull_requests%2Fdescription_branches_dropdown">
      <summary class="btn btn-sm select-menu-button branch" title="Choose a 
base branch" aria-haspopup="true">
        <i>base:</i>
        <span class="js-select-button css-truncate css-truncate-target" 
title="master">master</span>
      </summary>
      <details-menu class="select-menu-modal position-absolute" style="z-index: 
90;">
        <div class="js-select-menu-deferred-content"></div>
        <div class="select-menu-loading-overlay anim-pulse">
          <svg height="32" class="octicon octicon-octoface" viewBox="0 0 16 16" 
version="1.1" width="32" aria-hidden="true"><path fill-rule="evenodd" d="M14.7 
5.34c.13-.32.55-1.59-.13-3.31 0 0-1.05-.33-3.44 
1.3-1-.28-2.07-.32-3.13-.32s-2.13.04-3.13.32c-2.39-1.64-3.44-1.3-3.44-1.3-.68 
1.72-.26 2.99-.13 3.31C.49 6.21 0 7.33 0 8.69 0 13.84 3.33 15 7.98 15S16 13.84 
16 8.69c0-1.36-.49-2.48-1.3-3.35zM8 14.02c-3.3 0-5.98-.15-5.98-3.35 
0-.76.38-1.48 1.02-2.07 1.07-.98 2.9-.46 4.96-.46 2.07 0 3.88-.52 4.96.46.65.59 
1.02 1.3 1.02 2.07 0 3.19-2.68 3.35-5.98 3.35zM5.49 9.01c-.66 0-1.2.8-1.2 
1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.54-1.78-1.2-1.78zm5.02 0c-.66 
0-1.2.79-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 
1.2-1.79s-.53-1.78-1.2-1.78z"/></svg>
        </div>
      </details-menu>
    </details>
  </div>

from

<span title="joelhockey/lxd:create-image-exists-return-fingerprint" 
class="commit-ref css-truncate user-select-contain expandable head-ref"><span 
class="css-truncate-target user">joelhockey</span>:<span 
class="css-truncate-target">create-image-exists-return-fingerprint</span></span>



    </div>
  </div>
    <div class="js-sticky js-sticky-offset-scroll top-0 gh-header-sticky" 
aria-hidden="true">
      <div class="sticky-content">
        <div class="d-flex flex-items-center flex-justify-between mt-3">
          <div class="d-flex flex-row flex-items-center">
            <div class="mr-2 flex-shrink-0">
                <div class="State State--green">
    <svg class="octicon octicon-git-pull-request" viewBox="0 0 12 16" 
version="1.1" width="12" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 
2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 
0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 
1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 
1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 
1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 
0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 
3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 
1.2z"/></svg>
    Open
  </div>

            </div>
            <h1 class="text-normal f4">
              <a class="js-issue-title css-truncate css-truncate-target 
link-gray-dark" href="#" style="max-width: 32em">lxd: Send metadata in 
CreateImage error response</a>
              <span class="gh-header-number text-gray-light pr-1">#5431</span>
            </h1>
          </div>
          <div class="text-gray">
            Opened by <a class="author muted-link text-bold" 
data-hovercard-z-index-override="111" data-hovercard-type="user" 
data-hovercard-url="/hovercards?user_id=208049" 
data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" 
href="/joelhockey">joelhockey</a> 
          </div>
        </div>
      </div>
    </div>
    <div class="gh-header-shadow box-shadow"></div>
</div>


      
<div class="tabnav tabnav-pr">
    <div class="tabnav-extra float-right">
      <span class="diffstat" id="diffstat">
        <span class="text-green">
          +6
        </span>
        <span class="text-red">
          −6
        </span>
        <span class="tooltipped tooltipped-s" aria-label="12 lines changed">
          <span class="block-diff-added"></span><span 
class="block-diff-added"></span><span class="block-diff-deleted"></span><span 
class="block-diff-deleted"></span><span class="block-diff-neutral"></span>
        </span>
      </span>
    </div>

  <nav class="tabnav-tabs">

      <a href="/lxc/lxd/pull/5431" class="tabnav-tab selected 
js-pjax-history-navigate">
        <svg class="octicon octicon-comment-discussion" viewBox="0 0 16 16" 
version="1.1" width="16" height="16" aria-hidden="true"><path 
fill-rule="evenodd" d="M15 1H6c-.55 0-1 .45-1 1v2H1c-.55 0-1 .45-1 1v6c0 .55.45 
1 1 1h1v3l3-3h4c.55 0 1-.45 1-1V9h1l3 3V9h1c.55 0 1-.45 
1-1V2c0-.55-.45-1-1-1zM9 11H4.5L3 12.5V11H1V5h4v3c0 .55.45 1 1 
1h3v2zm6-3h-2v1.5L11.5 8H6V2h9v6z"/></svg>
        Conversation

        <span id="conversation_tab_counter" class="Counter">
          0
        </span>
      </a>

    <a href="/lxc/lxd/pull/5431/commits" class="tabnav-tab  
js-pjax-history-navigate">
      <svg class="octicon octicon-git-commit" viewBox="0 0 14 16" version="1.1" 
width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M10.86 
7c-.45-1.72-2-3-3.86-3-1.86 0-3.41 1.28-3.86 3H0v2h3.14c.45 1.72 2 3 3.86 3 
1.86 0 3.41-1.28 3.86-3H14V7h-3.14zM7 10.2c-1.22 0-2.2-.98-2.2-2.2 
0-1.22.98-2.2 2.2-2.2 1.22 0 2.2.98 2.2 2.2 0 1.22-.98 2.2-2.2 2.2z"/></svg>
      Commits

      <span id="commits_tab_counter" class="Counter 
js-updateable-pull-request-commits-count">
        1
      </span>
    </a>

    <a href="/lxc/lxd/pull/5431/checks" class="tabnav-tab " data-skip-pjax>
      <svg class="octicon octicon-checklist" viewBox="0 0 16 16" version="1.1" 
width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M16 
8.5l-6 6-3-3L8.5 10l1.5 1.5L14.5 7 16 8.5zM5.7 12.2l.8.8H2c-.55 
0-1-.45-1-1V3c0-.55.45-1 1-1h7c.55 0 1 .45 1 
1v6.5l-.8-.8c-.39-.39-1.03-.39-1.42 0L5.7 10.8a.996.996 0 0 0 0 1.41v-.01zM4 
4h5V3H4v1zm0 2h5V5H4v1zm0 2h3V7H4v1zM3 
9H2v1h1V9zm0-2H2v1h1V7zm0-2H2v1h1V5zm0-2H2v1h1V3z"/></svg>
      Checks

      <span id="checks_tab_counter" class="Counter">
        0
      </span>
    </a>

      <link rel="pjax-prefetch" href="/lxc/lxd/pull/5431/files">
    <a href="/lxc/lxd/pull/5431/files" class="tabnav-tab  
js-pjax-history-navigate">
      <svg class="octicon octicon-diff" viewBox="0 0 13 16" version="1.1" 
width="13" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6 
7h2v1H6v2H5V8H3V7h2V5h1v2zm-3 6h5v-1H3v1zM7.5 2L11 5.5V15c0 .55-.45 1-1 
1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h6.5zM10 6L7 3H1v12h9V6zM8.5 0H3v1h5l4 
4v8h1V4.5L8.5 0z"/></svg>
      Files changed

        <span id="files_tab_counter" class="Counter">
            1
        </span>
    </a>
  </nav>
</div>



    <h2 class="sr-only">Conversation</h2>
    <div id="discussion_bucket"
          class="clearfix pull-request-tab-content is-visible js-socket-channel 
js-updatable-content"
          data-channel="pull_request:247142735:timeline">
      
<div class="discussion-sidebar">
  <div id="partial-discussion-sidebar"
  class="js-socket-channel js-updatable-content"
  data-channel="pull_request:247142735"
  data-gid="MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1"
  data-url="/lxc/lxd/issues/5431/show_partial?partial=issues%2Fsidebar">

    <div class="discussion-sidebar-item sidebar-assignee 
js-discussion-sidebar-item position-relative" data-team-hovercards-enabled>
  <!-- '"` --><!-- </textarea></xmp> --></option></form><form 
class="js-issue-sidebar-form" 
action="/lxc/lxd/pull/5431/review-requests?pr_global_id=MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1"
 accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" 
value="&#x2713;" /><input type="hidden" name="authenticity_token" 
value="qg1aNbSc7Elmo6J1wuwZsjB4uIES+0JyDV/cCYJPGfBMq9a10w52sf3cokY3sGRi5ZJWji7JD1LPpVSmlxlONg=="
 />
    

  <div class="discussion-sidebar-heading text-bold">
    Reviewers
  </div>

    <span class="css-truncate">
    No reviews
</span>

</form></div>


  <div class="discussion-sidebar-item sidebar-assignee 
js-discussion-sidebar-item">
  <!-- '"` --><!-- </textarea></xmp> --></option></form><form 
class="js-issue-sidebar-form" 
action="/lxc/lxd/issues/5431?partial=issues%2Fsidebar%2Fshow%2Fassignees" 
accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" 
value="&#x2713;" /><input type="hidden" name="_method" value="put" /><input 
type="hidden" name="authenticity_token" 
value="pJH+nZ/+VYk1OtX6/lF59lFpBrjgPueTdLpFwY4tTDltqMXS5uliLYrv/hQeT0ODjpA35w79fUX0SZWf49hJsg=="
 />
    

  <div class="discussion-sidebar-heading text-bold">
    Assignees
  </div>

    <span class="css-truncate js-issue-assignees">
    No one assigned
</span>

</form></div>

    <div class="discussion-sidebar-item sidebar-labels 
js-discussion-sidebar-item">
  



  <div class="discussion-sidebar-heading text-bold">
    Labels
  </div>

  <div class="labels css-truncate js-issue-labels">
    None yet
</div>

</div>

    <div class="discussion-sidebar-item sidebar-milestone 
js-discussion-sidebar-item">
  <!-- '"` --><!-- </textarea></xmp> --></option></form><form 
class="js-issue-sidebar-form" 
action="/lxc/lxd/issues/5431/set_milestone?partial=issues%2Fsidebar%2Fshow%2Fmilestone"
 accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" 
value="&#x2713;" /><input type="hidden" name="_method" value="put" /><input 
type="hidden" name="authenticity_token" 
value="hsr2bWJlz/Gj8EmRMOSvHERAShXHNHymagdLPxV3FBe1QHEXBDN38QWztNlzG9k3TiD36lnynzxVyROY73Mrwg=="
 />
    

  <div class="discussion-sidebar-heading text-bold">
    Milestone
  </div>

      No milestone

</form></div>

  
  <div id="partial-users-participants" class="discussion-sidebar-item">
  <div class="participation">

    <div class="discussion-sidebar-heading text-bold">
      1 participant
    </div>
    <div class="participation-avatars d-flex flex-wrap">
        <a class="participant-avatar" data-hovercard-type="user" 
data-hovercard-url="/hovercards?user_id=208049" 
data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" 
href="/joelhockey">
          <img class="avatar" 
src="https://avatars2.githubusercontent.com/u/208049?s=52&amp;v=4"; width="26" 
height="26" alt="@joelhockey" /> 
</a>    </div>
  </div>
</div>


  



  

</div>


<div class="border-top mt-3 py-3 text-gray text-small">
</div>


</div>

<div class="discussion-timeline pull-discussion-timeline 
js-pull-discussion-timeline js-quote-selection-container 
js-review-state-classes "
    data-quote-markdown=".js-comment-body" data-issue-and-pr-hovercards-enabled 
data-team-hovercards-enabled>
    <div class="js-discussion js-socket-channel" 
data-channel="marked-as-read:pull-request:247142735">

    
<div class="timeline-comment-wrapper js-comment-container mt-0 
js-socket-channel"
  data-gid="MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1"
  data-url="/_render_node/MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1/pull_requests/body"
  data-channel="pull_request:247142735">

  

<div class="avatar-parent-child timeline-comment-avatar">
    <a class="d-inline-block" data-hovercard-type="user" 
data-hovercard-url="/hovercards?user_id=208049" 
data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" 
href="/joelhockey"><img class="avatar rounded-1" height="44" width="44" 
alt="@joelhockey" 
src="https://avatars1.githubusercontent.com/u/208049?s=88&amp;v=4"; /></a>

</div>


  
<div class="timeline-comment-group js-minimizable-comment-group 
targetable-comment-container-nojs js-targetable-comment" id="issue-247142735">
  <div class="unminimized-comment comment previewable-edit js-comment 
js-task-list-container timeline-comment targetable-comment-container-nojs  "
       data-body-version="a05104f37bf5bef5f0f0f33c2a17a947"
       
data-unfurl-authenticity-token="nmVfZnywu+XHlmolwQGMJ33ditNVhDC3z24UtjRL1d70mRGI7WmzUVB0PeNaD+GLvW3jKrTlTYYdKKSxdoNY5g==">

    
<div class="timeline-comment-header clearfix">
  <div class="timeline-comment-actions">
    


















<details class="details-overlay details-reset position-relative d-inline-block 
">
  <summary class="btn-link timeline-comment-action">
    <svg aria-label="Show options" class="octicon octicon-kebab-horizontal" 
viewBox="0 0 13 16" version="1.1" width="13" height="16" 
aria-hidden="true"><path fill-rule="evenodd" d="M1.5 9a1.5 1.5 0 1 0 0-3 1.5 
1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM13 7.5a1.5 1.5 0 1 1-3 
0 1.5 1.5 0 0 1 3 0z"/></svg>
  </summary>
  <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover 
text-gray-dark anim-scale-in" style="width:185px">
        <clipboard-copy
    class="dropdown-item btn-link"
    for="pullrequest-247142735-permalink"
    aria-label="Copy link"
    role="menuitem"
    
    >
    Copy link
  </clipboard-copy>

        <button
    type="button"
    class="dropdown-item btn-link d-none js-comment-quote-reply"
    role="menuitem">
    Quote reply
  </button>

      
  </details-menu>
</details>

  </div>

    



  <h3 class="timeline-comment-header-text f5 text-normal">


    <strong class="css-truncate">
      

  <a class="author text-inherit css-truncate-target" data-hovercard-type="user" 
data-hovercard-url="/hovercards?user_id=208049" 
data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" 
href="/joelhockey">joelhockey</a>
  

    </strong>

    commented

      <a href="#issue-247142735" id="pullrequest-247142735-permalink" 
class="timestamp js-timestamp"><relative-time 
datetime="2019-01-23T22:46:22Z">Jan 23, 2019</relative-time></a>


    <span class="js-comment-fragment">
      <include-fragment class="js-comment-edit-history d-inline">
      </include-fragment>
    </span>
  </h3>
</div>


    <div class="edit-comment-hide">

      
<task-lists disabled sortable>
<table class="d-block">
  <tbody class="d-block">
    <tr class="d-block">
      <td class="d-block comment-body markdown-body  js-comment-body">

          <p>Include fingerprint and size metadata in CreateImage error<br>
response when image already exists.  When creating an image<br>
from a container snapshot, it is useful to know the fingerprint<br>
of an existing image.  It can currently be parsed from the error<br>
string, but this makes it more explicit.</p>
<p>Signed-off-by: Joel Hockey <a 
href="mailto:joelhoc...@chromium.org";>joelhoc...@chromium.org</a></p>
      </td>
    </tr>
  </tbody>
</table>
</task-lists>


        

<div class="comment-reactions  js-reactions-container "

    >
</div>


        

    </div>

  </div>
</div>

</div>


    

  <div id="js-timeline-progressive-loader" 
data-timeline-item-src="lxc/lxd/timeline?id=MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1&amp;variables%5Bafter%5D=Y3Vyc29yOnYyOpPPAAABaHnj7NgH2gAyMjQ3MTQyNzM1OjRlYmNiZmU0NjYyNWY2YmM3NTQ2YTJjMTcxOGEzNGQzOTA5MzJjMjA%3D&amp;variables%5Bfirst%5D=60"
 ></div>


  
  
<div class="js-timeline-item js-timeline-progressive-focus-container" 
data-gid="MDE3OlB1bGxSZXF1ZXN0Q29tbWl0MjQ3MTQyNzM1OjRlYmNiZmU0NjYyNWY2YmM3NTQ2YTJjMTcxOGEzNGQzOTA5MzJjMjA=">
  
      
<div class="discussion-item discussion-commits" id="commits-pushed-4ebcbfe">
  <div class="discussion-item-body">
    <div class="timeline-commits authors-2">
        

<div class="commit js-details-container Details js-socket-channel 
js-updatable-content no-wrap d-flex mb-2"
     
data-channel="repo:26192117:commit:4ebcbfe46625f6bc7546a2c1718a34d390932c20"
     
data-url="/_render_node/MDE3OlB1bGxSZXF1ZXN0Q29tbWl0MjQ3MTQyNzM1OjRlYmNiZmU0NjYyNWY2YmM3NTQ2YTJjMTcxOGEzNGQzOTA5MzJjMjA=/commit/pull_condensed">

  <div class="commit-icon mr-3">
    <svg class="octicon octicon-git-commit" viewBox="0 0 14 16" version="1.1" 
width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M10.86 
7c-.45-1.72-2-3-3.86-3-1.86 0-3.41 1.28-3.86 3H0v2h3.14c.45 1.72 2 3 3.86 3 
1.86 0 3.41-1.28 3.86-3H14V7h-3.14zM7 10.2c-1.22 0-2.2-.98-2.2-2.2 
0-1.22.98-2.2 2.2-2.2 1.22 0 2.2.98 2.2 2.2 0 1.22-.98 2.2-2.2 2.2z"/></svg>
  </div>

  
<div class="AvatarStack flex-self-start AvatarStack--two">
  <div class="AvatarStack-body" aria-label="Joel Hockey and joelhockey 
(non-author committer)">

        <img 
src="https://camo.githubusercontent.com/b74479abf67aa94383251ef349348aea77faad2a/68747470733a2f2f302e67726176617461722e636f6d2f6176617461722f35396430353064343131613763333037383965643231633039636133316366363f643d68747470732533412532462532466769746875622e6769746875626173736574732e636f6d253246696d6167657325324667726176617461727325324667726176617461722d757365722d3432302e706e6726723d6726733d3430";
 width="20" height="20" class="avatar" alt="Joel Hockey">

        <a class="avatar" data-skip-pjax="true" data-hovercard-type="user" 
data-hovercard-url="/hovercards?user_id=208049" 
data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" 
href="/joelhockey">
          <img height="20" width="20" alt="@joelhockey" 
src="https://avatars0.githubusercontent.com/u/208049?s=60&amp;v=4"; />
</a>  </div>
</div>



  <div class="commit-message pr-1">
    <code>
      <a title="lxd: Send metadata in CreateImage error response

Include fingerprint and size metadata in CreateImage error
response when image already exists.  When creating an image
from a container snapshot, it is useful to know the fingerprint
of an existing image.  It can currently be parsed from the error
string, but this makes it more explicit.

Signed-off-by: Joel Hockey &lt;joelhoc...@chromium.org&gt;" data-pjax="true" 
class="message" 
href="/lxc/lxd/pull/5431/commits/4ebcbfe46625f6bc7546a2c1718a34d390932c20">lxd: 
Send metadata in CreateImage error response</a>
    </code>

      <span class="hidden-text-expander inline">
        <button type="button" class="ellipsis-expander js-details-target" 
aria-expanded="false">&hellip;</button>
      </span>
      <div class="commit-desc"><pre>Include fingerprint and size metadata in 
CreateImage error
response when image already exists.  When creating an image
from a container snapshot, it is useful to know the fingerprint
of an existing image.  It can currently be parsed from the error
string, but this makes it more explicit.

Signed-off-by: Joel Hockey &lt;joelhoc...@chromium.org&gt;</pre></div>

  </div>

  <div class="commit-sig-status text-right pr-1">
    

  </div>

  <div class="commit-ci-status pr-1">
      
  <details class="commit-build-statuses details-overlay details-reset 
js-dropdown-details"
    
data-deferred-details-content-url="/_render_node/MDE3OlN0YXR1c0NoZWNrUm9sbHVwMjYxOTIxMTc6NGViY2JmZTQ2NjI1ZjZiYzc1NDZhMmMxNzE4YTM0ZDM5MDkzMmMyMA==/statuses/combined_branch_status">
    <summary class="bg-pending">
      <svg class="octicon octicon-primitive-dot v-align-middle" aria-label="0 / 
1 checks OK" viewBox="0 0 8 16" version="1.1" width="8" height="16" 
role="img"><path fill-rule="evenodd" d="M0 8c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 
4-4-1.8-4-4z"/></svg>
    </summary>
    <div class="dropdown-menu dropdown-menu-w overflow-hidden">
      <include-fragment class="m-4 d-flex flex-column flex-items-center">
        <div class="anim-pulse"><svg height="32" class="octicon 
octicon-octoface" viewBox="0 0 16 16" version="1.1" width="32" 
aria-hidden="true"><path fill-rule="evenodd" d="M14.7 
5.34c.13-.32.55-1.59-.13-3.31 0 0-1.05-.33-3.44 
1.3-1-.28-2.07-.32-3.13-.32s-2.13.04-3.13.32c-2.39-1.64-3.44-1.3-3.44-1.3-.68 
1.72-.26 2.99-.13 3.31C.49 6.21 0 7.33 0 8.69 0 13.84 3.33 15 7.98 15S16 13.84 
16 8.69c0-1.36-.49-2.48-1.3-3.35zM8 14.02c-3.3 0-5.98-.15-5.98-3.35 
0-.76.38-1.48 1.02-2.07 1.07-.98 2.9-.46 4.96-.46 2.07 0 3.88-.52 4.96.46.65.59 
1.02 1.3 1.02 2.07 0 3.19-2.68 3.35-5.98 3.35zM5.49 9.01c-.66 0-1.2.8-1.2 
1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.54-1.78-1.2-1.78zm5.02 0c-.66 
0-1.2.79-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 
1.2-1.79s-.53-1.78-1.2-1.78z"/></svg></div>
        <div class="text-gray no-wrap">Loading status checks&hellip;</div>
      </include-fragment>
    </div>
  </details>


  </div>

  <div class="commit-meta text-right">
    <code>
      <a 
href="/lxc/lxd/pull/5431/commits/4ebcbfe46625f6bc7546a2c1718a34d390932c20" 
class="commit-id">4ebcbfe</a>
    </code>
  </div>
</div>


    </div>
  </div>
</div>


</div>






<!-- Rendered timeline since 2019-01-23 00:46:47 -->
<div id="partial-timeline"
      class="js-timeline-marker js-socket-channel js-updatable-content"
      data-channel="pull_request:247142735"
      
data-url="/_render_node/MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1/pull_requests/unread_timeline?variables%5BhasFocusedReviewComment%5D=false&amp;variables%5BhasFocusedReviewThread%5D=false&amp;variables%5BsyntaxHighlightingEnabled%5D=true&amp;variables%5BtimelinePageSize%5D=30&amp;variables%5BtimelineSince%5D=2019-01-23T08%3A46%3A47Z"
      data-last-modified="Wed, 23 Jan 2019 08:46:47 GMT"
      data-gid="MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1">
  <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="d-none 
js-timeline-marker-form" action="/_graphql/MarkNotificationSubjectAsRead" 
accept-charset="UTF-8" data-remote="true" method="post"><input name="utf8" 
type="hidden" value="&#x2713;" /><input type="hidden" name="authenticity_token" 
value="fkNDpGnAtE51jb5HNfx9o88Avz4we3v8jChEYejcYEesJ+ymC+1a2snvQ/kVQ+meC6pd7k5qm6Ze9X/WC5X/zw=="
 />
    <input type="hidden" name="variables[subjectId]" 
value="MDExOlB1bGxSZXF1ZXN0MjQ3MTQyNzM1">
</form></div>


  </div>

  <div class="discussion-timeline-actions">
          <div class="flash flash-warn mt-3">
    <a rel="nofollow" class="btn btn-primary" 
href="/join?source=comment-repo">Sign up for free</a>
    <strong>to join this conversation on GitHub</strong>.
    Already have an account?
    <a rel="nofollow" 
href="/login?return_to=https%3A%2F%2Fgithub.com%2Flxc%2Flxd%2Fpull%2F5431">Sign 
in to comment</a>
</div>


  </div>
</div>

    </div>
  </div>
  <div hidden>
  <span class="js-add-to-batch-enabled">Add this suggestion to a batch that can 
be applied as a single commit.</span>
  <span class="js-unchanged-suggestion">This suggestion is invalid because no 
changes were made to the code.</span>
  <span class="js-closed-pull">Suggestions cannot be applied while the pull 
request is closed.</span>
  <span class="js-viewing-subset-changes">Suggestions cannot be applied while 
viewing a subset of changes.</span>
  <span class="js-one-suggestion-per-line">Only one suggestion per line can be 
applied in a batch.</span>
  <span class="js-reenable-add-to-batch">Add this suggestion to a batch that 
can be applied as a single commit.</span>
  <span class="js-validation-on-left-blob">Applying suggestions on deleted 
lines is not supported.</span>
  <span class="js-validation-on-right-blob">You must change the existing code 
in this line in order to create a valid suggestion.</span>
  <span class="js-outdated-comment">Outdated suggestions cannot be 
applied.</span>
  <span class="js-resolved-thread">This suggestion has been applied or marked 
resolved.</span>
  <span class="js-pending-review">Suggestions cannot be applied from pending 
reviews.</span>
  <div class="form-group errored m-0 error 
js-suggested-changes-inline-validation-template d-flex" style="cursor: 
default;">
    <span class="js-suggested-changes-inline-error-message position-relative 
error m-0" style="max-width: inherit;"></span>
  </div>
</div>


  </div>


  </div>
  <div class="modal-backdrop js-touch-events"></div>
</div>

    </div>
  </div>

  </div>

        
<div class="footer container-lg px-3" role="contentinfo">
  <div class="position-relative d-flex flex-justify-between pt-6 pb-2 mt-6 f6 
text-gray border-top border-gray-light ">
    <ul class="list-style-none d-flex flex-wrap ">
      <li class="mr-3">&copy; 2019 <span title="0.72497s from 
unicorn-755cc9f4cd-bfjgf">GitHub</span>, Inc.</li>
        <li class="mr-3"><a data-ga-click="Footer, go to terms, text:terms" 
href="https://github.com/site/terms";>Terms</a></li>
        <li class="mr-3"><a data-ga-click="Footer, go to privacy, text:privacy" 
href="https://github.com/site/privacy";>Privacy</a></li>
        <li class="mr-3"><a href="/security" data-ga-click="Footer, go to 
security, text:security">Security</a></li>
        <li class="mr-3"><a href="https://githubstatus.com/"; 
data-ga-click="Footer, go to status, text:status">Status</a></li>
        <li><a data-ga-click="Footer, go to help, text:help" 
href="https://help.github.com";>Help</a></li>
    </ul>

    <a aria-label="Homepage" title="GitHub" class="footer-octicon mr-lg-4" 
href="https://github.com";>
      <svg height="24" class="octicon octicon-mark-github" viewBox="0 0 16 16" 
version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M8 
0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 
0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
 1.08.58 1.23.82.72 1.21 1.87.87 
2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 
0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 
1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 
2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 
1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 
8c0-4.42-3.58-8-8-8z"/></svg>
</a>
   <ul class="list-style-none d-flex flex-wrap ">
        <li class="mr-3"><a data-ga-click="Footer, go to contact, text:contact" 
href="https://github.com/contact";>Contact GitHub</a></li>
        <li class="mr-3"><a href="https://github.com/pricing"; 
data-ga-click="Footer, go to Pricing, text:Pricing">Pricing</a></li>
      <li class="mr-3"><a href="https://developer.github.com"; 
data-ga-click="Footer, go to api, text:api">API</a></li>
      <li class="mr-3"><a href="https://training.github.com"; 
data-ga-click="Footer, go to training, text:training">Training</a></li>
        <li class="mr-3"><a href="https://github.blog"; data-ga-click="Footer, 
go to blog, text:blog">Blog</a></li>
        <li><a data-ga-click="Footer, go to about, text:about" 
href="https://github.com/about";>About</a></li>

    </ul>
  </div>
  <div class="d-flex flex-justify-center pb-6">
    <span class="f6 text-gray-light"></span>
  </div>
</div>



  <div id="ajax-error-message" class="ajax-error-message flash flash-error">
    <svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" 
width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.893 
1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 
1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 
.01-1.002L8.893 1.5zm.133 
11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg>
    <button type="button" class="flash-close js-ajax-error-dismiss" 
aria-label="Dismiss error">
      <svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" 
width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 
8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 
6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
    </button>
    You can’t perform that action at this time.
  </div>


    <script crossorigin="anonymous" 
integrity="sha512-Mp0nAOFvmE8PVQP49TPVMbQBLb+lpf3gu9GF1CPqybGGzl/8KEKDTKzuJpxxd5xF8HUi85xKPkssLtVVdLKtlw=="
 type="application/javascript" 
src="https://github.githubassets.com/assets/compat-6e5ed2648dae3be3f9358af5732a780f.js";></script>
    <script crossorigin="anonymous" 
integrity="sha512-5aRm4hSDjsffFkABL40rX4MvI007MsYlR3QzXn3HwNtq3B4BjP/TNoSB/ktn/zLq4oVO7giIm6Lif8jSxSKf1A=="
 type="application/javascript" 
src="https://github.githubassets.com/assets/frameworks-3e7d2f629dd4da27222360afe5729ef9.js";></script>
    
    <script crossorigin="anonymous" async="async" 
integrity="sha512-ikEyIUL65CwT9EFUkqEh1eQErz3jMAG2BCgtq+YyqvJCEsg13srBj8Ef43bWGV8Q1kMGpwu1cwOv4Xowt/hXJg=="
 type="application/javascript" 
src="https://github.githubassets.com/assets/github-9d719c2eea7e04b60655a0660c3eb59b.js";></script>
    
    
    
  <div class="js-stale-session-flash stale-session-flash flash flash-warn 
flash-banner d-none">
    <svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" 
width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.893 
1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 
1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 
.01-1.002L8.893 1.5zm.133 
11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg>
    <span class="signed-in-tab-flash">You signed in with another tab or window. 
<a href="">Reload</a> to refresh your session.</span>
    <span class="signed-out-tab-flash">You signed out in another tab or window. 
<a href="">Reload</a> to refresh your session.</span>
  </div>
  <template id="site-details-dialog">
  <details class="details-reset details-overlay details-overlay-dark lh-default 
text-gray-dark" open>
    <summary aria-haspopup="dialog" aria-label="Close dialog"></summary>
    <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in 
fast">
      <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 
top-0" type="button" aria-label="Close dialog" data-close-dialog>
        <svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" 
width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 
8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 
6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
      </button>
      <div class="octocat-spinner my-6 js-details-dialog-spinner"></div>
    </details-dialog>
  </details>
</template>

  <div class="Popover js-hovercard-content position-absolute" style="display: 
none; outline: none;" tabindex="0">
  <div class="Popover-message Popover-message--bottom-left 
Popover-message--large Box box-shadow-large" style="width:360px;">
  </div>
</div>

<div id="hovercard-aria-description" class="sr-only">
  Press h to open a hovercard with more details.
</div>

  <div aria-live="polite" class="js-global-screen-reader-notice sr-only"></div>

  </body>
</html>

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to