a question regarding the current status of image "community" visibility support on glance

asked 2015-03-25 17:52:28 -0500

Scott Zhang gravatar image

Hello everyone

I recently came across one glance related pending blueprint ( https://review.openstack.org/#/c/124050/ ). It raised our interest as we also want to implement this community visibility for images through glance. However, after cherry picking the code change ( https://review.openstack.org/#/c/136374/ ), I was not able to get the expected result. Instead, I got the following error:

su@ubuntu:/opt/stack/glance/glance/db/sqlalchemy/migrate_repo/versions$ glance image-update --visibility private 4adda55e-fa6e-4605-aa42-aa5faabc04b8 usage: glance [--version] [-d] [-v] [--get-schema] [--timeout TIMEOUT] [--no-ssl-compression] [-f] [--os-image-url OS_IMAGE_URL] [--os-image-api-version OS_IMAGE_API_VERSION] [--profile HMAC_KEY] [-k] [--os-cert OS_CERT] [--cert-file OS_CERT] [--os-key OS_KEY] [--key-file OS_KEY] [--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT] [--os-username OS_USERNAME] [--os-user-id OS_USER_ID] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME] [--os-auth-token OS_AUTH_TOKEN] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint-type OS_ENDPOINT_TYPE] <subcommand> ... glance: error: unrecognized arguments: --visibility 4adda55e-fa6e-4605-aa42-aa5faabc04b8

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?

Any response will be highly appreciated!

edit retag flag offensive close merge delete