[Openstack-operators] Essex: Glance loading image fails

Chris Mutchler chris at leibnizcreations.com
Tue Apr 17 16:30:48 UTC 2012


I'm working through the trunk documentation for setting up Essex and have
run into a problem I cannot seem to find a resolution for. The error I get
in the terminal is:

localadmin at cloud002:/tmp/images$ glance add name="tty-linux-kernel"
disk_format=aki container_format=aki <
ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
Uploading image 'tty-linux-kernel'
Failed to add image. Got error:
The request returned 503 Service Unavilable. This generally occurs on
service overload or other transient outage.
Note: Your image metadata may still be in the registry, but the image's
status will likely be 'killed'.
=======================================================================================================[100%]
41.7M/s, ETA  0h  0m  0s

The corresponding error in the /var/log/glance/api.log file points to an
authentication error of some sort:

2012-04-17 10:24:40 1080  WARNING [keystone.middleware.auth_token]
Unexpected response from keystone service: {u'error': {u'message':
u'Invalid user / password', u'code': 401, u'title': u'Not Authorized'}}
2012-04-17 10:24:40 1080 CRITICAL [keystone.middleware.auth_token] Unable
to obtain admin token: invalid json response

I've triple-checked the username and password I've specified in the
/home/localadmin/openrc file are accurate. I haven't skipped any portions
of the documentation to this point and I managed to get both glance-api and
glance-registry working after fixing the formatting errors currently in the
documentation. I can also confirm the adminUser is setup with the curl
command specified in the documentation.

        "user": {
            "id": "99212097922e497a9b026dc9abcc1f3b",
            "name": "adminUser",
            "roles": [
                {
                    "id": "086a76b6572c4a88b3cc263952fad94e",
                    "name": "admin"
                }
            ],
            "roles_links": [],
            "username": "adminUser"
        }

I would appreciate any assistance that could be offered. If I can get the
full stack setup on the server today, I would be ecstatic. Thank you in
advance.

-- 
Chris Mutchler
chris at leibnizcreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120417/39387f52/attachment-0002.html>


More information about the Openstack-operators mailing list