[Bug 2043987] Re: unsupported configuration: machine type 's390-ccw-virtio-mantic' does not support ACPI

Felipe Reyes 2043987 at bugs.launchpad.net
Mon Nov 20 22:47:04 UTC 2023


I was taking a look to nova's source code to determine what would be a
good approach to fix this issue, so far what I've found is:

- Nova always add `<acpi />` when the instance is qemu or kvm[0]
- At the moment the <features></features> tree is not being parsed when reading the capabilities supported by the host[1]


So a fix would involve creating a new class named "LibvirtConfigCapsFeatures" that implements a `parse_dom()` method to read, in this first iteration, the acpi node.


[0] https://github.com/openstack/nova/blob/cd5b7e806855fa37461bc2da865435b16408fbd3/nova/virt/libvirt/driver.py#L6203
[1] https://github.com/openstack/nova/blob/cd5b7e806855fa37461bc2da865435b16408fbd3/nova/virt/libvirt/config.py#L120C1-L131C1

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/2043987

Title:
  unsupported configuration: machine type 's390-ccw-virtio-mantic' does
  not support ACPI

Status in OpenStack Compute (nova):
  New
Status in Ubuntu on IBM z Systems:
  New
Status in nova package in Ubuntu:
  New

Bug description:
  [Impact]

  Fails to launch instances on s390x. The following error is raised:

  Details: Fault: {'code': 500, 'created': '2023-11-19T18:28:12Z',
  'message': "Exceeded maximum number of retries. Exceeded max
  scheduling attempts 3 for instance
  66eebf5b-01fa-48b8-a8de-58dcf9787fd0. Last exception: unsupported
  configuration: machine type 's390-ccw-virtio-mantic' does not support
  ACPI"}. Request ID of server operation performed before checking the
  server status req-4d52df6d-f4de-486e-8831-08757d083ef9.

  [Environment]

  Ubuntu 23.10
  OpenStack 2023.2 (bobcat)
  Nova 3:28.0.0-0ubuntu1
  libvirt 9.6.0-1ubuntu1
  qemu-system-s390x 1:8.0.4+dfsg-1ubuntu3

  [Test Case]

  Launch an instance on a s390x hypervisor

  Expected result: the new instance reaches ACTIVE state

  Actual result: the instance fails to start with the following error:
  "unsupported configuration: machine type 's390-ccw-virtio-mantic' does
  not support ACPI"

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2043987/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list