unsupported configuration in virsh command
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.
Related branches
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 41 lines (+3/-6)1 file modifiedsrc/provisioningserver/drivers/pod/virsh.py (+3/-6)
Changed in maas: | |
assignee: | nobody → Alexsander de Souza (alexsander-souza) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta3 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
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/provisionin gserver/ drivers/ pod/virsh. py