Guest User

Untitled

a guest
Apr 25th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. [root@controller ~]# keystone --token root --endpoint http://localhost:35357/v2.0 endpoint-list
  2. WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
  3. Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)
  4. [root@controller ~]# keystone --debug --token root --endpoint http://localhost:35357/v2.0 endpoint-list
  5. WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
  6. REQ: curl -i http://localhost:35357/v2.0/endpoints -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: root"
  7.  
  8. connect: (localhost, 35357) ************
  9. proxy: ('', 80, None, None, None) ************
  10. connect fail: (localhost, 35357)
  11. proxy: ('', 80, None, None, None)
  12. connect: (localhost, 35357) ************
  13. proxy: ('', 80, None, None, None) ************
  14. connect fail: (localhost, 35357)
  15. proxy: ('', 80, None, None, None)
  16. RESP: {'status': '400', 'content-length': 30, 'content-type': 'text/plain'}
  17. RESP BODY: [Errno 111] Connection refused
  18.  
  19. Request returned failure status: 400
  20. Traceback (most recent call last):
  21. File "/usr/bin/keystone", line 9, in <module>
  22. load_entry_point('python-keystoneclient==0.2.0', 'console_scripts', 'keystone')()
  23. File "/usr/lib/python2.6/site-packages/keystoneclient/shell.py", line 432, in main
  24. OpenStackIdentityShell().main(sys.argv[1:])
  25. File "/usr/lib/python2.6/site-packages/keystoneclient/shell.py", line 376, in main
  26. args.func(self.cs, args)
  27. File "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/shell.py", line 397, in do_endpoint_list
  28. endpoints = kc.endpoints.list()
  29. File "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/endpoints.py", line 32, in list
  30. return self._list('/endpoints', 'endpoints')
  31. File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 67, in _list
  32. resp, body = self.api.get(url)
  33. File "/usr/lib/python2.6/site-packages/keystoneclient/client.py", line 202, in get
  34. return self._cs_request(url, 'GET', **kwargs)
  35. File "/usr/lib/python2.6/site-packages/keystoneclient/client.py", line 198, in _cs_request
  36. **kwargs)
  37. File "/usr/lib/python2.6/site-packages/keystoneclient/client.py", line 169, in request
  38. raise exceptions.from_response(resp, body)
  39. keystoneclient.exceptions.BadRequest: Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)
Advertisement
Add Comment
Please, Sign In to add comment