RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1567649 - [RFE] A vfio-pci port needs to be rebind to eliminate "/dev/vfio/X Permission denied" error
Summary: [RFE] A vfio-pci port needs to be rebind to eliminate "/dev/vfio/X Permission...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch
Version: 7.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Aaron Conole
QA Contact: Jean-Tsung Hsiao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-15 18:49 UTC by Jean-Tsung Hsiao
Modified: 2018-09-11 14:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-11 14:40:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jean-Tsung Hsiao 2018-04-15 18:49:45 UTC
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
openvswitch-2.9.0-15.el7fdp.x86_64
[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
ll /dev/vfio
total 0
crw-------. 1 root root 239,   0 Apr 15 14:44 18
 
2. Install OVS
3. start OVS; Should see the Permission denied error.

Actual results:


Expected results:


Additional info:

Comment 5 Aaron Conole 2018-09-11 14:40:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.