Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Nova-compute unavailable in compute nodes. [packstack-mitaka]

We just deployed Openstack server with packstack mitaka.

There was no installation error. However, we are not sure any nova-compute service is either up or non-exist.

[root@controller ~(keystone_admin)]# nova service-list
+----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host                   | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+
| 8  | nova-cert        | controller.miitlab.net | internal | enabled | up    | 2016-11-23T08:05:44.000000 | -  |
| 9  | nova-consoleauth | controller.miitlab.net | internal | enabled | up    | 2016-11-23T08:05:43.000000 | -  |
| 10 | nova-scheduler   | controller.miitlab.net | internal | enabled | up    | 2016-11-23T08:05:43.000000 | -   |
| 11 | nova-conductor   | controller.miitlab.net | internal | enabled | up    | 2016-11-23T08:05:42.000000 | -  |
+----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+

Also here is the installation log via packstack.

50.0.0.31_api_nova.pp:                               [ DONE ]
Applying 50.0.0.31_nova.pp
Applying 50.0.0.11_nova.pp
Applying 50.0.0.12_nova.pp
50.0.0.12_nova.pp:                                   [ DONE ]
50.0.0.31_nova.pp:                                   [ DONE ]
50.0.0.11_nova.pp:                                   [ DONE ]

Another one. Configuration in packstack.

[root@controller ~(keystone_admin)]# cat answers.cfg |egrep -i 'controller_host|compute_host|network_host|storage_host|ntp_servers|sahara_host'
CONFIG_NTP_SERVERS=0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org
CONFIG_CONTROLLER_HOST=50.0.0.31
CONFIG_COMPUTE_HOSTS=50.0.0.11,50.0.0.12
CONFIG_NETWORK_HOSTS=50.0.0.21
CONFIG_STORAGE_HOST=50.0.0.41
CONFIG_SAHARA_HOST=

As conclusion, we cannot deploy an instance because there are no nova-compute in our compute nodes. Did we do something wrong in our answer file? Thank you.