[Bug 708080] [NEW] facter does not recognize KVM VMs as 'virtual'
Launchpad Bug Tracker
708080 at bugs.launchpad.net
Thu Jan 27 19:16:18 UTC 2011
You have been subscribed to a public bug by Oliver Brakmann (obrakmann):
Binary package hint: facter
On current Ubuntu releases (the latest LTS most notably), puppet's
facter library does not recognize KVM virtual machines as virtual:
$ facter | grep virtual
is_virtual => false
virtual => physical
$ grep -i qemu /proc/cpuinfo
model name : QEMU Virtual CPU version 0.12.3
This has already been fixed upstream in version 1.5.8. However, this
version has not been packaged for any Ubuntu release yet (not even Natty).
The upstream commit with the fix is here:
https://github.com/puppetlabs/facter/commit/62b6773a63bb96273fbcb6f79bec524fb67df075
Please also see http://thread.gmane.org/gmane.linux.ubuntu.server/4917.
Thanks!
TEST CASE:
Run "facter | grep virtual" in a KVM virtual machine.
Buggy output: see above.
Expected output:
$ facter | grep virtual
is_virtual => true
virtual => kvm
** Affects: facter (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: facter (Ubuntu Lucid)
Importance: Undecided
Status: Triaged
** Affects: facter (Ubuntu Maverick)
Importance: Undecided
Status: Triaged
** Tags: lucid patch
--
facter does not recognize KVM VMs as 'virtual'
https://bugs.launchpad.net/bugs/708080
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list