Disable lvmetad on all virthosts. It causes problems with caching stale iscsi lvm data.

This commit is contained in:
Kevin Fenzi 2015-04-22 15:00:34 +00:00
parent 06621bffff
commit 92c9611a81

View file

@ -38,6 +38,12 @@
- name: enable libvirtd
service: name=libvirtd state=started enabled=yes
#
# Disable lvmetad as it causes lots of problems with iscsi shared lvm and caching.
#
- name: disable lvmetad
lineinfile: dest=/etc/lvm/lvm.conf regexp="^ use_lvmetad = 1" line=" use_lvmetad = 0" backrefs=yes
- name: set bridging to work right -
copy: src="{{ files }}/virthost/99-bridge.rules" dest=/etc/udev/rules.d/99-bridge.rules
notify: