Bug 888756 - Packstack: do not guess CONFIG_LIBVIRT_TYPE from the machine running packstack
Summary: Packstack: do not guess CONFIG_LIBVIRT_TYPE from the machine running packstack
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Derek Higgins
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-19 12:32 UTC by Yaniv Kaul
Modified: 2019-09-10 14:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-29 11:10:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:0204 0 normal SHIPPED_LIVE OpenStack 2012.2 Folsom Preview bug fix and enhancement update 2013-01-29 16:08:59 UTC

Description Yaniv Kaul 2012-12-19 12:32:28 UTC
Description of problem:
I'm running packstack from a VM (which is also going to be my horizon server), but my Nova-compute host are going to be real servers. packstack assumed CONFIG_LIBVIRT_TYPE=qemu because it was executed from a VM.
Instead, it should look into the nova-compute hosts and decide if they are VMs or physical hosts and act accordingly (should be pretty simple to deduce if they are KVM/QEMU hosts - just look at their BIOS)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Derek Higgins 2012-12-19 23:51:25 UTC
Fix now committed upstream
https://github.com/fedora-openstack/packstack/commit/1fa2eddee53d3ae2d2740437cabbd564469d6918

CONFIG_LIBVIRT_TYPE is no longer used, and libvirt type is being determined on the compute host using the is_virtual facter fact

Comment 5 Nir Magnezi 2013-01-21 14:51:41 UTC
Verified With: openstack-packstack-2012.2.2-0.1.dev317.el6.noarch

ran packstack on a Virtual Machine.
Checked nova.conf on the physical nova-compute nodes:

libvirt_type=kvm

Comment 7 errata-xmlrpc 2013-01-29 11:10:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-0204.html


Note You need to log in before you can comment on or make changes to this bug.