Bug 1130212
| Summary: | [CISCO RHEL-OSP] Glance image upload after integrating ceph failing because of selinux | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | satya routray <satroutr> | ||||||
| Component: | openstack-selinux | Assignee: | Ryan Hallisey <rhallise> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.0 (RHEL 7) | CC: | ajeain, bhouser, dwalsh, eglynn, fpercoco, fty, lhh, mgrepl, sclewis, scohen, sgordon, yeylon, yihleong.sun | ||||||
| Target Milestone: | z1 | Keywords: | ZStream | ||||||
| Target Release: | 5.0 (RHEL 7) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-selinux-0.5.15-2.el7ost | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-09-30 18:02:39 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: | 1154145, 1154159, 1154162 | ||||||||
| Attachments: |
|
||||||||
|
Description
satya routray
2014-08-14 14:35:28 UTC
the ceph cluster we are using is inktank ceph cluster root@cvf13-server-247:~ # ceph -v ceph version 0.80.4-1-g67b5193 (67b5193f73a2c9ec9e503ad3431473998217375d) Created attachment 926858 [details]
/var/log/messages from the server
Created attachment 926859 [details]
/var/log/audit/ from the server
@Daniel Do you know OTOH what rule might be missing? $ audit2allow -i *
#============= glance_api_t ==============
#!!!! This avc can be allowed using the boolean 'glance_use_execmem'
allow glance_api_t self:process { execstack execmem };
dwalsh@redsox$
Moving to openstack-selinux since this needs to be enabled there. Looks like maybe fix has been identified. Is this something we can apply manually as opposed to turning selinux off wholesale? That boolean isn't available yet, so I'm adding the execmem/execstack allow rule for now. [root@localhost tests]# getsebool -a | grep glance glance_use_fusefs --> on [root@localhost tests]# rpm -q selinux-policy selinux-policy-3.12.1-153.el7_0.10.noarch verified, the boolean has changed. 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/RHBA-2014-1325.html |