unsupported configuration in virsh command

Bug #2006497 reported by Marian Gasparovic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Alexsander de Souza

Bug Description

When defining virsh pods we are getting this error.

2023-02-07-17:51:00 root ERROR [localhost] Command failed: maas root vm-host compose 1 hostname=elastic-1 cores=2 memory=8192 storage=50.0 zone=2
2023-02-07-17:51:00 root ERROR [localhost] STDOUT follows:
Unable to compose machine because: Failed talking to pod: Virsh command ['define', '/tmp/tmpyi19uj_i'] failed: Failed to define domain from /tmp/tmpyi19uj_i
error: unsupported configuration: ps2 is not supported by this QEMU binary

It is MAAS 3.3.0 snap on jammy on arm64. Exactly this worked fine on focal on arm64 during 3.3.0 RC tests.
Logs show it is 3.3/candidate but it is currently the same as stable and it behaves the same on stable.

Logs - https://oil-jenkins.canonical.com/artifacts/28b0568f-ebe2-4228-9665-19de3611dbbe/generated/generated/maas/logs-2023-02-07-17.51.34.tgz

Related branches

Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

The PS/2 bus is only available in some architectures (e.g. x86). Old versions of virsh silently ignore this option when the bus is not available, but the current version raises an error.

We need to review the domain templates in src/provisioningserver/drivers/pod/virsh.py

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 3.3.1
milestone: 3.3.1 → 3.4.0
tags: added: bug-council
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Virsh is "soft-deprecated" since MAAS 3.1, with the advice to use LXD for VM hosting. The UI points that out, but this is not clearly captured in documentation and release notes yet. We will fix the reported issue, and also make sure we update the documentation to encourage using LXD over virsh.

Changed in maas:
importance: High → Medium
tags: removed: bug-council
Changed in maas:
assignee: nobody → Alexsander de Souza (alexsander-souza)
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta3
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
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.