On Tue, Feb 1, 2022 at 5:21 PM Ayansh Rocks
<shashank123rastogi(a)gmail.com> wrote:
[root@iondelsvr14 ~]# vdsm-tool config-lvm-filter
Analyzing host...
Found these mounted logical volumes on this host:
No mounted lvm logical volumes...
This is the recommended LVM filter for this host:
filter = [ "r|.*|" ]
So this filter is correct - lvm should not access any device on this host.
This filter allows LVM to access the local devices used by the
hypervisor, but not shared storage owned by Vdsm. If you add a new
device to the volume group, you will need to edit the filter manually.
To use the recommended filter we need to add multipath
blacklist in /etc/multipath/conf.d/vdsm_blacklist.conf:
blacklist {
wwid "362cea7f0c4c75d0028def9c015471c79"
}
Is this host booting from multiapth device?
Configure host? [yes,NO]
Does it fail? how?
[root@iondelsvr14 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 446.6G 0 disk
├─sda1 8:1 0 4.7G 0 part /boot
├─sda2 8:2 0 139.7G 0 part /
├─sda3 8:3 0 46.6G 0 part /home
├─sda4 8:4 0 1K 0 part
├─sda5 8:5 0 46.6G 0 part /opt
├─sda6 8:6 0 18.6G 0 part /tmp
└─sda7 8:7 0 29.8G 0 part [SWAP]
So this host is not using lvm, this should be fine, but probably less tested.
[root@iondelsvr14 ~]# multipath -ll
It is strange that you don't have any multipath device - but
"vdsm-tool config-lvm-filter"
found the wwid 362cea7f0c4c75d0028def9c015471c79 and want to blacklist it.
[root@iondelsvr14 ~]#
On Tue, Feb 1, 2022 at 7:55 PM Nir Soffer <nsoffer(a)redhat.com> wrote:
>
> On Tue, Feb 1, 2022 at 4:17 PM Ayansh Rocks
> <shashank123rastogi(a)gmail.com> wrote:
> >
> > Hello All,
> >
> > I was adding few new hosts into the ovirt cluster but a couple of them gave this
error.
> >
> > Ovirt Release - 4.4.10
> >
> > Installing Host
iondelsvr14.iontrading.com. Check for LVM filter configuration
error: Cannot configure LVM filter on host, please run: vdsm-tool config-lvm-filter.
> >
> > However, few of them are able to configure it.
>
> Please share the output of
>
> vdsm-tool config-lvm-filter
>
> On the hosts that fail to configure the filter.
>
> Also share output of:
>
> - lsblk
> - multiapth -ll
>
> Nir
>