Description of problem: [RFE] A vfio-pci port needs to be rebind to eliminate "/dev/vfio/X Permission denied" error
If a vfio-pci port gets bind before OVS gets installed, the daemon will report "Cannot open /dev/vfio/X: Permission denied" ERR when OVS is started.
This RFE bug request for rebinding of such an used port to eliminate such en error.
Version-Release number of selected component (if applicable):
[root@netqe22 openvswitch]# rpm -q openvswitch
[root@netqe22 openvswitch]# uname -a
Linux netqe22.knqe.lab.eng.bos.redhat.com 3.10.0-862.el7.bz1558328.x86_64 #1 SMP Thu Mar 22 11:10:59 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
How reproducible: Reproducible
Steps to Reproduce:
1. Bind a vfio-pci port before OVS installation; Should see
crw-------. 1 root root 239, 0 Apr 15 14:44 18
2. Install OVS
3. start OVS; Should see the Permission denied error.
There isn't a good way to solve this. The issue is that the udev rules come with openvswitch to setup vfio devices accordingly. Without openvswitch package, there's nothing sane we can do. Closing as WONTFIX - if you figure out a better way of realizing this feature, feel free to reopen.