I used this as a workaround on the CentOS 8 Stream system doing the install:
cp /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml
/etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml.orig
head -63
/etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml.orig >
/etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml
It removes the SE Linux lines from the mount.yml file:
63a64,75
> - name: Set Gluster specific SeLinux context on the bricks
> sefcontext:
> target: "{{ (item.path | realpath | regex_escape()) + '(/.*)?' }}"
> setype: glusterd_brick_t
> state: present
> with_items: "{{ gluster_infra_mount_devices }}"
> when: gluster_set_selinux_labels| default(false)| bool == true
>
> - name: restore file(s) default SELinux security contexts
> command: restorecon -Rv "{{ item.path }}"
> with_items: "{{ gluster_infra_mount_devices }}"
> when: gluster_set_selinux_labels| default(false)| bool == true
After that, it was successful.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/SSYIEZILCWSPCPOCFIFE6PXFBN4C5FZS/