openvswitch / ovs-issues

Issue tracker repo for Open vSwitch
10 stars 3 forks source link

OVS is not able to install on RHEL 8.4 following the guidance #270

Open wenyingd opened 1 year ago

wenyingd commented 1 year ago

When reading the OVS installation guidance on how to install RHEL 8.4, it mentions that

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

However, openvswitch rpm package is not found in the repos by default.

To install the package successfully, these two prerequisites are required, but they are not mentioned in the documentation:

  1. –-auto-attach as a parameter is needed when subscribing the system to get the default repos for RHEL 8.4.
  2. Some further repos are need to be enabled:
  • sudo subscription-manager repos --enable=openstack-16-for-rhel-8-x86_64-rpms
  • sudo subscription-manager repos --enable=fast-datapath-for-rhel-8-x86_64-rpms

Then we can run rpm install command:

yum install openvswitch -y

igsilya commented 1 year ago

Hi. Thanks for the report. The documentation on that topic is fairly outdated. The procedure was somewhat discussed some time ago in https://github.com/openvswitch/ovs-issues/issues/263 . I have a patch to fix some of that here: https://patchwork.ozlabs.org/project/openvswitch/patch/20220901140235.3919948-1-i.maximets@ovn.org/ But it needs some extra work at the moment. Maybe I need to split it in two parts. One for the docs and one for the spec file...