nova list hang

asked 2017-03-30 09:02:20 -0500

yiazhou gravatar image

updated 2017-03-30 21:12:14 -0500

Hi experts,

I am newbie for openstack environment. I run across a problem that it hang... when issuing 'nova list' on controller node. You can find below details for this problem. I have no idea how to fix this. Could you please help me to shed light on this ? Thanks in advance !

[Updated Details] nova --debug list

REQ: curl -i 'http://10.10.0.2:5000/v2.0/tokens' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin"}}}'

New session created for: (http://10.10.0.2:5000) INFO (connectionpool:236) Starting new HTTP connection (1): 10.10.0.2 DEBUG (shell:777) HTTPConnectionPool(host='10.10.0.2', port=5000): Request timed out. (timeout=600.0) Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 774, in main OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:])) File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 685, in main self.cs.authenticate() File "/usr/lib/python2.6/site-packages/novaclient/v1_1/client.py", line 169, in authenticate self.client.authenticate() File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 382, in authenticate auth_url = self._v2_auth(auth_url) File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 469, in _v2_auth return self._authenticate(url, body) File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 482, in _authenticate *kwargs) File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 242, in _time_request resp, body = self.request(url, method, *kwargs) File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 213, in request *kwargs) File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 335, in request resp = self.send(prep, *send_kwargs) File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 438, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 333, in send raise Timeout(e) Timeout: HTTPConnectionPool(host='10.10.0.2', port=5000): Request timed out. (timeout=600.0) ERROR: HTTPConnectionPool(host='10.10.0.2', port=5000): Request timed out. (timeout=600.0)

edit retag flag offensive close merge delete

Comments

Can you provide the openstack enviroment variables /adminrc or the details of export OS_AUTH_URL. Also try to telnet 10.10.0.2 on port 5000 Also keystone endpoint-list |grep 5000 or openstack endpoint list | grep 5000

Mohit gravatar imageMohit ( 2017-03-31 22:28:55 -0500 )edit