openstack-nova-metadata-api dead but pid file exists

0 votes

Hi Guys,

I am trying to see metadata status of nova service. But It shows me the below error.

$ service openstack-nova-metadata-api status 
openstack-nova-metadata-api dead but pid file exists 

And the log file /var/log/nova/metadata-api.log reveled the below message

ERROR nova.wsgi [-] Could not bind to 0.0.0.0:8775 CRITICAL nova [-] error: [Errno 98] Address already in use.

Thank You

Mar 27, 2020 in OpenStack by akhtar
• 38,230 points
967 views

1 answer to this question.

0 votes

Hi@akhtar,

Surprisingly, the service ‘openstack-nova-metadata-api‘ was already running. Because, ‘openstacknova-api‘ starts ‘metadata-api‘ service along with it and thus the service ‘metadata-api‘ fails to bind to the port. All you need to do is, check if ‘nova-api’ is configured to start ‘metadata-api’ along with it. To do that

$ Open /etc/nova/nova.conf 

And lookout for ‘enabled_apis = osapi_compute,metadata‘ If you find metadata in enabled_apis, then whenever nova-api is started, it will also start metadata api.

Thank You

answered Mar 27, 2020 by MD
• 95,440 points

Related Questions In OpenStack

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Unable to locate paste config file for glance-api

Hi@akhtar, You have to add paste configuration file ...READ MORE

answered Mar 27, 2020 in OpenStack by MD
• 95,440 points
889 views
0 votes
1 answer

Can anyone explain, how nova works internally?

Hi@akhtar, Nova is comprised of multiple server process, ...READ MORE

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

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17, 2020 in OpenStack by anonymous
• 95,440 points
2,220 views
0 votes
1 answer

Instance is not pingable from outside in OpenStack!

Ho@akhtar, There is nothing wrong. But when you ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
5,868 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
8,763 views
0 votes
1 answer

Error: neutron-server failed to start and no log was written – neutron dead but pid file exists.

Hi@akhtar, Generally, after installing keystone, glance, nova services, ...READ MORE

answered Mar 24, 2020 in OpenStack by MD
• 95,440 points
1,980 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