Bug 2052057

Summary: Missing package dependency
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: rhosp-openvswitchAssignee: Jon Schlueter <jschluet>
Status: CLOSED ERRATA QA Contact: OSP Team <rhos-maint>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.0 (Wallaby)CC: hjensas, jschluet, mburns
Target Milestone: AlphaKeywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhosp-openvswitch-2.15-6.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:18:59 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:

Description Cédric Jeanneret 2022-02-08 15:37:29 UTC
Hello,

We're missing the equivalent of https://review.rdoproject.org/r/c/deps/rdo-openvswitch/+/35935 in order to get network-scripts-openvswitch installed on the nodes (Undercloud/Director - and probably the OC images).

Not having this leads to an early deploy failure, because the network can't bet set.

Note this is for el9 based deploy - not sure about el8 things, but since it seems to work for other people, I guess it's only el9 version. Proper check would be needed in order to be 100% sure.

Cheers,

C.

Comment 1 Jon Schlueter 2022-02-08 15:55:10 UTC
Already in build for RDO wallaby

https://cbs.centos.org/koji/buildinfo?buildID=35324

Comment 3 Jon Schlueter 2022-02-08 16:01:32 UTC
rhosp-openvswitch-2.15-5.el9ost appears to have the mentioned change included.

Comment 4 Jon Schlueter 2022-02-08 16:11:58 UTC
the referenced patch adds the following requires

Requires:       network-scripts-openvswitch%{ovs_version}

Comment 5 Cédric Jeanneret 2022-02-08 16:27:02 UTC
So the issue appears with:

- el9 VM (rhel-guest-image-9.0-20220206.3.x86_64.qcow2)
- `rhos-release 17.0' in order to get the repositories
- `dnf install rhosp-openvswitch'

This should install rhosp-network-scripts-openvswitch (which then installs network-scripts-openvswitch), but it's not the case.

A closer look shows:

[RedHat-9.0 - stack@undercloud ~]$ dnf download rhosp-openvswitch
Last metadata expiration check: 0:01:21 ago on Tue 08 Feb 2022 04:23:44 PM UTC.
rhosp-openvswitch-2.15-5.el9ost.noarch.rpm

[RedHat-9.0 - stack@undercloud ~]$ rpm -q rhosp-openvswitch-2.15-5.el9ost.noarch.rpm --requires
openvswitch2.15
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1

Here, we see it doesn't depend on the rhosp-network-scripts-openvswitch.

In order to complete the chain:
[RedHat-9.0 - stack@undercloud ~]$ dnf download rhosp-network-scripts-openvswitch
Last metadata expiration check: 0:02:09 ago on Tue 08 Feb 2022 04:23:44 PM UTC.
rhosp-network-scripts-openvswitch-2.15-5.el9ost.noarch.rpm

[RedHat-9.0 - stack@undercloud ~]$ rpm -q rhosp-network-scripts-openvswitch-2.15-5.el9ost.noarch.rpm --requires
network-scripts-openvswitch2.15
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Notes:
- env is fresh, as in "launched in the past 10 minutes"

Comment 6 Jon Schlueter 2022-02-08 17:33:04 UTC
fixed up the guard and match what we are doing for rhel 8 and Require rhosp-network-scripts-openvswitch<ovs_version>

Comment 12 errata-xmlrpc 2022-09-21 12:18:59 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543