On January 20, 2021 7:13:45 PM Shantur Rathore <rathore4u@gmail.com> wrote:
Hi,I am trying to setup a single host Self-Hosted hyperconverged setup with GlusterFS.I have a custom partitioning where I provide 100G for oVirt and its partitions and rest 800G to a physical partition (/dev/sda4).When I try to create gluster deployment with the wizard, it failsTASK [gluster.infra/roles/backend_setup : Create volume groups] ****************
failed: [ovirt-macpro-16.lab.ced.bskyb.com] (item={'key': 'gluster_vg_sda4', 'value': [{'vgname': 'gluster_vg_sda4', 'pvname': '/dev/sda4'}]}) => {"ansible_loop_var": "item", "changed": false, "err": " Device /dev/sda4 excluded by a filter.\n", "item": {"key": "gluster_vg_sda4", "value": [{"pvname": "/dev/sda4", "vgname": "gluster_vg_sda4"}]}, "msg": "Creating physical volume '/dev/sda4' failed", "rc": 5}I checked and /etc/lvm/lvm.conf filter doesn't allow /dev/sda4. It only allows PV for onn VG.Once I manually allow /dev/sda4 to lvm filter, it works fine and gluster deployment completes.Fdisk :# fdisk -l /dev/sda
Disk /dev/sda: 931.9 GiB, 1000555581440 bytes, 1954210120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: FE209000-85B5-489A-8A86-4CF0C91B2E7D
Device Start End Sectors Size Type
/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 3327999 2097152 1G Linux filesystem
/dev/sda3 3328000 213043199 209715200 100G Linux LVM
/dev/sda4 213043200 1954209791 1741166592 830.3G Linux filesystemLVS# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home onn Vwi-aotz-- 10.00g pool0 0.11
ovirt-node-ng-4.4.4-0.20201221.0 onn Vwi---tz-k 10.00g pool0 root
ovirt-node-ng-4.4.4-0.20201221.0+1 onn Vwi-aotz-- 10.00g pool0 ovirt-node-ng-4.4.4-0.20201221.0 25.26
pool0 onn twi-aotz-- 95.89g 2.95 14.39
root onn Vri---tz-k 10.00g pool0
swap onn -wi-ao---- 4.00g
tmp onn Vwi-aotz-- 10.00g pool0 0.12
var onn Vwi-aotz-- 20.00g pool0 0.92
var_crash onn Vwi-aotz-- 10.00g pool0 0.11
var_log onn Vwi-aotz-- 10.00g pool0 0.13
var_log_audit onn Vwi-aotz-- 4.00g pool0 0.27# grep filter /etc/lvm/lvm.conf
filter = ["a|^/dev/disk/by-id/lvm-pv-uuid-QrvErF-eaS9-PxbI-wCBV-3OxJ-V600-NG7raZ$|", "r|.*|"]Am I doing something which oVirt isn't expecting?Is there anyway to provide tell gluster deployment to add it to lvm config.Thanks,Shantur_______________________________________________Users mailing list -- users@ovirt.orgTo unsubscribe send an email to users-leave@ovirt.orgPrivacy Statement: https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/