Errno 111 Connection refused Error INFO nova wsgi - Stopping WSGI server INFO nova openstack common service - Caught SIGTERM exiting

0 votes

I got this error when I executed one of the nova command.

[root@gcontroller]# nova net-list
ERROR: [Errno 111] Connection refused

The log files under /var/log/nova revealed the above error.

INFO nova.wsgi [-] Stopping WSGI server.
INFO nova.wsgi [-] WSGI server has stopped.
INFO nova.wsgi [-] WSGI server has stopped.
INFO nova.wsgi [-] WSGI server has stopped.
INFO nova.openstack.common.service [-] Caught SIGTERM, exiting

How can I solve this error?

Thank You

Mar 26, 2020 in OpenStack by akhtar
• 38,260 points
2,051 views

1 answer to this question.

0 votes

Hi@akhtar,

Whenever you see “Connection refused” error, it’s clear that one of the necessary service is not running properly.

To fix the issue,

  1. $ vi /etc/nova/nova.conf

  2. Lookout for ‘enabled_apis‘ and its value ‘ec2,osapi_compute,metadata

  3. Remove ‘metadata’ from ‘enabled_apis’

  4. Now, you are good to start both ‘openstack-nova-api‘ and ‘openstack-nova-metadata-api‘. Both the service will run individually.

In case, if you wish to start ‘metadata-api’ along with ‘openstack-nova-api’ then leave ‘enabled_apis’ with values as ‘ec2,osapi_compute,metadata’ and stop ‘openstack-nova-metadata-api‘ from starting during the system boot. To do that, you can just run the below commands.

$ chkconfig openstack-nova-metadata-api off
$ chkconfig openstack-nova-api on

Hope this will work.

Thank You

answered Mar 26, 2020 by MD
• 95,460 points

Related Questions In OpenStack

0 votes
1 answer

Do we need internet connection when installing OpenStack in our own system?

Hi@akhtar, Yes, you need internet connection at the time ...READ MORE

answered Mar 13, 2020 in OpenStack by MD
• 95,460 points
660 views
0 votes
1 answer

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
1,387 views
0 votes
1 answer

Can anyone explain me the Architecture of Glance service in OpenStack?

Hi, OpenStack Glance has a client-server architecture that ...READ MORE

answered Mar 16, 2020 in OpenStack by akhtar
• 38,260 points
1,586 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,460 points
1,182 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,460 points
2,382 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

ERROR: (‘Connection aborted.’, error(111, ‘Connection refused’))

Hi@akhtar, There may be various reason behind this. ...READ MORE

answered Mar 27, 2020 in OpenStack by MD
• 95,460 points
2,497 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP