Virtual machine detection failing when having QEMU as sys_vendor
Bug #1374501 reported by
Alex Moldovan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Accepting a pending virtual machine fails with "There are no licenses available for <ACCOUNT> <COMPUTER> was not accepted"
because the detection is failing when having QEMU as sys_vendor.
Looking at broker.log the vm-info field is empty:
'vm-info': ''},
$ cat /sys/class/
QEMU
Product affected:
Landscape Hosted | Ubuntu 14.04.1 LTS
Component affected:
landscape-client 14.01-0ubuntu3
Related branches
lp://staging/~ack/landscape-client/vm-info-detect-qemu
- Björn Tillenius (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 158 lines (+80/-33)2 files modifiedlandscape/lib/tests/test_vm_info.py (+23/-1)
landscape/lib/vm_info.py (+57/-32)
Changed in landscape-client: | |
assignee: | nobody → Alberto Donato (ack) |
tags: | added: kanban squad-beta |
Changed in landscape-client: | |
importance: | Undecided → Medium |
status: | New → In Progress |
tags: | removed: kanban |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
tags: | added: verification-done-trusty verification-done-utopic |
To post a comment you must log in.
This bug also seems to be affecting Google as a vendor as well:
Looking at broker.log the vm-info field is empty:
'vm-info' : ''}],
# cat /sys/class/ dmi/id/ sys_vendor
Google