← Back to team overview

sts-sponsors team mailing list archive

[Bug 1742531] Re: New Amazon AWS C5 instances are not recognised as a VM

 

Hello David, 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-0ubuntu6.14.04.2 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 on 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-trusty to verification-done-trusty. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-trusty. In either case, without details of
your testing we will not be able to proceed.

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

** Changed in: landscape-client (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed-trusty

-- 
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1742531

Title:
  New Amazon AWS C5 instances are not recognised as a VM

Status in Landscape Client:
  Fix Committed
Status in landscape-client package in Ubuntu:
  Fix Released
Status in landscape-client source package in Trusty:
  Fix Committed
Status in landscape-client source package in Xenial:
  Fix Committed
Status in landscape-client source package in Artful:
  Fix Committed
Status in landscape-client source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  The new Amazon AWS C5 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 C5 instance type is a new type that uses a KVM-family hypervisor
  instead of Xen (displaying "Amazon EC2" in sys_vendor which landscape-
  client doesn't recognise, thus cannot associate/map to kvm)

  "AWS has revealed it has created a new hypervisor based on KVM, not
  the Xen hypervisor on which it has relied for years."

  From
  https://www.theregister.co.uk/2017/11/07/aws_writes_new_kvm_based_hypervisor_to_make_its_cloud_go_faster

  [Test Case]

   * Deploy an AWS C5 instance
   * Look sys_vendor
     $ cat /sys/class/dmi/id/sys_vendor
     Amazon EC2

   * 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 C5 instance (Amazon EC2)

  [Other Info]

   * Upstream commit:
     https://github.com/CanonicalLtd/landscape-client/pull/22/files

  [Original Description]
  The new Amazon AWS C5 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 C5 instance type is a new type that uses a KVM-family hypervisor
  instead of Xen:

  "AWS has revealed it has created a new hypervisor based on KVM, not
  the Xen hypervisor on which it has relied for years."

  From
  https://www.theregister.co.uk/2017/11/07/aws_writes_new_kvm_based_hypervisor_to_make_its_cloud_go_faster

  ============

  ubuntu@ip-172-31-54-123:~$ cat /sys/class/dmi/id/sys_vendor
  Amazon EC2

  ============

  dmidecode output:

  # dmidecode 3.0
  Getting SMBIOS data from sysfs.
  SMBIOS 2.7 present.
  5 structures occupying 233 bytes.
  Table at 0x000F9010.

  Handle 0x0000, DMI type 0, 24 bytes
  BIOS Information
   Vendor: Amazon EC2
   Version: 1.0
   Release Date: 10/16/2017
   Address: 0xF0000
   Runtime Size: 64 kB
   ROM Size: 64 kB
   Characteristics:
    PCI is supported
    EDD is supported
    ACPI is supported
    System is a virtual machine
   BIOS Revision: 1.0

  Handle 0x0001, DMI type 1, 27 bytes
  System Information
   Manufacturer: Amazon EC2
   Product Name: c5.large
   Version: Not Specified
   Serial Number: ec23cdb5-a248-6935-b9f6-de3a34334018
   UUID: EC23CDB5-A248-6935-B9F6-DE3A34334018
   Wake-up Type: Power Switch
   SKU Number: Not Specified
   Family: Not Specified

  Handle 0x0002, DMI type 2, 15 bytes
  Base Board Information
   Manufacturer: Amazon EC2
   Product Name: Not Specified
   Version: Not Specified
   Serial Number: Not Specified
   Asset Tag: i-09898bff0b7b55c35
   Features: None
   Location In Chassis: Not Specified
   Chassis Handle: 0x0003
   Type: Other
   Contained Object Handles: 0

  Handle 0x0003, DMI type 3, 21 bytes
  Chassis Information
   Manufacturer: Amazon EC2
   Type: Other
   Lock: Not Present
   Version: Not Specified
   Serial Number: Not Specified
   Asset Tag: Amazon EC2
   Boot-up State: Safe
   Power Supply State: Safe
   Thermal State: Safe
   Security Status: None
   OEM Information: 0x00000000
   Height: Unspecified
   Number Of Power Cords: 1
   Contained Elements: 0

  Handle 0x0004, DMI type 127, 4 bytes
  End Of Table

  ============

  contents of /proc/cpuinfo :

  processor	: 0
  vendor_id	: GenuineIntel
  cpu family	: 6
  model		: 85
  model name	: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
  stepping	: 3
  microcode	: 0x100013e
  cpu MHz		: 3000.000
  cache size	: 25344 KB
  physical id	: 0
  siblings	: 2
  core id		: 0
  cpu cores	: 1
  apicid		: 0
  initial apicid	: 0
  fpu		: yes
  fpu_exception	: yes
  cpuid level	: 13
  wp		: yes
  flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f rdseed adx smap clflushopt clwb avx512cd xsaveopt xsavec xgetbv1 ida arat
  bugs		:
  bogomips	: 6000.00
  clflush size	: 64
  cache_alignment	: 64
  address sizes	: 46 bits physical, 48 bits virtual
  power management:

  processor	: 1
  vendor_id	: GenuineIntel
  cpu family	: 6
  model		: 85
  model name	: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
  stepping	: 3
  microcode	: 0x100013e
  cpu MHz		: 3000.000
  cache size	: 25344 KB
  physical id	: 0
  siblings	: 2
  core id		: 0
  cpu cores	: 1
  apicid		: 1
  initial apicid	: 1
  fpu		: yes
  fpu_exception	: yes
  cpuid level	: 13
  wp		: yes
  flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f rdseed adx smap clflushopt clwb avx512cd xsaveopt xsavec xgetbv1 ida arat
  bugs		:
  bogomips	: 6000.00
  clflush size	: 64
  cache_alignment	: 64
  address sizes	: 46 bits physical, 48 bits virtual
  power management:

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1742531/+subscriptions