Hi Dave, From my knowledge - RHEL has an FDP (Fast Data Path) repository, where those packages reside. Here are the src rpms: https://ftp.redhat.com/pub/redhat/linux/enterprise/8Base/en/Fast-Datapath/SRPMS/ <https://ftp.redhat.com/pub/redhat/linux/enterprise/8Base/en/Fast-Datapath/SRPMS/>
Best regards, Michal > On 31 Aug 2022, at 20:56, Dave Houser <davehous...@gmail.com> wrote: > > I got it to work. I did the following: > > - I adjusted the following in ./rhel/openvswithc.spec > Changed this: > `Requires: logrotate, hostname, python-six` > To this: > `Requires: logrotate, hostname, python2 >= 2.7, python2-six` > > - That error message from `yum localinstall` is not accurate. When performing > an install with `rpm -Uvh ./openvswitch-2.17.2-1.el8.x86_64.rpm` I see the > following > ``` > error: Failed dependencies: > python3 < 3.6.6-13 conflicts with (installed) > platform-python-3.6.8-45.el8.x86_64 > python3 < 3.6.6-9 conflicts with (installed) > platform-python-devel-3.6.8-45.el8.x86_64 > ``` > So I just installed with RPM instead > > `rpm -Uvh --force --nodeps ./openvswitch-2.17.2-1.el8.x86_64.rpm` > > This did the trick, and it installed. > > > On Wed, Aug 31, 2022 at 12:57 PM Dave Houser <davehous...@gmail.com > <mailto:davehous...@gmail.com>> wrote: > 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/ <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
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss