Virtual machine detection failing when having QEMU as sys_vendor

Bug #1374501 reported by Alex Moldovan
14
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/dmi/id/sys_vendor
QEMU

Product affected:
Landscape Hosted | Ubuntu 14.04.1 LTS

Component affected:
landscape-client 14.01-0ubuntu3

Alberto Donato (ack)
Changed in landscape-client:
assignee: nobody → Alberto Donato (ack)
Alberto Donato (ack)
tags: added: kanban squad-beta
Changed in landscape-client:
importance: Undecided → Medium
status: New → In Progress
tags: removed: kanban
Revision history for this message
Bruce Tarro (cydizen) wrote :

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

Revision history for this message
Dean Henrichsmeyer (dean) wrote : Re: [Bug 1374501] Re: Virtual machine detection failing when having QEMU as sys_vendor

Alberto, let's make sure we factor Google into this one too.

Changed in landscape-client:
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Alex, or anyone else affected,

Accepted landscape-client into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/landscape-client/14.12-0ubuntu0.14.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Alex, or anyone else affected,

Accepted landscape-client into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/landscape-client/14.12-0ubuntu0.14.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Verified for utopic with the package from utopic-proposed:

# apt-cache policy landscape-client
landscape-client:
  Installed: 14.12-0ubuntu0.14.10
  Candidate: 14.12-0ubuntu0.14.10
  Version table:
 *** 14.12-0ubuntu0.14.10 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ utopic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     14.01-0ubuntu3 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Verified with the package in trusty-proposed:

root@juju-machine-0-lxc-25:~# apt-cache policy landscape-client
landscape-client:
  Installed: 14.12-0ubuntu0.14.04
  Candidate: 14.12-0ubuntu0.14.04
  Version table:
 *** 14.12-0ubuntu0.14.04 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     14.01-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Revision history for this message
Chris Johnston (cjohnston) wrote :

Verified in trusty:

apt-cache policy landscape-client
landscape-client:
  Installed: 14.12-0ubuntu0.14.04
  Candidate: 14.12-0ubuntu0.14.04

tags: added: verification-done
removed: verification-needed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Alex, or anyone else affected,

Accepted landscape-client into lucid-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/landscape-client/14.12-0ubuntu0.10.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

no longer affects: landscape-client (Ubuntu Lucid)
no longer affects: landscape-client (Ubuntu Precise)
no longer affects: landscape-client
tags: removed: verification-done
tags: added: verification-needed
tags: added: verification-done-trusty verification-done-utopic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package landscape-client - 14.12-0ubuntu0.14.10

---------------
landscape-client (14.12-0ubuntu0.14.10) utopic; urgency=medium

  * New upstream version (LP: #1401523):
    - Fix regression occurring when performing Landscape-driven release
      upgrades (LP: #1389686)
    - Fix regression occurring when switching the client between different
      Landscape servers (LP: #1376134)
    - Support reporting QEMU virtualization (LP: #1374501)
    - Bump Juju integration message format (LP: #1369635, LP: #1362506)
    - Drop provisioning registration message (LP: #1344054)
    - Drop cloud registration message (LP: #1342646)
    - Fix handling broken packages (LP: #1326940)
    - Add new Swift usage message type (LP: #1320236)
    - Fix platform detection on POWER machines (LP: #1271615)
    - Fix platform detection for arm64 machines (LP: #1306824)
    - Added a mechanism to set the client's user-agent (LP: #1399139)
    - Fixed release-upgrader not asking for a seesion ID before attempting to
      send a message (LP: #1401867)
  * Dropped sysinfo-ignore-nonexistent-config patch, already applied upstream.
 -- Christopher Glass (Canonical) <email address hidden> Tue, 02 Dec 2014 23:59:36 -0600

Changed in landscape-client (Ubuntu):
status: New → Fix Released
Revision history for this message
Chris Glass (tribaal) wrote :

Verified with the package in lucid-proposed:

tribaal@ubuntu:~$ apt-cache policy landscape-client
landscape-client:
  Installed: 14.12-0ubuntu0.10.04
  Candidate: 14.12-0ubuntu0.10.04
  Version table:
 *** 14.12-0ubuntu0.10.04 0
        500 http://deb-mirror.habari.co.tz/ubuntu/ lucid-proposed/main Packages
        100 /var/lib/dpkg/status
     13.07.3-0ubuntu0.10.04 0
        500 http://deb-mirror.habari.co.tz/ubuntu/ lucid-updates/main Packages
     1.5.0.1-0ubuntu0.10.04.0 0
        500 http://deb-mirror.habari.co.tz/ubuntu/ lucid/main Packages

tags: added: verification-done-lucid
Revision history for this message
Chris Glass (tribaal) wrote :

Verified with the package in precise-proposed:

tribaal@ubuntu:~$ apt-cache policy landscape-client
landscape-client:
  Installed: 14.12-0ubuntu0.12.04
  Candidate: 14.12-0ubuntu0.12.04
  Version table:
 *** 14.12-0ubuntu0.12.04 0
        500 http://deb-mirror.habari.co.tz/ubuntu/ precise-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     13.07.3-0ubuntu0.12.04 0
        500 http://deb-mirror.habari.co.tz/ubuntu/ precise-updates/main amd64 Packages
     12.04.3-0ubuntu1 0
        500 http://deb-mirror.habari.co.tz/ubuntu/ precise/main amd64 Packages

tags: added: verification-done-precise
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for landscape-client has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.