Ask Your Question
0

glance: error: unrecognized arguments: --public

asked 2015-02-05 19:39:29 -0500

stevenca gravatar image

updated 2015-02-05 20:12:28 -0500

larsks gravatar image

I am following the the directions below to deploy an undercloud with TripleO using RDO and Fedora:

The installed glance does not have a '--public' option, so there seems to be a disconnect somewhere (hopefully not in my head)

+ glance image-delete bm-deploy-kernel
+ :
+ glance image-create --name bm-deploy-kernel --public --disk-format aki
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: --public
[2015-02-05 17:28:02,735] (os-refresh-config) [ERROR] during post-configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/post-configure.d']' returned non-zero exit status 2]

[2015-02-05 17:28:02,737] (os-refresh-config) [ERROR] Aborting...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-05 20:21:22 -0500

larsks gravatar image

That looks an error in the TripleO shell scripts. I think either they goofed and meant to do --is-public True. or the scripts expect a version of Glance other than that available in Juno.

edit flag offensive delete link more

Comments

In fact, here is the upstream change request that fixed that behavior: https://review.openstack.org/#/c/119761/

larsks gravatar imagelarsks ( 2015-02-05 20:29:08 -0500 )edit

...although I note that /usr/bin/instack-prepare-for-overcloud, which is part of instack-undercloud and includes glance image-create ... --public, is not part of that change request or indeed part of that repository. So maybe someone else needs to fix something, too.

larsks gravatar imagelarsks ( 2015-02-05 20:32:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-05 19:39:29 -0500

Seen: 1,001 times

Last updated: Feb 05 '15