Bug 1516263

Summary: rhsone colonizer must take care of setting gluster bricks with selinux labels
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nag Pavan Chilakam <nchilaka>
Component: gluster-colonizerAssignee: Dustin Black <dblack>
Status: CLOSED ERRATA QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: japplewh, rcyriac, rhs-bugs, rreddy, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.3.1 Async   
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: 2018-03-12 12:04:55 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: 1542835    
Attachments:
Description Flags
bricks_now_have_selinux_labels none

Description Nag Pavan Chilakam 2017-11-22 11:36:30 UTC
Description of problem:
=====================
when we deploy gluster using rhsone-colonizer , we currently are not setting the right selinux labels. 
we need to do that as part of rhsone-colonizer


Version-Release number of selected component (if applicable):
====

How reproducible:


Steps to Reproduce:
1.after deploying gluster setup using colonizer check the bricks using ls -ldZ 

Actual results:
=========
no selinux labels are set on the bricks

Expected results:
=============
set the right selinux labels for bricks

Comment 2 Dustin Black 2017-12-11 18:57:45 UTC
Commit upstream to add Ansible plays to set selinux context of brick directories.

https://github.com/red-hat-storage/gone/commit/2abc8cc8bb97b191a8226e3cd5d5867124663291

Comment 3 Nag Pavan Chilakam 2018-02-13 11:08:07 UTC
tested on colonizer-1.0.1-2, selinux labels are now being set by colonizer installer.
Attached is the screenshot .
hence moving to verified

Comment 4 Nag Pavan Chilakam 2018-02-13 11:08:48 UTC
Created attachment 1395271 [details]
bricks_now_have_selinux_labels

Comment 8 errata-xmlrpc 2018-03-12 12:04:55 UTC
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/RHEA-2018:0477