nova-compute does not start
Hello there,
I'm installing a new openstack environment on Centos 7, following the instructions from this guide: http://docs.openstack.org/juno/install-guide/install/yum/content/ (http://docs.openstack.org/juno/instal...)
I installed the controller node services (mariadb, rabbitmq, keystone, glance and nova, except nova-compute) on a VM and had no issues. Everything is working as described by the install guide.
But I'm having problems with the nova-compute service starting on the compute node, which runs on a real server also with Centos 7. I followed the instructions in the guide (here: http://docs.openstack.org/juno/install-guide/install/yum/content/ch_nova.html#nova-compute-install (http://docs.openstack.org/juno/instal...) ) but the service fails to start. I enabled debug mode but I don't see any obvious errors in the log either.
I've tried running manually, and this is what I get:
[root@cha-bl465-06:(cha-bl465-06) ~]# /usr/bin/nova-compute --debug --config-file /etc/nova/nova.conf --log-file /var/log/nova/nova-compute.log
2014-11-11 16:17:24.882 4224 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db __new__ /usr/lib/python2.7/site-packages/nova/servicegroup/api.py:65
2014-11-11 16:17:25.056 4224 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
2014-11-11 16:17:25.062 4224 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-11-11 16:17:25.109 4224 INFO oslo.messaging._drivers.impl_rabbit [req-ae205550-f345-4951-aa05-f3425333336b ] Connecting to AMQP server on cha-ops-xen-v04:5672
2014-11-11 16:17:25.132 4224 INFO oslo.messaging._drivers.impl_rabbit [req-ae205550-f345-4951-aa05-f3425333336b ] Connected to AMQP server on cha-ops-xen-v04:5672
2014-11-11 16:17:25.140 4224 INFO oslo.messaging._drivers.impl_rabbit [req-ae205550-f345-4951-aa05-f3425333336b ] Connecting to AMQP server on cha-ops-xen-v04:5672
2014-11-11 16:17:25.165 4224 INFO oslo.messaging._drivers.impl_rabbit [req-ae205550-f345-4951-aa05-f3425333336b ] Connected to AMQP server on cha-ops-xen-v04:5672
It seems to connect fine to the rabbitmq service in the controller but then it just hangs there...
Any help will be much appreciated.
Daniel
What do you mean, "it just hangs there"? What do you expect it to do? Until an instance is scheduled on that host, nothing else is going to happen. That looks like a successful start.
I expected to see it listed when I run nova service-list in the controller, but I only see the 4 services running in the controller (nova-consoleauth, nova-cert, nova-scheduler, nova-conductor)