After deployment finished, nova-compute have errors with not finding the '/var/run/libvirt/libvirt-sock'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
Undecided
|
zhu zhu |
Bug Description
With the success deployment of the nova-compute node, found from the compute logs.
After some time, the compute get started without any errors.
The root cause is that the nova-compute started up prior than the libvirtd services. So before the libvirtd sertice started up fully, nova-compute will try to attempt to connect to the Hypervisor and met the No Such File exception.
So in compute cookbook, it need to switch the order , install and startup the libvirtd process and then restart compute service to avoid any error logs in compute logs.
2015-01-17 00:07:08.499 13762 INFO nova.virt.
2015-01-17 00:07:08.536 13762 WARNING nova.virt.
2015-01-17 00:07:08.537 13762 ERROR nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
2015-01-17 00:07:08.537 13762 TRACE nova.virt.
Fix proposed to branch: master /review. openstack. org/148195
Review: https:/