Bug 1433714
| Summary: | Galera fails to start on controller during split stack deployment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gurenko Alex <agurenko> | ||||
| Component: | openstack-selinux | Assignee: | Ryan Hallisey <rhallise> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Udi Shkalim <ushkalim> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 11.0 (Ocata) | CC: | dmacpher, jslagle, lhh, mgrepl, srevivo | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 11.0 (Ocata) | ||||||
| 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: | 2017-03-23 11:30:47 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: | 1337784, 1432353 | ||||||
| Attachments: |
|
||||||
|
Description
Gurenko Alex
2017-03-19 12:47:31 UTC
I'm not sure why there are AVCs from cluster_tmp_t when the boolean daemons_enable_cluster_mode is turned on by openstack-selinux. Maybe it's not on?
`getsebool daemons_enable_cluster_mode`
type=AVC msg=audit(1489672619.764:107): avc: denied { getattr } for pid=10148 comm="ovs-ctl" path="/usr/bin/hostname" dev="vda1" ino=8522292 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file
There's also the AVC from openvswitch, but I don't if that's breaking anything here.
(In reply to Ryan Hallisey from comment #1) > I'm not sure why there are AVCs from cluster_tmp_t when the boolean > daemons_enable_cluster_mode is turned on by openstack-selinux. Maybe it's > not on? > `getsebool daemons_enable_cluster_mode` > > type=AVC msg=audit(1489672619.764:107): avc: denied { getattr } for > pid=10148 comm="ovs-ctl" path="/usr/bin/hostname" dev="vda1" ino=8522292 > scontext=system_u:system_r:openvswitch_t:s0 > tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file > > There's also the AVC from openvswitch, but I don't if that's breaking > anything here. There is a separate bug for the openvswitch avc, but I guess I have not reached the point where it can be a problem. I will check the boolean. Confirming this issue. I hit the same error and the "setenforce 0" corrects it. Definitely seems to be an SELinux issue. this was actually caused by: https://bugzilla.redhat.com/show_bug.cgi?id=1434996 |