Bug 1830497
Summary: | SR-IOV operator is in openshift.io/run-level 1 and bypassing SCC | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mark McLoughlin <markmc> |
Component: | Networking | Assignee: | Peng Liu <pliu> |
Networking sub component: | SR-IOV | QA Contact: | zhaozhanqi <zzhao> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | bbennett |
Version: | 4.5 | ||
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:34:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1805488, 1966621 |
Description
Mark McLoughlin
2020-05-02 08:47:18 UTC
The SR-IOV operator is in charge of configuring the SR-IOV network devices of the host. So hostNetwork and privileged is a must-have for these tasks. However, I think the privileged SCC should be sufficient. Verified this bug on 4.5.0-202005111717 1. create namespace openshift-sriov-network-operator 2. cat >og.yaml <<EOF apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: sriov-network-operators namespace: openshift-sriov-network-operator spec: targetNamespaces: - openshift-sriov-network-operator EOF | oc create -f - 3. setup the sriov operator with above version 4. Create sriovnetworknodepolicy 5. Create sriovnetwork 6. Create test pod works well. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |