<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    visibility is an attribute of glance v2, so please try: <span
      class="" style="white-space:pre;font-family:'Lucida
      Console','Lucida Sans
      Typewriter',Monaco,monospace;color:rgb(0,0,0)">glance
      --os-image-api-version 2 image-update --visibility private
      4adda55e-fa6e-4605-aa42-aa5faabc04b8</span><br>
    <br>
    <div class="moz-cite-prefix">On 26/03/15 11:50, Su Zhang wrote:<br>
    </div>
    <blockquote
cite="mid:CAPjtyqtpr3xLmh=Z5w-LySrY2Yug-fs4FGE316kgYLquGEd7zQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_quote"><br>
          <div dir="ltr">
            <div style="font-size:12.8000001907349px">Hello everyone</div>
            <div style="font-size:12.8000001907349px"><br>
            </div>
            <div style="font-size:12.8000001907349px">I recently came
              across one glance related pending blueprint (<a
                moz-do-not-send="true"
                href="https://review.openstack.org/#/c/124050/"
                target="_blank">https://review.openstack.org/#/c/124050/</a>).
              It raised our interest as we also want to implement this
              community visibility for images through glance. However,
              after cherry picking the code change (<a
                moz-do-not-send="true"
                href="https://review.openstack.org/#/c/136374/"
                target="_blank">https://review.openstack.org/#/c/136374/</a>),
              I was not able to get the expected result. Instead, I got
              the following error:</div>
            <div style="font-size:12.8000001907349px"><br>
            </div>
            <div style="font-size:12.8000001907349px"><br>
            </div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">su@ubuntu:/opt/stack/glance/glance/db/sqlalchemy/migrate_repo/versions$
                glance image-update --visibility private
                4adda55e-fa6e-4605-aa42-aa5faabc04b8</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">usage:
                glance [--version] [-d] [-v] [--get-schema] [--timeout
                TIMEOUT]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--no-ssl-compression] [-f] [--os-image-url
                OS_IMAGE_URL]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-image-api-version OS_IMAGE_API_VERSION]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--profile HMAC_KEY] [-k] [--os-cert OS_CERT]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--cert-file OS_CERT] [--os-key OS_KEY] [--key-file
                OS_KEY]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-cacert <ca-certificate-file>] [--ca-file
                OS_CACERT]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-username OS_USERNAME] [--os-user-id OS_USER_ID]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-user-domain-id OS_USER_DOMAIN_ID]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-user-domain-name OS_USER_DOMAIN_NAME]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-project-id OS_PROJECT_ID]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-project-name OS_PROJECT_NAME]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-project-domain-id OS_PROJECT_DOMAIN_ID]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-project-domain-name OS_PROJECT_DOMAIN_NAME]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-password OS_PASSWORD] [--os-tenant-id
                OS_TENANT_ID]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-tenant-name OS_TENANT_NAME] [--os-auth-url
                OS_AUTH_URL]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-region-name OS_REGION_NAME]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-auth-token OS_AUTH_TOKEN]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-service-type OS_SERVICE_TYPE]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                [--os-endpoint-type OS_ENDPOINT_TYPE]</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">
                <subcommand> ...</span><br
                style="color:rgb(0,0,0);font-family:sans-serif">
              <span style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">glance:
                error: unrecognized arguments: --visibility
                4adda55e-fa6e-4605-aa42-aa5faabc04b8</span><br>
            </div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)"><br>
              </span></div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)"><br>
              </span></div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)"><br>
              </span></div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">Could any
                of you kindly give me some hints regarding how to get
                the issue fixed (if it is fixable)? Or anywhere I can
                change to code to enable the function mentioned in the
                blueprint? </span></div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)"><br>
              </span></div>
            <div style="font-size:12.8000001907349px"><span
                style="white-space:pre-wrap;font-family:'Lucida
                Console','Lucida Sans
                Typewriter',Monaco,monospace;color:rgb(0,0,0)">Any
                response will be highly appreciated!</span></div>
            <span class="HOEnZb"><font color="#888888">
                <div><br>
                </div>
                -- <br>
                <div>
                  <div dir="ltr">
                    <div>Su Zhang<br>
                      <br>
                    </div>
                  </div>
                </div>
              </font></span></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Cheers & Best regards,
Fei Long Wang (王飞龙)
--------------------------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
-------------------------------------------------------------------------- </pre>
  </body>
</html>