I am tyring to install openvswitch 2.17.2 on RHEL 8.

I tried using yum to install but running `yum install openvswitch` or `yum
install openvswitch-dpdk` do not work, nothing is found. Your site reads
this:

"RHEL distributes openvswitch rpm package that supports kernel datapath.
DPDK accelerated Open vSwitch can be installed using openvswitch-dpdk
 package."

This does not seem to be the case or is not as straight forward as the
instructions imply. As the packages are not found.
I then tried to compile an RPM and do a local install.
I downloaded the 2.17.2 tarball from here:
https://www.openvswitch.org/download/

Then I installed all the required packages. There was one particular that
did not install clean. "python-six", after doing some research it seems
there is no "python-six" package only "python2-six" and "python3-six". I
installed both and adjusted the .spec anywhere "python-six" was mentioned
to "python3-six". Note I also tried using "python2-six".

I then built the rpm with `rpm -bb --nochecks
/root/rpmbuild/SOURCES/openvswitch-2.17.2/rhel/openvswitch.spec`
This created the rpm. Then I tried installing with `yum localinstall
openvswitch-2.17.2-1.el8.x86_64.rpm`

But no matter what I try I keep getting these errors:

```
Updating Subscription Management repositories.
Last metadata expiration check: 1:17:59 ago on Wed 31 Aug 2022 11:37:19 AM
EDT.
Error:
 Problem: conflicting requests
  - nothing provides python >= 2.7 needed by openvswitch-2.17.2-1.el8.x86_64
  - nothing provides /bin/python3 needed by openvswitch-2.17.2-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to
use not only best candidate packages)
root@emd1:~/rpmbuild/RPMS/x86_64#
```

I already confirmed that python2 is installed, there is even a symbolic
link for "python" -> /bin/python2.7. Also /bin/python3 is installed and the
path is valid.
Why am I getting these errors? How can I fix this or work around it? Can I
just install with --skip-broken or --nobest?
Is there a better way to install?

-Dave
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to