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 in OpenStack by akhtar
• 14,770 points
59 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 by MD
• 33,220 points

Related Questions In OpenStack

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 in OpenStack by MD
• 33,220 points
45 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 in OpenStack by MD
• 33,220 points
56 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 in OpenStack by anonymous
• 33,220 points
81 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 in OpenStack by MD
• 33,220 points
269 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 in OpenStack by MD
• 33,220 points
186 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 in OpenStack by MD
• 33,220 points
63 views