[Rdo-list] nova list returned "unauthorized" error

Zhao, Xin xzhao at bnl.gov
Tue Aug 5 18:24:53 UTC 2014


Hello,

I am installing icehouse from RDO, on a 3-nodes testbed. One controller, 
one network and one compute node.
I am using RDO release on RHEL6.5 system.

After sourcing the keystone_admin file, the "nova list" command fails, 
the nova/api.log file shows the following messages:

# nova list
ERROR: Unauthorized (HTTP 401)

# tail /var/log/nova/api.log
2014-08-05 11:41:21.941 5888 WARNING 
keystoneclient.middleware.auth_token [-] Configuring admin URI using 
auth fragments. This is deprecated, use 'identity_uri' instead.
2014-08-05 11:41:22.192 5888 WARNING 
keystoneclient.middleware.auth_token [-] Configuring admin URI using 
auth fragments. This is deprecated, use 'identity_uri' instead.
2014-08-05 14:18:39.408 5932 WARNING 
keystoneclient.middleware.auth_token [-] Unexpected response from 
keystone service: {u'error': {u'message': u'The request you have made 
requires authentication.', u'code': 401, u'title': u'Unauthorized'}}
2014-08-05 14:18:39.409 5932 WARNING 
keystoneclient.middleware.auth_token [-] Authorization failed for token

With the same admin username/password, the keystone/glance commands work 
fine.

I have the following section in nova.conf file, which looks fine to me:

[DEFAULT]
...
auth_strategy=keystone
...
[keystone_authtoken]
auth_host=10.255.2.134
auth_port=35357
auth_protocol=http
auth_uri=http://10.255.2.134:5000
admin_user=compute
admin_password=computepassword
admin_tenant_name=services

Any idea where it goes wrong ?

Thanks a lot,
Xin




More information about the dev mailing list