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,260 points
1,310 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,460 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,460 points
1,107 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,460 points
1,711 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,460 points
2,643 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,460 points
6,439 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,460 points
9,625 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,460 points
2,392 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