Skip to content

[multiple] compatibility fixes for using RHEL 10 as hypervisor#3728

Draft
tosky wants to merge 3 commits intoopenstack-k8s-operators:mainfrom
tosky:rhel10-hypervisor
Draft

[multiple] compatibility fixes for using RHEL 10 as hypervisor#3728
tosky wants to merge 3 commits intoopenstack-k8s-operators:mainfrom
tosky:rhel10-hypervisor

Conversation

@tosky
Copy link
Contributor

@tosky tosky commented Mar 1, 2026

[dnsmasq] /var/run is a symlink to /run (EL 9 and 10)

In RHEL 10, changing the permissions does not work for /var/run/cifmw-dnsmasq.pid. The operation fails with;

File spec /var/run/cifmw-dnsmasq.pid conflicts with equivalency rule
'/var/run /run'; Try adding '/run/cifmw-dnsmasq.pid' instead

But /var/run is a symlink to /run also on RHEL 9, so using /run alone works on both releases.


[config_drive] Use xorrisofs instead of genisoimage

On RHEL 9, the xorriso package provides genisoimage, but
it uses xorrisofs under the hood.
On RHEL 10 the provide is removed, so just explicitly
use xorrisofs from the xorriso package on both releases.


[devscript] NetworkManager-initscripts-updown is not needed

The usage of the old network scripts (ifup/ifdown) was removed
and replaced by nmcli two years ago by
openshift-metal3/dev-scripts#1631

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 1, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 1, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign yorabl for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4a905521125a49d9b526a01efbab46b4

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 08m 06s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 21m 38s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT Host unreachable in 1h 17m 18s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 53m 58s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 58s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 37s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 19s
✔️ cifmw-molecule-config_drive SUCCESS in 4m 36s
cifmw-molecule-dnsmasq FAILURE in 9m 43s
cifmw-molecule-libvirt_manager FAILURE in 10m 03s
cifmw-molecule-reproducer FAILURE in 7m 59s

@tosky tosky force-pushed the rhel10-hypervisor branch from d1dfdb0 to a36c533 Compare March 2, 2026 10:24
@tosky tosky changed the title [dnsmasq] /var/run is a symlink to /run (EL 9 and 10) [multiple] compatibility fixes for using RHEL 10 as hypervisor Mar 2, 2026
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/1f84561dfc094fe8b605af31557ed0a9

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 19m 54s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 22m 27s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 28m 06s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 04m 26s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 14s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 24s
✔️ cifmw-pod-pre-commit SUCCESS in 10m 08s
✔️ cifmw-molecule-config_drive SUCCESS in 4m 27s
cifmw-molecule-dnsmasq FAILURE in 4m 26s
cifmw-molecule-libvirt_manager FAILURE in 9m 40s
cifmw-molecule-reproducer FAILURE in 8m 32s

tosky added 3 commits March 2, 2026 16:09
In RHEL 10, changing the permissions does not work for
/var/run/cifmw-dnsmasq.pid. The operation fails with;

> File spec /var/run/cifmw-dnsmasq.pid conflicts with equivalency rule
  '/var/run /run'; Try adding '/run/cifmw-dnsmasq.pid' instead

But /var/run is a symlink to /run also on RHEL 9, so using /run
alone works on both releases.

Signed-off-by: Luigi Toscano <ltoscano@redhat.com>
On RHEL 9, the xorriso package provides genisoimage, but
it uses xorrisofs under the hood.
On RHEL 10 the provide is removed, so just explicitly
use xorrisofs from the xorriso package on both releases.

Signed-off-by: Luigi Toscano <ltoscano@redhat.com>
The usage of the old network scripts (ifup/ifdown) was removed
and replaced by nmcli two years ago by
openshift-metal3/dev-scripts#1631

Signed-off-by: Luigi Toscano <ltoscano@redhat.com>
@tosky tosky force-pushed the rhel10-hypervisor branch from a36c533 to b5eac7f Compare March 2, 2026 15:10
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9fcaec61669146a581ff5f8c6d89fc6d

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 05s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 22s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 21m 00s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 58m 25s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 45s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 48s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 02s
✔️ cifmw-molecule-config_drive SUCCESS in 4m 30s
✔️ cifmw-molecule-devscripts SUCCESS in 10m 39s
cifmw-molecule-dnsmasq FAILURE in 4m 27s
cifmw-molecule-libvirt_manager FAILURE in 9m 17s
cifmw-molecule-reproducer FAILURE in 8m 14s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant