[openstack-dev] devstack; glance fails with ./stack.sh

David Ripton dripton at redhat.com
Fri Mar 8 14:32:50 UTC 2013


On 03/07/2013 10:40 PM, Prashanth Prahalad wrote:
>
> Openstack newbie here.
>
> ./stack.sh fails when executing glance command. This seems to be
> something new, since I don't remember setting the os-auth-token before.
>
> + glance --os-auth-token --os-image-url http://10.9.12.20:9292
> image-create --name cirros-0.3.1-x86_64-uec --public --container-format
> ami --disk-format ami
> usage: glance [--version] [-d] [-v] [-k] [--cert-file CERT_FILE]
>                [--key-file KEY_FILE] [--os-cacert <ca-certificate-file>]
>                [--ca-file OS_CACERT] [--timeout TIMEOUT]
> [--no-ssl-compression]
>                [-f] [--dry-run] [--ssl] [-H ADDRESS] [-p PORT]
>                [--os-username OS_USERNAME] [-I OS_USERNAME]
>                [--os-password OS_PASSWORD] [-K OS_PASSWORD]
>                [--os-tenant-id OS_TENANT_ID] [--os-tenant-name
> OS_TENANT_NAME]
>                [-T OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [-N
> OS_AUTH_URL]
>                [--os-region-name OS_REGION_NAME] [-R OS_REGION_NAME]
>                [--os-auth-token OS_AUTH_TOKEN] [-A OS_AUTH_TOKEN]
>                [--os-image-url OS_IMAGE_URL] [-U OS_IMAGE_URL]
>                [--os-image-api-version OS_IMAGE_API_VERSION]
>                [--os-service-type OS_SERVICE_TYPE]
>                [--os-endpoint-type OS_ENDPOINT_TYPE] [-S OS_AUTH_STRATEGY]
> glance: error: argument --os-auth-token: expected one argument
>
> Any workarounds ?

I ran into this yesterday, in a new VM without openssl installed.  The 
workaround was to manually install openssl. 
https://bugs.launchpad.net/devstack/+bug/1152315

There are many ways to make this happen.  Glance is the canary in the 
coal mine here -- it just happens to be the first thing in the system 
that blows up if Keystone auth is not working.  This does not 
necessarily mean a problem in Glance itself.  If you look through the 
various screen windows that devstack opens, you may be able to find the 
root cause.

-- 
David Ripton   Red Hat   dripton at redhat.com



More information about the OpenStack-dev mailing list