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
This is not the regression. The issue is caused due to the omission particular param in the ansible-playbook. 'gluster_set_selinux_labels: true' which helps the brick paths to have the proper selinux labels
The dependent bug is already ON_QA
Tested with cockpit-ovirt-dashboard-0.12.4 The gluster bricks are created with proper selinux labels now. [root@ ~]# ls -ldZ /gluster_bricks/engine/ drwxr-xr-x. root root system_u:object_r:glusterd_brick_t:s0 /gluster_bricks/engine/
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-2019:1121