Description of problem: When trying to deploy a new HyperConverged Infrastructure cluster the installer will fail at labeling gluster bricks. Version-Release number of selected component (if applicable): oVirt Node 4.4.8 How reproducible: Deploy a new ovirt HCI cluster Steps to Reproduce: 1. install ovirt node OS 2. Run hyperconverged installer through ovirt cockpit-dashboard 3. Leave default selinux configuration for gluster setup Actual results: Task failed: shell: semanage fcontext -a -t glusterd_brick_t "{{ item }}" ValueError: Type glusterd_brick_t is invalid, must be a file or device type Expected results: Installer to complete successfully. Additional info: The problem seems to be caused by a missing package on the host glusterfs-selinux The same error is produced by trying to manually label the bricks. As a workaround: For the ovirt-4.4-centos-gluster8 repo add in includepkgs the missing package glusterfs-selinux and manually install it. Re-run the installer. [ovirt-4.4-centos-gluster8] name = CentOS-$releasever - Gluster 8 mirrorlist = http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-gluster-8 gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options glusterfs-selinux
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
The problem is that glusterfs-server is missing a dependency on glusterfs-selinux. Reported to Gluster community here: https://github.com/gluster/glusterfs/issues/2780 . A new build of oVirt Node will be issued as soon as Gluster team will provide the fix. In the meanwhile, the workaround suggested in the bug description can be used.
Pushed a fix to the glusterfs specfile: https://github.com/gluster/glusterfs/pull/2781
https://lists.gluster.org/pipermail/packaging/2021-October/000975.html glusterfs-8.6-2.el8 and glusterfs-8.6-2.el8s are available in the testing repositories. This addresses a dependency issue that recently was reported in relation to oVirt and SELinux: - https://bugzilla.redhat.com/2002178 - https://github.com/gluster/glusterfs/issues/2780 Updating should now pull in the glusterfs-selinux package too, assuming glusterfs-server-8.6.1 or older is installed. # dnf --enablerepo=centos-gluster8-test update glusterfs-server Please report back if this addresses the problem, or if any other changes are required.
Thanks Niels, this works for me, waiting for it to be promoted to release