yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04953
[Bug 1220773] Re: Nova command 'nova list' ( also, image-list, nova secgroup-add-rule, etc) fails and the system hangs
>From the logs it looks like you have some authentication issues with
your setup which probably explains the very long timeout.
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1220773
Title:
Nova command 'nova list' ( also, image-list, nova secgroup-add-rule,
etc) fails and the system hangs
Status in OpenStack Compute (Nova):
Invalid
Bug description:
I installed the openstack Grizzly in a single node. Every thing went
alright. But, When I execute the nova list, the system hangs and
then I press Ctl-C, and the following message is shown on the display.
I think, the root is he long time to start http connection (around
255 sec).
nova list
INFO (connectionpool:191) Starting new HTTP connection (1): 1XX.56.XX.X
^CTraceback (most recent call last):
File "/usr/bin/nova", line 9, in <module>
load_entry_point('python-novaclient==2.13.0', 'console_scripts', 'nova')()
File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 765, in main
OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 701, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 937, in do_list
servers = cs.servers.list(search_opts=search_opts)
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 375, in list
return self._list("/servers%s%s" % (detail, query_string), "servers")
File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 62, in _list
_resp, body = self.api.client.get(url)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 230, in get
return self._cs_request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 217, in _cs_request
**kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 199, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 170, in request
**kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 354, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 460, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 211, in send
timeout=timeout
File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 415, in urlopen
body=body, headers=headers)
File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 275, in _make_request
httplib_response = conn.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
KeyboardInterrupt
Here is the last three log entries from the /var/log/nova/nova-
api.log. The http connection time is ~255, which is very large. I have
not yet created any VM, as I could not execute nova image-list,
secgroup-add-rule, etc.
2013-09-04 06:14:24.173 31946 INFO nova.osapi_compute.wsgi.server [-]
(31946) accepted ('1XX.56.XX.X', 41687)
2013-09-04 06:15:13.868 31946 INFO nova.osapi_compute.wsgi.server [-]
1XX.56.XX.X "GET /v2/e4e613863a214020935c7aabe44ba7ce/os-tenant-
networks HTTP/1.1" status: 401 len: 465 time: 255.9475789
2013-09-04 06:16:17.996 31946 INFO nova.osapi_compute.wsgi.server [-]
1XX.56.XX.X "GET /v2/e4e613863a214020935c7aabe44ba7ce/os-security-
groups HTTP/1.1" status: 401 len: 465 time: 256.0612741
Here I should note down that there are three instances of nova-api
process running in my computer. The openstack is a single-node
installation.
Please help.
Thank you very much,
Abhi
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1220773/+subscriptions