Connection refused by novaclient on folsom

Bug #1074218 reported by xu hongna

This bug report was converted into a question: question #213119: Connection refused by novaclient on folsom.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Wishlist
Unassigned

Bug Description

i setup folsom on ubuntu 12.10 using the repo " http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main"

the services seem work well:
nova-manage service list
2012-11-02 10:05:18 DEBUG nova.utils [req-66e99fc0-2ec4-4b89-825b-5b9c8a550584 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=29751) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:494
Binary Host Zone Status State Updated_At
nova-consoleauth cloud-clinet10 nova enabled :-) 2012-11-02 02:05:13
nova-cert cloud-clinet10 nova enabled :-) 2012-11-02 02:05:13
nova-scheduler cloud-clinet10 nova enabled :-) 2012-11-02 02:05:13
nova-network cloud-clinet10 nova enabled :-) 2012-11-02 02:05:13
nova-compute cloud-clinet10 nova enabled :-) 2012-11-02 02:05:14

But nova list/image-list shows connection refused error, the output is :
~# nova --debug list
Please enter password for encrypted keyring:
Please set a password for your new keyring:
Please confirm the password:

REQ: curl -i http://localhost:8774/v2/cc4c8469207e41588886b56b0747d3ea/servers/detail -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 18636b6043cd4921ad6e4a04e3418a4d"

connect: (localhost, 8774)
connect fail: (u'localhost', 8774)
RESP:{'status': '400', 'content-length': 30, 'content-type': 'text/plain'} [Errno 111] Connection refused

DEBUG (shell:534) ConnectionRefused: '[Errno 111] Connection refused'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 531, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 467, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 694, in do_list
    utils.print_list(cs.servers.list(search_opts=search_opts), columns,
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 309, 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 239, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 226, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 208, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 193, in request
    raise exceptions.ConnectionRefused(body)
ConnectionRefused: ConnectionRefused: '[Errno 111] Connection refused'
ERROR: ConnectionRefused: '[Errno 111] Connection refused'

at the immediately when i installed nova , configurated, sync db and restart the services, the nova command could work, but now not.

Revision history for this message
Russell Bryant (russellb) wrote :

Looks like a setup issue, not a bug, so converting to a question

Changed in nova:
status: New → Invalid
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.