Nova Scheduler service shown as down in OpenStack Platform

Solution Verified - Updated -

Issue

When OpenStack nova services with nova service-list, one of the services has its state as down:

[root@test7-cont1 nova(keystone_admin)]# nova service-list
+----+------------------+-------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host                    | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+-------------------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-consoleauth | test7-cont1.example.com | internal | enabled | up    | 2018-09-18T14:39:02.000000 | -               |
| 2  | nova-schedulerh  | test7-cont1.example.com | internal | enabled | down  | 2018-09-18T13:30:21.000000 | -               |
| 3  | nova-conductor   | test7-cont1.example.com | internal | enabled | up    | 2018-09-18T14:39:02.000000 | -               |
| 4  | nova-cert        | test7-cont1.example.com | internal | enabled | up    | 2018-09-18T14:39:03.000000 | -               |
| 5  | nova-compute     | test7-comp1.example.com | nova     | enabled | up    | 2018-09-18T14:39:03.000000 | -               |
+----+------------------+-------------------------+----------+---------+-------+----------------------------+-----------------+

The following traceback can also be seen in nova-scheduler journalctl entries:

Sep 18 13:30:28 test7-cont1.example.com systemd[1]: Started OpenStack Nova Scheduler Server.
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: Traceback (most recent call last):
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in fire_timers
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: timer()
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: cb(*args, **kw)
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: result = function(*args, **kwargs)
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/nova/openstack/common/service.py", line 509, in run_service
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: service.start()
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/nova/service.py", line 181, in start
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: ctxt, self.host, self.binary))
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/nova/conductor/api.py", line 145, in service_get_by_host_and_binary
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: binary=binary, topic=None)
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: File "/usr/lib/python2.7/site-packages/nova/utils.py", line 921, in wrapper
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: raise (e.exc_info[1], None, e.exc_info[2])
Sep 18 13:30:28 test7-cont1.example.com nova-scheduler[27547]: HostBinaryNotFound: Could not find binary nova-scheduler on host test7-cont1.example.com.

Environment

Red Hat OpenStack Platform 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In