<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 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 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><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature">Su Zhang<br><br></div></div></div>
</div>