Bug 1894144

Summary: CI runs of baremetal IPI are failing due to newer libvirt libraries
Product: OpenShift Container Platform Reporter: Stephen Benjamin <stbenjam>
Component: InstallerAssignee: Stephen Benjamin <stbenjam>
Installer sub component: OpenShift on Bare Metal IPI QA Contact: Raviv Bar-Tal <rbartal>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: kiran, rbartal
Version: 4.7Keywords: OtherQA, Triaged, UpcomingSprint
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:31:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1894310    

Description Stephen Benjamin 2020-11-03 16:18:58 UTC
CI repos now contain libvirt-libs 6.0.0-28.module+el8.3.0+7827+5e65edd7. When running an installer built that's linked against 6.0 on an older RHEL host, the installer fails to run:

.sh:53): create_cluster(): ocp/ostest/openshift-baremetal-install --dir
ocp/ostest --log-level=debug create manifests
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
```LIBVIRT_5.2.0' not found (required by
ocp/ostest/openshift-baremetal-install)
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
`LIBVIRT_5.10.0' not found (required by
ocp/ostest/openshift-baremetal-install)
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
`LIBVIRT_4.10.0' not found (required by
ocp/ostest/openshift-baremetal-install)
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
`LIBVIRT_5.8.0' not found (required by
ocp/ostest/openshift-baremetal-install)
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
`LIBVIRT_5.7.0' not found (required by
ocp/ostest/openshift-baremetal-install)
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
`LIBVIRT_5.6.0' not found (required by
ocp/ostest/openshift-baremetal-install)
ocp/ostest/openshift-baremetal-install: /lib64/libvirt.so.0: version
`LIBVIRT_5.5.0' not found (required by
ocp/ostest/openshift-baremetal-install)

It's notable that brew is still building against libvirt-libs 4.5, and nightlies remain green. However, CI runs of e2e-metal-ipi are being built with the newer libaries. Theoretically, RHEL is not supposed to do this, as the X.Y of core software should remain to ensure a stable ABI, but I guess as libvirt is now distributed as part of AppStream there are looser requirements.

Ideally we would find a different way to work with libvirt, instead of using the C bindings to avoid problems like this, but in the short term we should build with the oldest X.Y of libvirt libs supported by RHEL 8.

Comment 2 Raviv Bar-Tal 2020-11-04 09:37:05 UTC
Hey Stephen 
I'm closeing this as other-qa
Raviv

Comment 5 errata-xmlrpc 2021-02-24 15:31:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633