2015-05-25 16:51:43.314 18293 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller0:35357/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2015-05-25 16:51:43.315 18293 INFO urllib3.connectionpool [-] Starting new HTTP connection (3): controller0
2015-05-25 16:51:43.317 18293 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: Unable to establish connection to http://controller0:35357/
2015-05-25 16:51:45.317 18293 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller0:35357/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2015-05-25 16:51:45.320 18293 INFO urllib3.connectionpool [-] Starting new HTTP connection (4): controller0
2015-05-25 16:51:45.321 18293 ERROR keystonemiddleware.auth_token [-] HTTP connection exception: Unable to establish connection to http://controller0:35357/
2015-05-25 16:51:45.330 18293 DEBUG keystonemiddleware.auth_token [-] Token validation failure. _validate_token /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:885
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token Traceback (most recent call last):
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 877, in _validate_token
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token retry)
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1396, in verify_token
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token self._auth_version = self._choose_api_version()
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1468, in _choose_api_version
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token versions_supported_by_server = self._get_supported_versions()
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1488, in _get_supported_versions
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token response, data = self._json_request('GET', '/', authenticated=False)
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1558, in _json_request
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token response = self._http_request(method, path, **kwargs)
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1537, in _http_request
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token raise NetworkError('Unable to communicate with keystone')
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token NetworkError: Unable to communicate with keystone
2015-05-25 16:51:45.330 18293 TRACE keystonemiddleware.auth_token
2015-05-25 16:51:45.333 18293 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2015-05-25 16:51:45.334 18293 INFO keystonemiddleware.auth_token [-] Invalid user token - deferring reject downstream
2015-05-25 16:51:45.334 18293 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py:727
为什么没人遇到这个问题呢??
[root@controller0 ~]# glance --debug image-list
curl -i -X GET -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}980af48b4ef05135991bc97471248d253b67e9b1' http://controller0:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20
Request returned failure status 401.
Invalid OpenStack Identity credentials.
无解了.... 求大家帮忙。。。 |