[Openstack] nova image-list - ERROR: Unauthorized (HTTP 401)
Yankai Liu
yankai.liu at canonical.com
Sun Nov 2 08:07:12 UTC 2014
may you check the password consistency defined in glance-api.conf and in
keystone database? Please try to update the glance user password on
keytsone.
# on glance node
less /etc/glance/glance-api.conf
*admin_password* = ....
# on keystone node
keystone user-password-update --pass <*admin_password*> glance
Best Regards,
Kaya Liu
刘艳凯
On Sun, Nov 2, 2014 at 7:09 AM, david jhon <djhon9813 at gmail.com> wrote:
> Hello everyone,
>
> I am installing icehouse All-in-one version on ubuntu 14.04. After
> installing keystone, glance and nova, when I run the command $nova
> image-list, it gives me: ERROR: Unauthorized (HTTP 401) while keystone and
> glance both are working pretty fine.
>
> Please see logs:
> 1. /var/log/keystone/keystone-all.log
>
> 2014-11-02 09:09:05.691 1233 WARNING keystone.common.wsgi [-]
> Authorization failed. The request you have made requires authentication.
> from 10.90.1.190
> 2014-11-02 09:09:05.893 1233 WARNING keystone.common.wsgi [-]
> Authorization failed. The request you have made requires authentication.
> from 10.90.1.190
> 2014-11-02 09:14:15.826 1233 WARNING keystone.common.wsgi [-]
> Authorization failed. The request you have made requires authentication.
> from 10.90.1.190
> 2014-11-02 09:14:16.062 1233 WARNING keystone.common.wsgi [-]
> Authorization failed. The request you have made requires authentication.
> from 10.90.1.190
> 2014-11-02 09:45:35.452 1233 WARNING keystone.common.wsgi [-]
> Authorization failed. The request you have made requires authentication.
> from 10.90.1.190
> 2014-11-02 09:45:35.732 1233 WARNING keystone.common.wsgi [-]
> Authorization failed. The request you have made requires authentication.
> from 10.90.1.190
>
> 2. /var/log/nova/nova-api.log
>
> 2014-11-02 09:45:35.686 2118 INFO urllib3.connectionpool [-] Starting new
> HTTP connection (1): controller
> 2014-11-02 09:45:35.733 2118 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-11-02 09:45:35.734 2118 WARNING keystoneclient.middleware.auth_token
> [-] Authorization failed for token
> 2014-11-02 09:45:35.734 2118 INFO keystoneclient.middleware.auth_token [-]
> Invalid user token - rejecting request
> 2014-11-02 09:45:35.734 2118 INFO nova.osapi_compute.wsgi.server [-]
> 10.99.1.190 "GET /v2/66e2f96e5608453a94165199e9cc9892/images/detail
> HTTP/1.1" status: 401 len: 192 time: 0.0494499
>
> Please tell me how do I resolve this error. Any help/suggestion in this
> regard will highly be appreciated. Thank you!
>
> --
> David
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141102/ccd9ef6e/attachment.html>
More information about the Openstack
mailing list