在运行nova-list 的时候发现报错401:如下面
========>>>>>>>>> 正常显示
[root@controller ~]# nova --debug list
DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: app" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 250
DEBUG (session:224) RESP: [200] content-length: 250 vary: X-Auth-Token keep-alive: ti100 server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 mod_wsgi/3.4 Pynnection: Keep-Alive date: Tue, 17 Jan 2017 07:38:53 GMT content-type: application/jsk-request-id: req-9f10a8db-4c05-408a-934b-0b1d96f07146
RESP BODY: {
"version": {
"status": "stable", "updated": "2015-03-30T00:00:00Z", "mediaase": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "idinks": [{
"href": "http://controller:35357/v3/", "rel": "self"}]}}
DEBUG (base:171) Making authentication request to http://controller:35357/v3/auth/tok
DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 5326
DEBUG (iso8601:184) Parsed 2017-01-17T08:38:53.247506Z into {
'tz_sign': None, 'second'247506', 'hour': u'08', 'daydash': u'17', 'tz_hour': None,