2019-05-08 11:59:54 |
David Negreira |
bug |
|
|
added bug |
2019-05-08 15:36:44 |
Hochschule Esslingen Linux Admin Team |
bug |
|
|
added subscriber Hochschule Esslingen Linux Admin Team |
2019-05-14 22:11:46 |
Simon Poirier |
landscape-client: status |
New |
Confirmed |
|
2019-05-14 22:11:49 |
Simon Poirier |
landscape-client: status |
Confirmed |
In Progress |
|
2019-05-14 22:11:58 |
Simon Poirier |
landscape-client: assignee |
|
Simon Poirier (simpoir) |
|
2019-06-12 14:29:55 |
Simon Poirier |
landscape-client: status |
In Progress |
Fix Committed |
|
2019-06-17 23:00:49 |
Simon Poirier |
description |
For a customer, he was unable to approve his VMs on Landscape hosted by Canonical.
Customer is running trusty which originally had installed:
ii landscape-client 14.12-0ubuntu6.14.04.4 i386 The Landscape administration system client
ii landscape-common 14.12-0ubuntu6.14.04.4 i386 The Landscape administration system client
We also tried to install from PPA ppa:landscape/17.03, upgraded the client and restarted it, but still no success on approving the machines.
Example of /proc/cpuinfo:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : QEMU Virtual CPU version (cpu64-rhel6)
stepping : 3
microcode : 0x1
cpu MHz : 2393.998
cache size : 4096 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
apicid : 3
initial apicid : 3
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm eagerfpu pni cx16 hypervisor lahf_lm
bogomips : 4787.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
SF case: 00225757
Let me know if you require further information. |
[Impact]
* Some KVM hypervisors are incorrectly detected by landscape-client,
thus making it impossible to make use of VM license seats.
* This upload extend the scanning to additional sys/class/dmi/id fields
for known VM markers
[Test Case]
The issue can be reproduced on libvirt/kvm.
uvt-kvm create vm
virsh edit vm
<os>
...
<smbios mode='sysinfo'/>
</os>
...
<sysinfo type="smbios">
<system>
<entry name='manufacturer'>my fancy cloud</entry>
<entry name='product'>my fancy KVM</entry>
</system>
<chassis>
<entry name='manufacturer'>my fancy cloud</entry>
</chassis>
</sysinfo>
virsh destroy vm && virsh start vm
uvt-kvm ssh vm --insecure
sudo landscape-config --log-level=debug -a devel --silent -t testclient
# will fail registering, but that's not relevant to the vm-type detection
grep vm-info /var/log/landscape/broker.log
# expected output is "KVM", and will be empty because of this bug
[Regression Potential]
* The change is simple and scans an additional file for vm info.
It's very similar to previous patches and is unlikely to regress.
* Assuming this patch goes wrong, false positives may be detected as
KVM. This would have minimal user impact VM can be used on full seats.
[Original description]
For a customer, he was unable to approve his VMs on Landscape hosted by Canonical.
Customer is running trusty which originally had installed:
ii landscape-client 14.12-0ubuntu6.14.04.4 i386 The Landscape administration system client
ii landscape-common 14.12-0ubuntu6.14.04.4 i386 The Landscape administration system client
We also tried to install from PPA ppa:landscape/17.03, upgraded the client and restarted it, but still no success on approving the machines.
Example of /proc/cpuinfo:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : QEMU Virtual CPU version (cpu64-rhel6)
stepping : 3
microcode : 0x1
cpu MHz : 2393.998
cache size : 4096 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
apicid : 3
initial apicid : 3
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm eagerfpu pni cx16 hypervisor lahf_lm
bogomips : 4787.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
SF case: 00225757
Let me know if you require further information. |
|
2019-06-17 23:03:12 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/368945 |
|
2019-06-28 13:28:09 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/369449 |
|
2019-06-28 17:33:40 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/369457 |
|
2019-06-28 17:34:09 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/369458 |
|
2019-07-09 16:37:24 |
Brian Murray |
bug task added |
|
landscape-client (Ubuntu) |
|
2019-07-09 16:37:51 |
Brian Murray |
landscape-client (Ubuntu): status |
New |
Fix Released |
|
2019-07-09 16:43:11 |
Brian Murray |
landscape-client (Ubuntu Disco): status |
New |
Fix Committed |
|
2019-07-09 16:43:12 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-07-09 16:43:14 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2019-07-09 16:43:18 |
Brian Murray |
tags |
|
verification-needed verification-needed-disco |
|
2019-07-12 20:29:57 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/370075 |
|
2019-07-19 18:53:12 |
Brian Murray |
landscape-client (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-07-19 18:53:19 |
Brian Murray |
tags |
verification-needed verification-needed-disco |
verification-needed verification-needed-bionic verification-needed-disco |
|
2019-08-13 20:24:41 |
Brian Murray |
landscape-client (Ubuntu Xenial): status |
New |
Fix Committed |
|
2019-08-13 20:24:48 |
Brian Murray |
tags |
verification-needed verification-needed-bionic verification-needed-disco |
verification-needed verification-needed-bionic verification-needed-disco verification-needed-xenial |
|
2019-09-04 23:11:24 |
Simon Poirier |
tags |
verification-needed verification-needed-bionic verification-needed-disco verification-needed-xenial |
verification-done-bionic verification-needed verification-needed-disco verification-needed-xenial |
|
2019-09-05 19:03:28 |
Simon Poirier |
tags |
verification-done-bionic verification-needed verification-needed-disco verification-needed-xenial |
verification-done verification-done-bionic verification-done-disco verification-done-xenial |
|
2019-09-09 09:25:33 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-09-09 09:28:04 |
Launchpad Janitor |
landscape-client (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-09-09 09:35:28 |
Launchpad Janitor |
landscape-client (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-11-13 00:08:20 |
Launchpad Janitor |
landscape-client (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|