yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86732
[Bug 1938162] [NEW] Verify operation in glance
Public bug reported:
I installed the Glance service according to the tutorial, but received
the following error when testing the image creation:
glance image-create --name "cirros" --file Downloads/cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility=public
WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions
usage: glance [--version] [-d] [-v] [--get-schema] [-f]
[--os-image-url OS_IMAGE_URL]
[--os-image-api-version OS_IMAGE_API_VERSION]
[--profile HMAC_KEY] [--os-region-name OS_REGION_NAME]
[--os-auth-token OS_AUTH_TOKEN]
[--os-service-type OS_SERVICE_TYPE]
[--os-endpoint-type OS_ENDPOINT_TYPE] [--insecure]
[--os-cacert <ca-certificate>]
[--os-cert <certificate>] [--os-key <key>]
[--timeout <seconds>] [--collect-timing]
[--os-auth-type <name>] [--os-auth-url OS_AUTH_URL]
[--os-system-scope OS_SYSTEM_SCOPE]
[--os-domain-id OS_DOMAIN_ID]
[--os-domain-name OS_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-trust-id OS_TRUST_ID]
[--os-default-domain-id OS_DEFAULT_DOMAIN_ID]
[--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
[--os-user-id OS_USER_ID] [--os-username OS_USERNAME]
[--os-user-domain-id OS_USER_DOMAIN_ID]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-password OS_PASSWORD]
<subcommand> ...
glance: error: unrecognized arguments: --visibility=public
If I remove the "--visitiblity=public", I get the following:
glance image-create --name "cirros" --file Downloads/cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare
WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions
HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API is not available.
And if I run with the openstack command, I receive the following error:
openstack image list
HttpException: 500: Server Error for url: http://openstack-controller:9292/v2/images, Internal Server Error
What can be wrong with my installation if I didnt receive error messages
during installation?
This bug tracker is for errors with the documentation, use the following
as a template and remove or add fields as you see fit. Convert [ ] into
[x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- The mailing list: https://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 22.0.0.0rc2.dev2 on 2019-11-18 14:17:08
SHA: b5437773b20db3d6ef20d449a8a43171c8fc7f69
Source: https://opendev.org/openstack/glance/src/doc/source/install/verify.rst
URL: https://docs.openstack.org/glance/wallaby/install/verify.html
** Affects: glance
Importance: Undecided
Status: New
** Tags: documentation
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1938162
Title:
Verify operation in glance
Status in Glance:
New
Bug description:
I installed the Glance service according to the tutorial, but received
the following error when testing the image creation:
glance image-create --name "cirros" --file Downloads/cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility=public
WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions
usage: glance [--version] [-d] [-v] [--get-schema] [-f]
[--os-image-url OS_IMAGE_URL]
[--os-image-api-version OS_IMAGE_API_VERSION]
[--profile HMAC_KEY] [--os-region-name OS_REGION_NAME]
[--os-auth-token OS_AUTH_TOKEN]
[--os-service-type OS_SERVICE_TYPE]
[--os-endpoint-type OS_ENDPOINT_TYPE] [--insecure]
[--os-cacert <ca-certificate>]
[--os-cert <certificate>] [--os-key <key>]
[--timeout <seconds>] [--collect-timing]
[--os-auth-type <name>] [--os-auth-url OS_AUTH_URL]
[--os-system-scope OS_SYSTEM_SCOPE]
[--os-domain-id OS_DOMAIN_ID]
[--os-domain-name OS_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-trust-id OS_TRUST_ID]
[--os-default-domain-id OS_DEFAULT_DOMAIN_ID]
[--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
[--os-user-id OS_USER_ID] [--os-username OS_USERNAME]
[--os-user-domain-id OS_USER_DOMAIN_ID]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-password OS_PASSWORD]
<subcommand> ...
glance: error: unrecognized arguments: --visibility=public
If I remove the "--visitiblity=public", I get the following:
glance image-create --name "cirros" --file Downloads/cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare
WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions
HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API is not available.
And if I run with the openstack command, I receive the following error:
openstack image list
HttpException: 500: Server Error for url: http://openstack-controller:9292/v2/images, Internal Server Error
What can be wrong with my installation if I didnt receive error
messages during installation?
This bug tracker is for errors with the documentation, use the
following as a template and remove or add fields as you see fit.
Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- The mailing list: https://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 22.0.0.0rc2.dev2 on 2019-11-18 14:17:08
SHA: b5437773b20db3d6ef20d449a8a43171c8fc7f69
Source: https://opendev.org/openstack/glance/src/doc/source/install/verify.rst
URL: https://docs.openstack.org/glance/wallaby/install/verify.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1938162/+subscriptions
Follow ups