Bug 1642591
| Summary: | openvswitch fails to start on nova compute nodes due to selinux failure | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Lars Kellogg-Stedman <lars> | |
| Component: | openvswitch-selinux-extra-policy | Assignee: | Aaron Conole <aconole> | |
| Status: | CLOSED ERRATA | QA Contact: | Ofer Blaut <oblaut> | |
| Severity: | high | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 13.0 (Queens) | CC: | atelang, mariel, ragiman, rkhan, tredaelli | |
| Target Milestone: | z4 | Keywords: | Triaged, ZStream | |
| Target Release: | 13.0 (Queens) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openvswitch-selinux-extra-policy-1.0-8.el7fdp | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1647102 (view as bug list) | Environment: | ||
| Last Closed: | 2019-01-16 17:53:54 UTC | Type: | Bug | |
| 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: | 1647102 | |||
Installing the following selinux module allows openvswitch to start:
module moc-openvswitch 1.0;
require {
type container_var_run_t;
type openvswitch_t;
class dir write;
}
#============= openvswitch_t ==============
allow openvswitch_t container_var_run_t:dir write;
*** Bug 1601152 has been marked as a duplicate of this bug. *** *** Bug 1601152 has been marked as a duplicate of this bug. *** 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-2019:0088 |
Description of problem: Openvswitch fails to start on OSP 13 overcloud nodes (split-stack install) due to the following selinux AVC: avc: denied { write } for pid=351746 comm="ovsdb-server" name="openvswitch" dev="tmpfs" ino=84668 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:container_var_run_t:s0 tclass=dir This is preventing access to /var/run/openvswitch. Version-Release number of selected component (if applicable): openvswitch-selinux-extra-policy-1.0-5.el7fdp.noarch python-openvswitch-2.9.0-56.el7fdp.noarch openstack-neutron-openvswitch-12.0.3-5.el7ost.noarch openvswitch-2.9.0-56.el7fdp.x86_64