nova service-list didn't work

asked 2016-04-20 07:46:57 -0500

Bearox gravatar image

I followed the guid (link text) to install the openstack liberty. And after I finished the nova install and try to verity operation. I got the error: ERROR (Unauthorized): The request you have made requires authentication. (HTTP 401) (Request-ID: req ...)

So, I tried nova --debug service-list, And I got the error

DEBUG (base:188) Making authentication request to http://ubuntu:35357/v3/auth/tokens
DEBUG (connectionpool:385) "POST /v3/auth/tokens HTTP/1.1" 401 114
DEBUG (session:400) Request returned failure status: 401
DEBUG (shell:905) The request you have made requires authentication. (HTTP 401) (Request-ID: req-4b5844e7-7b1c-444f-bc88-2d9ff5db8250)
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/novaclient/", line 903, in main OpenStackComputeShell().main(argv)

However, I used the commad
openstack compute service list
then, I can get the right result. And glance image-list also works fine. It seems it's just something wrong with the nova. because all the command nova xxx, such as nova image-list or nova host-list, etc showed the above error.

edit retag flag offensive close merge delete