Nova bm operations fail when LIBVIRT_DEFAULT_URI not set
Bug #1226310 reported by
Steve Baker
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Giulio Fidente |
Bug Description
In the following scenario:
- Fedora host
- Ubuntu seed-vm
nova baremetal calls from seed-vm -> host fails as fedora does not set uri_default = "qemu:///system" by default at the system level.
A workaround is to do the following:
- on seed-vm, edit /etc/init/
env LIBVIRT_
- run:
service nova-compute restart
Proper fix is to modify os-svc-install to take an argument which allows env to be set in upstart files, and specify LIBVIRT_
A similar fix may be required for systemd scripts.
Changed in tripleo: | |
assignee: | nobody → Giulio Fidente (gfidente) |
To post a comment you must log in.
This feels like it could be a config setting for the virtual power driver e.g.
[baremetal] power_host_ user=markmc power_host_ key=/opt/ stack/boot- stack/virtual- power-key power_ssh_ host=192. 168.122. 1 power_type= virsh power_libvirt_ uri=qemu: ///system
virtual_
virtual_
virtual_
virtual_
virtual_
I'm also going to try working around by adding this:
uri_default= qemu:// /system
to ~/.config/ libvirt. conf in the $vp_host_user account on $vp_ssh_host