LIBVIRT_DEFAULT_URI is not set for VirtualPowerDriver connections

Bug #1246375 reported by Imre Farkas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Triaged
High
Unassigned

Bug Description

On Fedora the default LIBVIRT_DEFAULT_URI is "qemu://session". It has many limitations [1], so it's better to set it to the default system URI which is "qemu://system" as the devtest guide suggests. The problem is that it's not permanent, so when seed-vm/undercloud-vm makes a connection to the host, it uses a different libvirt uri. As a consequence, 'heat stack-create undercloud/overcloud' fails.

A solution could be either:
1, the devtest guide should include a step on how to set it permanently for the user or systemwide. (eg. in /etc/profile.d/virsh.sh)
2, VirtualPowerDriver should set LIBVIRT_DEFAULT_URI when connecting

[1] http://wiki.libvirt.org/page/FAQ#What_is_the_difference_between_qemu:.2F.2F.2Fsystem_and_qemu:.2F.2F.2Fsession.3F_Which_one_should_I_use.3F

Imre Farkas (ifarkas)
description: updated
Revision history for this message
Ghe Rivero (ghe.rivero) wrote :

Similar bug: https://bugs.launchpad.net/tripleo/+bug/1226310
Looks like this issue is not resolved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.