OpenVSwitch Installation problem

When I try to install and configure openvswitch on 8.3 getting the following error

ovs$ rpmbuild -bb --nocheck ~/rpmbuild/SOURCES/openvswitch-2.9.2/rhel/openvswitch_no_kmod.spec
error: Failed build dependencies:
python-six is needed by openvswitch-2.9.2-1.x86_64
python-sphinx is needed by openvswitch-2.9.2-1.x86_64

rpm -q epel-release

dnf install centos-release-openstack-train

Last metadata expiration check: 0:21:40 ago on Fri 14 May 2021 01:54:52 AM EDT.
No match for argument: centos-release-openstack-train
Error: Unable to find a match: centos-release-openstack-train

Anyone has idea on this please update me here.
Ref:- How To Install Open vSwitch on CentOS 8 | RHEL 8 - Linux Windows and android Tutorials

Anyone aware about this

ModuleNotFoundError: No module named ‘six’
Could not import extension (exception: No module named ‘pygments’)

AlmaLinux can’t support OpenVSwitch now. lack of related cloud yum repo.
please wating.

I have compiled it with source and working fine now thank you.

So you mention you have compiled it and its working… I’ve compiled it per the basic instructions and installed it, but startup scripts, locations, etc are all missing in the basic installation of 2.15.0. Looking closer, there is the ability to make the RHEL rpm from the package that has all the missing scripting to make the package usable. I can do those installs by hand however I’d rather have a package that I could install using RPM… More work on how to make that happen.

I would like to understand what you did when you say “it works fine now”.


please find the steps followed to make it working on python3.6/ 2.7

git clone /usr/local/src/ovs
cd /usr/local/src/ovs
git checkout v2.8.1
git checkout origin/branch-2.8
pip2 install six
./configure --enable-shared --prefix=/usr --localstatedir=/var --sysconfdir=/etc
make && make install

ovs-vsctl --version