[openstack-dev] devstack; glance fails with ./stack.sh
Kieran Spear
kispear at gmail.com
Fri Mar 8 04:52:28 UTC 2013
Hi Prashanth,
I hit this same bug today. It's due to leftover environment variables
in your shell. If you start a new shell and run stack.sh again it
should work.
Cheers,
Kieran
On 8 March 2013 14:40, Prashanth Prahalad <prashanth.prahal at gmail.com> 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 ?
>
> Thanks !
> Prashanth
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
More information about the OpenStack-dev
mailing list