Bug 1680608 - SELinux labels are missing on the gluster bricks created using gluster-ansible-roles
Summary: SELinux labels are missing on the gluster bricks created using gluster-ansibl...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhgs-3.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Sachidananda Urs
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 12:09 UTC by SATHEESARAN
Modified: 2019-02-26 12:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1680609 (view as bug list)
Environment:
Last Closed: 2019-02-26 12:48:18 UTC
Embargoed:


Attachments (Terms of Use)
inventory_file (5.81 KB, application/octet-stream)
2019-02-25 12:12 UTC, SATHEESARAN
no flags Details

Description SATHEESARAN 2019-02-25 12:09:25 UTC
Description of problem:
-----------------------
Gluster bricks ( XFS ) created using gluster ansible roles are missing the selinux labels.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gluster-ansible-role-1.0.4-3

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create bricks using gluster ansible roles

Actual results:
---------------
SELinux labels are missing on the gluster bricks

Expected results:
-----------------
SELinux labels should be available on the gluster bricks

Additional info:
----------------
This bug was already showed up earlier and fixed with gluster-ansible-roles-1.0.3.( https://bugzilla.redhat.com/show_bug.cgi?id=1638940 ) Marking this bug as 'Regression' for that reason

Comment 1 SATHEESARAN 2019-02-25 12:12:21 UTC
Created attachment 1538420 [details]
inventory_file

Comment 2 SATHEESARAN 2019-02-26 12:48:18 UTC
gluster-ansible roles already provides the param 'gluster_set_selinux_labels: true' which is missed in the construction of the playbook.
When this param is used, selinux labels are added to the brick paths


Note You need to log in before you can comment on or make changes to this bug.