Ignore `console-access-protocol: spice` for s390x architecture. Causes libvirt.libvirtError: unsupported configuration: domain configuration does not support video model 'qxl'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi,
# Environment #
* Ubuntu Jammy, OpenStack Yoga.
* Juju 2.9.45
* MAAS: 3.2.10-
* nova-cloud-
- charm: yoga/stable, rev 634
- openstack: 25.2.0
* nova-compute:
- charm: yoga/stable, rev 723
- openstack: 25.2.1
# Issue description #
We have a mix of architectures in the cloud with a separate nova-compute charm installed for every arch: amd64, arm64, ppc64el, and s390x.
The `console-
```
juju config nova-cloud-
spice
```
But, spice is not supported by s390x architecture. We are happy to keep using `s390x` machine in the cloud without `spice`, but nova fails to work because `spice` is configured globally for all nova architectures.
# Steps to reproduce #
1. In a cloud with s390x nova-compute node configure `juju config nova-cloud-
2. Try to deploy a virtual machine and wait until it goes to `ERROR` state
3. /var/log/
```
: libvirt.
2024-04-19 08:16:40.944 3017 ERROR nova.virt.
```
The full log is: https:/
To ensure that `spice` is the culprit, I edited `/etc/nova/
```
[spice]
# agent_enabled = True
# enabled = True
enabled = False
agent_enabled = False
```
Restarted `systemctl restart nova-compute` and VM new test VM scheduled successfully.
# Expected behavior #
I'm not sure what is expected here.
* Maybe if `spice` is configured globally, there should be just a warning for s390x that it is not supported but nova should proceed spanning VMs
* Maybe `console-
* Maybe there should be additional config point in `nova-compute` charm to disable `console-
# Juju env #
* juju status : https:/
Best Regards,
Alex.
summary: |
- Ignore `console-access-protocol: spice` for s390x architecture + Ignore `console-access-protocol: spice` for s390x architecture. Causes + libvirt.libvirtError: unsupported configuration: domain configuration + does not support video model 'qxl' |
Hi Alex,
In the latest charm for nova-compute there is an additional config option to include cpu_models=
https:/ /git.launchpad. net/charm- nova-compute/ commit/ ?id=b57593f86dc 0627d74a9264a90 35a2c67fd69c01 /charmhub. io/nova- compute/ configuration? channel= latest/ edge#cpu- models
https:/
list of upstream supported cpu architectures cpu_map /github. com/libvirt/ libvirt/ blob/master/ src/cpu_ map/index. xml
https:/
You could try including just the ones you want to use.
Cheers,
Heather Lemon