Commit Graph

13 Commits

Author SHA1 Message Date
Alfredo Moralejo b778eaa960 Use release CentOS SIGS repo to install openvswitch in C9S
After moving to C9S we started using testing repository for ovs and we
never switched to release one after NFV SIG started releasing packages
to the official mirrors.

Change-Id: I0f199c9fafe9d5ac3a47b9e55a2d33c4d6735604
2023-05-22 10:06:03 +02:00
Alfredo Moralejo 78f1dfaf8a Use RDO wallaby repo to install openvswitch in CS9
We should use the oldest release where we run centos stream 9 jobs which
is wallaby. We set up xena in the past as we backported cs9 jobs to xena
first but now we should switch to wallaby or we may hit issues in
wallaby jobs when the ovs version in xena is higher that in wallaby (as
now).

Change-Id: I18dab9701e96b25396b45df221f54fe94c1ab36b
2022-08-04 16:36:18 +02:00
Chandan Kumar (raukadah) 8399dd1842 Donot Setup RDO gpg keys and repo for RHEL and Fedora
Currently in multi-node-bridge role, For RHEL and CentOS
distro, RDO repos are setted up and from where rdo-openvswitch
get pulled in RHEL deployment and causes unwanted failures.

Like a particular version of rdo-openvswitch is not yet available
in CentOS and it fails the job with nothing provides message.

Enabling RDO repos specifically for CentOS and other distros
except RHEL and Fedora will fix the
issue.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Id68f5904c4ec3d667a16e9f4f195d53b02d29cec
2022-04-18 21:51:15 +05:30
Alfredo Moralejo 64fd772a32 Change RDO train repository for Centos 8 stream
After removing Centos 8 repositories [1], the repository has been
set to buildlogs server, which provides testing packages.
This commit is switching back repository to mirror.centos.org once we
have openvswitch in centos network and AFS mirrors.

[1] https://www.centos.org/centos-linux-eol/

Change-Id: I6e0dd26312c593a5c7fe5525a733be8e26faec9d
2022-02-01 11:39:09 +01:00
Alfredo Moralejo 62cc9b24e1 Install OVS from RDO Train Testing repository for CS8
CentOS Linux 8 repos have been removed from centos mirrors. We were
using that repo to install OVS in multi-node from train repo.

This patch is moving multi-node rolo to install ovs from the RDO testing
repo for train until we have it pushed to the official mirrors for CS8.

Change-Id: Id57e8e90903a0d468c6d3094fbbaf4840a368e2a
2022-01-31 11:11:58 +01:00
Sandeep Yadav a795073493 multi-node-bridge: repos to install ovs in C9
With this patch, Adding repos to install openvswitch
in Centos9 stream.

For Centos9 stream nodes we need to enable 2 repos:-
* nfv repo - Ussuri+ openvswitch is shipped as part of NFV SIG
* rdo xena repo - rdo-openvswitch(which provides openvswitch wrapper)
is available in OpenStack repo

Closes-Bug: #1947665
Change-Id: If5a32b30637296a070f2e75ba8feb6aa45d8ecac
2021-10-20 11:17:41 +05:30
Alfredo Moralejo 1dbba7f70e Use Train repo to install openvswitch from multi-node-bridge in CentOS 8
Currently it's using master repo for CentOS 8. RDO s updating the version of
OVS in master to 2.13 while previous releases use version 2.12 so it's a
problem to install 2.13 for jobs gating reviews for Train or Ussuri.

This review is moving to use Train repository to install openvswitch in
all CentOS 8 jobs as it's the older version supported on CentOS 8. Note
that CI jobs running with this multi-node setup configure proper repos for
the tested release (ussuri, victoria or master) at a later stage and
update the version of OpenvSwitch to the one included on each specific
release repo.

Closes-Bug: #1896469

Change-Id: Ie30997f360b285131cb5051d582da2a15cca7205
2020-09-22 11:12:30 +02:00
Alfredo Moralejo c4c6958622 Use centos8 deps repo for RHEL8 nodes
CentOS8 deps should be compatible with RHEL and provide latest versions
of deps compared to the old rhel8 one. Let's switch to use it to install
openvswitch too.

Change-Id: I04090a179706c52e3db4e9118b74f7c7d5ad9776
2020-03-18 10:29:04 +01:00
Alfredo Moralejo 75d896ab97 Use CentOS8 dependencies repo to install openvswitch
Currently, centos8 jobs are using old RHEL repo. A repo with CentOS8
packages has been created by RDO, so let's switch to it.

Change-Id: I0df0950de5a42bb7a425609c3d5d065550d956f4
2020-02-24 18:08:14 +00:00
Ian Wienand cfdf251140 Use RDO trunk repos work for openvswitch on centos8
This is a bit of a hack, but allows installation of openvswitch for
testing the multinode roles.  Official CentOS 8 RDO builds are still a
work in progress, but this will let us get a head-start on any
multi-node testing.

Change-Id: I2eb1a16e9995a19d61e309aa59b232577184b527
2019-11-25 08:27:50 +01:00
Ronelle Landy e1ebeefecb Only use RHEL8 deps repo on Red Hat systems newer than 7
cecf9e902c
broke Openstack jobs running on Red Hat 7.

This review includes the ansible_distribution_major_version
when deciding which repos to include for openvswitch.

Change-Id: I6ec32e2913843adb0778a63133296bb26a0b5e6e
2019-08-30 15:11:01 -04:00
Sagi Shnaidman cecf9e902c Don't install centos repos on RHEL
For running job on RHEL use openvswitch from RHEL8 deps repo,
because centos queens openvswitch causes conflicts with RHEL8
version.

Change-Id: Ia09227cb28ec4a4f9bdbb664b9c7caf714043e31
2019-08-07 10:36:44 +00:00
David Moreau Simard 68375810ee
Vendor the RDO repository configuration for installing OVS
Installing OVS on CentOS requires one RDO repository and the
centos-release-openstack packages sets up two additional repos which
aren't required.

In addition, we removed the centos-release-openstack package but this
did not remove the two extra repositories, causing them to "leak" into
the jobs.

This sets up the one repository we need and ensures it is removed after
OVS is installed.

Change-Id: Ida2299a4356282d23b79fac6753b6171211a7651
2018-12-12 19:18:06 -05:00