[multiple] compatibility fixes for using RHEL 10 as hypervisor#3728
[multiple] compatibility fixes for using RHEL 10 as hypervisor#3728tosky wants to merge 3 commits intoopenstack-k8s-operators:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4a905521125a49d9b526a01efbab46b4 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 08m 06s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/1f84561dfc094fe8b605af31557ed0a9 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 19m 54s |
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>
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9fcaec61669146a581ff5f8c6d89fc6d ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 05s |
[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;
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