set vm_info to kvm for digitalocean instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Undecided
|
Unassigned | ||
landscape-client (Ubuntu) |
Fix Released
|
Medium
|
Eric Desrochers | ||
Trusty |
Fix Released
|
Medium
|
Eric Desrochers | ||
Xenial |
Fix Released
|
Medium
|
Eric Desrochers | ||
Artful |
Fix Released
|
Medium
|
Eric Desrochers | ||
Bionic |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
[Impact]
digitalocean instance type is not a recognised VM type in Landscape and thus won't allow use of a Virtual Guest asset to register with.
The digitalocean type uses a KVM-family hypervisor (displaying "digitalocean" in sys_vendor which landscape-client doesn't recognise, thus cannot associate/map to kvm)
[Test Case]
* Deploy a digitalocean instance
* Look sys_vendor
$ cat /sys/class/
digitalocean
* Install landscape-client
* Register the client to the desired landscape-server
* Verify "VM Type" to be "kvm" under the computer info (in landscape-server)
[Regression Potential]
* No regression anticipated, the fix is only adding a new entry mapping to recognize digitalocean instances.
[Other Info]
* Upstream commit:
https:/
Changed in landscape-client (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in landscape-client (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in landscape-client (Ubuntu Zesty): | |
status: | New → Confirmed |
Changed in landscape-client (Ubuntu Artful): | |
status: | New → Confirmed |
Changed in landscape-client (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in landscape-client (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in landscape-client (Ubuntu Xenial): | |
importance: | Undecided → Critical |
importance: | Critical → Medium |
Changed in landscape-client (Ubuntu Zesty): | |
importance: | Undecided → Medium |
Changed in landscape-client (Ubuntu Artful): | |
importance: | Undecided → Medium |
Changed in landscape-client (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in landscape-client (Ubuntu Trusty): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in landscape-client (Ubuntu Xenial): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in landscape-client (Ubuntu Zesty): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in landscape-client (Ubuntu Artful): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in landscape-client (Ubuntu Bionic): | |
assignee: | nobody → Eric Desrochers (slashd) |
tags: | added: lds-squad sts |
tags: | added: sts-sponsor-slashd |
Changed in landscape-client (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in landscape-client: | |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
Changed in landscape-client (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
milestone: | none → 18.01 |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
no longer affects: | landscape-client (Ubuntu Zesty) |
Changed in landscape-client (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
Changed in landscape-client (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in landscape-client (Ubuntu Artful): | |
status: | Confirmed → In Progress |
tags: |
added: sts-sponsor-slashd-done removed: sts-sponsor-slashd |
tags: |
added: verification-done verification-done-artful verification-done-trusty verification-done-xenial removed: verification-needed verification-needed-artful verification-needed-trusty verification-needed-xenial |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
I tested Eric's fix on a Digital Ocean droplet with 2 GB Memory and 40 GB Disk with Ubuntu 17.10 upgraded to Bionic with do-release-upgrade -d (because Bionic images are not available)
==============
root@ubuntu- 2gb-tor1- 01:~# cat /sys/class/ dmi/id/ sys_vendor
DigitalOcean
root@ubuntu- 2gb-tor1- 01:~# dpkg -l | grep -i landscape-client
ii landscape-client 16.03-0ubuntu5 amd64 The Landscape administration system client
root@ubuntu- 2gb-tor1- 01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic
Computer information in Landscape:
-Distribution: Ubuntu Bionic Beaver (development branch) (bionic)
-VM Type: kvm
-Product identifier: Droplet