Ask Your Question

How to solve Errno 111 when trying nova list command? [closed]

asked 2013-07-09 10:32:05 -0500

anonymous user


updated 2013-07-11 16:50:10 -0500

smaffulli gravatar image

When I tried to list up VM instances thru "nova list", I got below error messages.

INFO (connectionpool:191) Starting new HTTP connection (1):
DEBUG (shell:768) [Errno 111] Connection refused
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 765, in main
    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 701, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/", line 937, in do_list
    servers = cs.servers.list(search_opts=search_opts)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/", line 375, 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 230, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 217, in _cs_request
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 199, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 170, in request
  File "/usr/lib/python2.7/dist-packages/requests/", line 44, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/", line 354, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/", line 460, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/", line 243, in send
    raise ConnectionError(sockerr)
ConnectionError: [Errno 111] Connection refused
ERROR: [Errno 111] Connection refused

I could list up keystone user-list, keystone role-list etc, but I couldn't list up nova-list. Additionally, when I tried to login with "admin/password" credential, I got below errors,

ConnectionError at /auth/login/
[Errno 111] Connection refusedRequest Method: POST 
Request URL: 
Django Version: 1.4.5 
Exception Type: ConnectionError 
Exception Value: [Errno 111] Connection refused 
Exception Location: /usr/lib/python2.7/dist-packages/requests/ in send, line 243 
Python Executable: /usr/bin/python 
Python Version: 2.7.3 
Python Path: ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',

Are those errors occurred by nova configuration? One more thing, I couldn't start "nova-api".

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 20:17:14.688322


You should first start nova-api or try to figure what is going wrong with that. Additionally is this a single or a multi-node setup? Please provide your /etc/nova/nova.conf for all compute nodes.

Jobin gravatar imageJobin ( 2013-07-09 12:00:22 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2013-07-09 20:32:38 -0500

DavidYoon gravatar image

Hi, Jobin and Nishtha

I fixed the issue after removing "metadata" from "enabled_apis=ec2,osapi_compute" in nova.conf. Thanks for your great support and advice.

edit flag offensive delete link more


Please accept the answer if it is working now!

Jobin gravatar imageJobin ( 2013-07-11 23:12:22 -0500 )edit

This solved my issue as well. I am following the OPENSTACK INSTALLATION GUIDE FOR UBUNTU 12.04/14.04 (LTS) - ICEHOUSE and had the same issue.

Thanks for your help!

jeff Cichonski gravatar imagejeff Cichonski ( 2014-07-17 11:08:46 -0500 )edit

answered 2013-07-09 13:53:40 -0500

nishtha gravatar image

I also received the same problem that my glance and keystone were working fine but nova had this issue. It can be an issue of your nova.conf file or it is possible that there is a problem in your keystone bash script regarding the endpoints. Even if your script is running well check out for the code error which might occur inside it. Besides these check whether all services of nova are running fine by nova-manage service list.

edit flag offensive delete link more

answered 2013-09-26 05:09:28 -0500

Check in your /etc/nova/api-paste.ini if the keystone admin credentials are correct:

admin_tenant_name = xxx
admin_user = xxx
admin_password = xxx
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-09 10:32:05 -0500

Seen: 5,182 times

Last updated: Sep 26 '13