← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1246372] [NEW] LIBVIRT_DEFAULT_URI is not set for VirtualPowerDriver connections

 

Public bug reported:

On Fedora the default LIBVIRT_DEFAULT_URI is "qemu://session". It has
many limitations [1], so it's better to set it 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 will use 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

** Affects: nova
     Importance: Undecided
         Status: Invalid

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1246372

Title:
  LIBVIRT_DEFAULT_URI is not set for VirtualPowerDriver connections

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  On Fedora the default LIBVIRT_DEFAULT_URI is "qemu://session". It has
  many limitations [1], so it's better to set it 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 will use 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1246372/+subscriptions


Follow ups

References