Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

WARNING keystone.common.wsgi [-] Authorization failed. Could not find user, glance. from 127.0.0.1

Hello,

I am following the OpenStack Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora - havana and I've stumbled across an issue. In section 4 "Verify image service installation", I am unable to upload an image into glance.

# glance image-create --name="CirrOS 0.3.1" --disk-format=qcow2 --container-format=bare --is-public=true < cirros-0.3.1-x86_64-disk.img

Request returned failure status.

Invalid OpenStack Identity credentials.

I've been searching through the logs to find some message which might point me in the right direction. The glance log shows:

DEBUG keystoneclient.middleware.auth_token [-] Marking token c5252c018c094343ac2ffeed91355f4d as unauthorized in memcache _cache_store_invalid /usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py:1068

So it looks like keystone doesn't like glance. When I turn on debug in keystone I get this hint:

WARNING keystone.common.wsgi [-] Authorization failed. Could not find user, glance. from 127.0.0.1

So I am now confused. The mysql database has the user:

# mysql -u glance -p* glance

Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 16112 Server version: 5.1.61 Source distribution

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Is there a config setting I've missed?

Thanks for your time!

Jason