facter does not recognize KVM VMs as 'virtual'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
facter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:/
Please also see http://
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
Changed in facter (Ubuntu Lucid): | |
status: | New → Triaged |
Changed in facter (Ubuntu Maverick): | |
status: | New → Triaged |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Hmpf, it's been fixed already in 1.5.7-3ubuntu1, by way of Debian.