Ask Your Question

Revision history [back]

Connection refused by novaclient on folsom

i setup folsom on ubuntu 12.10 using the repo " 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/ 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/", line 531, in main OpenStackComputeShell().main(sys.argv[1:]) File "/usr/lib/python2.7/dist-packages/novaclient/", line 467, in main args.func(self.cs, args) File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/", 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/", line 309, in list return self._list("/servers%s%s" % (detail, query_string), "servers") File "/usr/lib/python2.7/dist-packages/novaclient/", line 62, in _list _resp, body = self.api.client.get(url) File "/usr/lib/python2.7/dist-packages/novaclient/", line 239, in get return self._cs_request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/", line 226, in _cs_request *kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/", line 208, in _time_request resp, body = self.request(url, method, **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/", 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.