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

Senhua Huang (senhuang) senhuang at cisco.com
Wed Mar 13 01:17:57 UTC 2013


Hi Prashanth,

You might try restarting your VM/machine after you upgrade your openssl.

Thanks,
Senhua

On Mar 12, 2013, at 2:42 AM, Prashanth Prahalad <prashanth.prahal at gmail.com<mailto:prashanth.prahal at gmail.com>> wrote:

Thanks David.

Looks like I'm still the error after pulling in the fix :-(


On Sat, Mar 9, 2013 at 5:30 PM, <openstack-dev-request at lists.openstack.org<mailto:openstack-dev-request at lists.openstack.org>> wrote:

Date: Fri, 08 Mar 2013 09:32:50 -0500
From: David Ripton <dripton at redhat.com<mailto:dripton at redhat.com>>
To: openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] devstack; glance fails with ./stack.sh
Message-ID: <5139F692.80400 at redhat.com<mailto:5139F692.80400 at redhat.com>>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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<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<mailto:dripton at redhat.com>
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130313/9ca70509/attachment.html>


More information about the OpenStack-dev mailing list