openstack compute service list --service nova-compute empty
After the installation of nova-compute on compute node, it failed to start and this command from the controller node return an empty result
openstack compute service list --service nova-compute
And the nova-compute.log file contain these two messages:
2018-11-22 20:58:52.785 10541 DEBUG os_vif [-] Loaded VIF plugin class '<class 'vif_plug_ovs.ovs.ovsplugin'="">' with name 'ovs' initialize /usr/lib/python2.7/dist-packages/os_vif/__init__.py:46
2018-11-22 20:58:52.786 10541 DEBUG os_vif [-] Loaded VIF plugin class '<class 'vif_plug_linux_bridge.linux_bridge.linuxbridgeplugin'="">' with name 'linux_bridge' initialize /usr/lib/python2.7/dist-package$
2018-11-22 20:58:52.786 10541 INFO os_vif [-] Loaded VIF plugins: ovs, linux_bridge
2018-11-22 20:58:52.810 10541 WARNING oslo_config.cfg [req-48644f85-e1f3-4c2f-bbb6-19321747ab07 - - - - -] Deprecated: Option "rabbit_host" from group "DEFAULT" is deprecated. Use option "rabbit_host" fr$
2018-11-22 20:58:52.810 10541 WARNING oslo_config.cfg [req-48644f85-e1f3-4c2f-bbb6-19321747ab07 - - - - -] Deprecated: Option "rabbit_host" from group "oslo_messaging_rabbit" is deprecated for removal (R$
2018-11-22 20:58:52.811 10541 WARNING oslo_config.cfg [req-48644f85-e1f3-4c2f-bbb6-19321747ab07 - - - - -] Deprecated: Option "rabbit_userid" from group "DEFAULT" is deprecated. Use option "rabbit_userid$
2018-11-22 20:58:52.811 10541 WARNING oslo_config.cfg [req-48644f85-e1f3-4c2f-bbb6-19321747ab07 - - - - -] Deprecated: Option "rabbit_userid" from group "oslo_messaging_rabbit" is deprecated for removal $
2018-11-22 20:58:52.812 10541 WARNING oslo_config.cfg [req-48644f85-e1f3-4c2f-bbb6-19321747ab07 - - - - -] Deprecated: Option "rabbit_password" from group "DEFAULT" is deprecated. Use option "rabbit_pass$
2018-11-22 20:58:52.812 10541 WARNING oslo_config.cfg [req-48644f85-e1f3-4c2f-bbb6-19321747ab07 - - - - -] Deprecated: Option "rabbit_password" from group "oslo_messaging_rabbit" is deprecated for remova$
openstack compute service list :
return three service components just for the controller
+----+------------------+------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At
+----+------------------+------------+----------+---------+-------+----------------------------+
| 2 | nova-conductor | Controller | internal | enabled | UP | 2018-11-17T17:32:48.000000 |
| 4 | nova-scheduler | Controller | internal | enabled | UP | 2018-11-17T17:32:49.000000 |
| 5 | nova-consoleauth | Controller | internal | enabled | UP | 2018-11-17T17:32:49.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+
service nova-compute status :
Active
/bin/sh -c "nova-manage cell_v2 list_cells" nova
Name |UUID | Transport URL| Database Connection | Disabled
cell0 | 000-0000-0000-0000-000 | none:/ | mysql+pymysql://nova:*@192.168.1.67/nova_cell0 |False
cell1 | 60e137135dd643d | rabbit://openstack:@192.168.1.67 | mysql+pymysql://nova:*@192.168.1.67/nova| False
the above command show no Transport URL for cell0
How can i resolve these problems ?
cell 0 is a graveyard for instances that could not be scheduled. Such an instance is not on any host, therefore not in any cell. Cell 0 was created to collect such instances. It has no message queue, since it has no compute node. Nothing runs in this cell.
Perhaps your nova-compute is configured to log to a different file? Note that the two messages in nova-compute.log are from Monday, three days ago. They have nothing to do with the problem.
Or your nova-compute process dies before it can log anything.
How can i verify this? If no solution should i reinstall the compute node or what ? Can you show me an example of a nova.cobf file of the compute node
the command " /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova: Found 0 unmapped computes in cell: 88fdcc1f-ddea-4505-a6b1-394c1070d
@Bernd Baush i recreate above my new nova-compute.log file