Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to provision on RHEL 9 due to SPICE support being dropped. #1

Open
paisley opened this issue Apr 4, 2024 · 1 comment
Open

Comments

@paisley
Copy link

paisley commented Apr 4, 2024

I'm unable to provision a cluster on Libvirt/QEMU due to SPICE graphics support being dropped from RHEL9 and there being no way to override/change the default graphics. This is due to using the MonolithProjects/vm/libvirt provider which sets the graphics to use SPICE by default, as can be seen here.

Steps to reproduce

terraform init
terraform plan
terraform apply -auto-approve

Expected Result

Resources are provisioned and hostnames/IPs are printed to terminal.

Actual Result

│ Error: error defining libvirt domain: unsupported configuration: spice graphics are not supported with this QEMU
│ 
│   with module.controlplane.libvirt_domain.virt-machine[0],
│   on .terraform/modules/controlplane/main.tf line 11, in resource "libvirt_domain" "virt-machine":
│   11: resource "libvirt_domain" "virt-machine" {
│ 
╵

System Information

cat /etc/*elease
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"
Rocky Linux release 9.3 (Blue Onyx)
Rocky Linux release 9.3 (Blue Onyx)
Rocky Linux release 9.3 (Blue Onyx)
@paisley
Copy link
Author

paisley commented Apr 4, 2024

I created an issue and PR to change this in the upstream repo for the MonolithProjects/vm/libvirt provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant