ceph-relation-changed hook fails due to hypervisor connection failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Juju Charms Collection) |
Fix Released
|
Medium
|
Liam Young |
Bug Description
## Issue
libvirt fails to start in Precise-Icehouse deployments (stable charm set). Restarting libvirt AND nova-compute was necessary for me, as nova-compute had also died. http://
## nova-compute juju unit log
2015-04-07 21:29:17 INFO unit.nova-
## libvirtd.log from nova compute node
2015-04-07 21:26:22.456+0000: 7508: info : libvirt version: 1.2.2
2015-04-07 21:26:22.456+0000: 7508: error : virDriverLoadMo
## Original description
When running mojo spec specs/full_
error: failed to connect to the hypervisor
error: no connection driver available for qemu:///system
Traceback (most recent call last):
File "./hooks/
main()
File "./hooks/
hooks.
File "/var/lib/
self.
File "/var/lib/
f(*args, **kwargs)
File "./hooks/
key=
File "/var/lib/
if secret_uuid in check_output(
File "/usr/lib/
raise CalledProcessEr
subprocess.
Restarting libvirt-bin solves the problem.
Additional info:
root@juju-
2015-03-03 11:20:20.609+0000: 7494: info : libvirt version: 1.2.2
2015-03-03 11:20:20.609+0000: 7494: error : virDriverLoadMo
2015-03-03 11:20:20.617+0000: 7494: error : virDriverLoadMo
2015-03-03 11:20:41.866+0000: 8506: info : libvirt version: 1.2.2
2015-03-03 11:20:41.866+0000: 8506: error : virDriverLoadMo
2015-03-03 11:20:41.872+0000: 8506: error : virDriverLoadMo
2015-03-03 11:22:51.725+0000: 8509: error : do_open:1170 : no connection driver available for qemu:///system
2015-03-03 11:22:51.726+0000: 8506: error : virNetSocketRea
2015-03-03 11:23:17.691+0000: 8516: error : do_open:1170 : no connection driver available for qemu:///system
2015-03-03 11:23:17.792+0000: 8506: error : virNetSocketRea
2015-03-03 12:18:19.220+0000: 8511: error : do_open:1170 : no connection driver available for qemu:///system
2015-03-03 12:18:19.221+0000: 8506: error : virNetSocketRea
Related branches
- OpenStack Charmers: Pending requested
-
Diff: 40 lines (+5/-0)2 files modifiedhooks/nova_compute_hooks.py (+3/-0)
unit_tests/test_nova_compute_hooks.py (+2/-0)
- Corey Bryant (community): Approve
-
Diff: 40 lines (+5/-0)2 files modifiedhooks/nova_compute_hooks.py (+3/-0)
unit_tests/test_nova_compute_hooks.py (+2/-0)
Changed in nova-compute (Juju Charms Collection): | |
milestone: | none → 15.04 |
assignee: | nobody → Liam Young (gnuoy) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
tags: | added: oil |
description: | updated |
description: | updated |
Changed in nova-compute (Juju Charms Collection): | |
status: | New → Fix Committed |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
FYI, found and flagged a few duplicate bugs, as I almost filed another duplicate. ;-)