Bug 1111990
| Summary: | SELinux blocks Cinder from mounting GlusterFS volumes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yogev Rabl <yrabl> | ||||
| Component: | openstack-selinux | Assignee: | Ryan Hallisey <rhallise> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 5.0 (RHEL 7) | CC: | acathrow, eharney, gfidente, lhh, mgrepl, nlevinki, sclewis, scohen, yeylon, yrabl | ||||
| Target Milestone: | rc | Keywords: | Regression, TestBlocker | ||||
| Target Release: | 5.0 (RHEL 7) | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | openstack-selinux-0.5.7-2.el7ost | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-07-08 15:15:38 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: | |||||||
| Attachments: |
|
||||||
|
Description
Yogev Rabl
2014-06-22 14:19:30 UTC
Please provide the AVC messages from the system audit log. Actually, it's better to always attach /var/log/audit/audit.log :) Yogev, can you pull audit.log from your run in permissive mode? That should capture all of the AVCs. Created attachment 911777 [details]
audit.log
I see
#============= glance_api_t ==============
#!!!! This avc can be allowed using the boolean 'glance_use_fusefs'
allow glance_api_t fusefs_t:dir { write search getattr };
for fuse_t issues.
allow neutron_t http_port_t:tcp_socket name_connect;
needs to be added.
verifed on puddle http://download.lab.bos.redhat.com/rel-eng/OpenStack/5.0-RHEL-7/2014-07-01.2 using openstack-selinux-0.5.9-1.el7ost.noarch rpm 1) Configure gluster as backend to cinder 2) Create 2 volumes, one empty and one from image. 3) create a vm and boot it from the image in the volume 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. http://rhn.redhat.com/errata/RHEA-2014-0845.html |