Also, you can edit the /etc/fstab entries by adding in the mount options:
On Sat, Oct 2, 2021 at 11:02, Strahil Nikolov<hunter86_bg@yahoo.com> wrote:Most probably it's in a variable.just run the following:semanage fcontext -a -t "system_u:object_r:glusterd_brick_t:s0" "/gluster_bricks(/.*)?"restorecon -RFvv /gluster_bricks/Best Regards,Strahil Nikolov
On Sat, Oct 2, 2021 at 3:08, Woo Hsutung<woohsutung@gmail.com> wrote:Strahil,Thanks for your response!Below is ansible script I can edit at last step:-----------------------------------------------------------------------------hc_nodes:hosts:node00:gluster_infra_volume_groups:- vgname: gluster_vg_sddpvname: /dev/sddgluster_infra_mount_devices:- path: /gluster_bricks/enginelvname: gluster_lv_enginevgname: gluster_vg_sdd- path: /gluster_bricks/datalvname: gluster_lv_datavgname: gluster_vg_sdd- path: /gluster_bricks/vmstorelvname: gluster_lv_vmstorevgname: gluster_vg_sddblacklist_mpath_devices:- sddgluster_infra_thick_lvs:- vgname: gluster_vg_sddlvname: gluster_lv_enginesize: 100Ggluster_infra_thinpools:- vgname: gluster_vg_sddthinpoolname: gluster_thinpool_gluster_vg_sddpoolmetadatasize: 2Ggluster_infra_lv_logicalvols:- vgname: gluster_vg_sddthinpool: gluster_thinpool_gluster_vg_sddlvname: gluster_lv_datalvsize: 400G- vgname: gluster_vg_sddthinpool: gluster_thinpool_gluster_vg_sddlvname: gluster_lv_vmstorelvsize: 400Gvars:gluster_infra_disktype: JBODgluster_set_selinux_labels: truegluster_infra_fw_ports:- 2049/tcp- 54321/tcp- 5900/tcp- 5900-6923/tcp- 5666/tcp- 16514/tcpgluster_infra_fw_permanent: truegluster_infra_fw_state: enabledgluster_infra_fw_zone: publicgluster_infra_fw_services:- glusterfsgluster_features_force_varlogsizecheck: falsecluster_nodes:- node00gluster_features_hci_cluster: '{{ cluster_nodes }}'gluster_features_hci_volumes:- volname: enginebrick: /gluster_bricks/engine/enginearbiter: 0- volname: databrick: /gluster_bricks/data/dataarbiter: 0- volname: vmstorebrick: /gluster_bricks/vmstore/vmstorearbiter: 0gluster_features_hci_volume_options:storage.owner-uid: '36'storage.owner-gid: '36'features.shard: 'on'performance.low-prio-threads: '32'performance.strict-o-direct: 'on'network.remote-dio: 'off'network.ping-timeout: '30'user.cifs: 'off'nfs.disable: 'on'performance.quick-read: 'off'performance.read-ahead: 'off'performance.io-cache: 'off'cluster.eager-lock: enable-----------------------------------------------------------------------------There is no words “glusterd_brick_t”:(At last, I change the value of “gluster_set_selinux_labels” from “ true” to false, the deployment is successfully completed.But I don’t know whether this change will impact the system…., could you give some suggestions?BR,Hsutung在 2021年10月1日,下午10:58,Strahil Nikolov <hunter86_bg@yahoo.com> 写道:In cockpit installer last step allows you to edit the ansible before running it.Just search for glusterd_brick_t and replace it.Best Regards,Strahil Nikolov
On Fri, Oct 1, 2021 at 17:48, Woo Hsutung<woohsutung@gmail.com> wrote:_______________________________________________Same issue happens when I deploy on single node.And I can’t find where I can edit text to replace glusterd_brick_t with system_u:object_r:glusterd_brick_t:s0Any suggestion?Best RegardsHsutung
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: