lvm on hypervisors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
Guest LVM disks attached to the host via iSCSI are seen by the host. This can cause Ansible fact gathering to hang, presumably because multiple mount volumes exist with the same names or too many potential boot sources are found. This also causes apt/dpkg issues when updating grub related packages.
Initially I thought the best way to handle this would be to simply remove lvm2 packages from the hypervisors. However after removing lvm2 from the list of host packages installed by OSA I found that it is still being installed as a dependancy for something else. Probably one of the guestfs packages.
Adding:
filter = [ "r/.*/" ]
to lvm.conf disables lvm on all disks. But it seems that lvm configuration has been removed from base host playbooks and is only modified in cinder playbooks. I think support for modifying this setting should be included in the nova plays.
Hi Filippo, do you mean the ability to edit the filters for your lvm.conf? /github. com/openstack/ openstack- ansible- os_cinder/ blob/master/ templates/ lvm.conf. j2#L31
https:/
We should ignore any that are already used_lvm_devices based on that, but we could allow an override i imagine? Is that what you would be looking for.