kolla rocky centos 7 deployment issue nova-libvirt restarting
Hii, I am trying to deploy OpenStack Kolla Rocky with centos 7.4 followed instruction give by openstack.org rocky guide installation with Kolla-ansible.After going through many errors and sorted one after the other during the deployment process reached to point where all docker containers related to services are deployed except Nova-libvirt which keep bouncing in the restart and when looked at logs in nova-compute it found as follows.
Error starting thread.: HypervisorUnavailable: Connection to the hypervisor is broken on host: controller-rocky
2019-05-07 18:40:07.669 7 ERROR oslo_service.service Traceback (most recent call last):
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_service/service.py", line 796, in run_service
2019-05-07 18:40:07.669 7 ERROR oslo_service.service service.start()
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/service.py", line 162, in start
2019-05-07 18:40:07.669 7 ERROR oslo_service.service self.manager.init_host()
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1207, in init_host
2019-05-07 18:40:07.669 7 ERROR oslo_service.service self.driver.init_host(host=self.host)
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 476, in init_host
2019-05-07 18:40:07.669 7 ERROR oslo_service.service self._do_quality_warnings()
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 444, in _do_quality_warnings
2019-05-07 18:40:07.669 7 ERROR oslo_service.service caps = self._host.get_capabilities()
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/host.py", line 644, in get_capabilities
2019-05-07 18:40:07.669 7 ERROR oslo_service.service xmlstr = self.get_connection().getCapabilities()
2019-05-07 18:40:07.669 7 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/host.py", line 469, in get_connection
2019-05-07 18:40:07.669 7 ERROR oslo_service.service raise exception.HypervisorUnavailable(host=CONF.host)
2019-05-07 18:40:07.669 7 ERROR oslo_service.service HypervisorUnavailable: Connection to the hypervisor is broken on host: controller-rocky
2019-05-07 18:40:07.669 7 ERROR oslo_service.service
2019-05-07 18:40:07.675 7 INFO nova.virt.libvirt.driver [-] Connection event '0' reason 'Failed to connect to libvirt: unable to connect to server at '10.10.10.51:16509': Connection
Any help appreciated. thankx
Do you have selinux enabled or libvirt service running in the host instead of container?