Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

mitaka nova-osapi_compute nova_metadata down

Hi guys! After a fresh install of nova (Mitaka according to this documentation http://docs.openstack.org/mitaka/install-guide-ubuntu/nova.html) on the controller node, I checked the status of services with the command:

 openstack compute service list

I got this output:

+----+------------------+--------------+----------+---------+-------+----------------------------+
| Id | Binary           | Host         | Zone     | Status  | State | Updated At                 |
+----+------------------+--------------+----------+---------+-------+----------------------------+
|  3 | nova-consoleauth | oscontroll01 | internal | enabled | up    | 2016-05-26T14:52:53.000000 |  
|  4 | nova-scheduler   | oscontroll01 | internal | enabled | up    | 2016-05-26T14:52:53.000000 |
|  5 | nova-conductor   | oscontroll01 | internal | enabled | up    | 2016-05-26T14:52:48.000000 |
| 15 | nova-compute     | oscompute01  | nova     | enabled | up    | 2016-05-26T14:52:47.000000 |
+----+------------------+--------------+----------+---------+-------+----------------------------+

So, everything seems OK.

I also checked with the commande:

nova-manage service list

Adn then I got this output:

Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
DEPRECATED: Use the nova service-* commands from python-novaclient instead or the os-services REST resource. The service subcommand will be removed in the 14.0 release.
Binary           Host                                 Zone             Status     State Updated_At
2016-05-26 16:55:05.968 18829 DEBUG nova.servicegroup.drivers.db [req-9ac2cdf8-a0da-4033-b19a-7e24d6faf429 - - - - -] Seems service nova-osapi_compute on host 0.0.0.0 is down. Last heartbeat was 2016-05-26 13:35:00. Elapsed time is 4805.968678 is_up /usr/lib/python2.7/dist-packages/nova/servicegroup/drivers/db.py:82
nova-osapi_compute 0.0.0.0                              internal         enabled    XXX   None
2016-05-26 16:55:05.969 18829 DEBUG nova.servicegroup.drivers.db [req-9ac2cdf8-a0da-4033-b19a-7e24d6faf429 - - - - -] Seems service nova-metadata on host 0.0.0.0 is down. Last heartbeat was 2016-05-26 13:35:05. Elapsed time is 4800.969194 is_up /usr/lib/python2.7/dist-packages/nova/servicegroup/drivers/db.py:82
nova-metadata    0.0.0.0                              internal         enabled    XXX   None
nova-consoleauth oscontroll01                         internal         enabled    :-)   2016-05-26 14:55:03
nova-scheduler   oscontroll01                         internal         enabled    :-)   2016-05-26 14:55:04
nova-conductor   oscontroll01                         internal         enabled    :-)   2016-05-26 14:54:58
nova-compute     oscompute01                          nova             enabled    :-)   2016-05-26 14:54:57

After that, I checked if something is listening on port 8774 (osapi_compute) and 8775 (metadata) with this command:

netstat -tapun | grep 877

I got htis ouput:

tcp        0      0 0.0.0.0:8774            0.0.0.0:*               LISTEN      18082/python
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN      18082/python

I assumed that the services are running, I can also telnet on those services and they are responding.

I searched this symptom on the net, but found nothing.

Any help will be really appreciated