Disable lvmetad on all virthosts. It causes problems with caching stale iscsi lvm data.
This commit is contained in:
parent
06621bffff
commit
92c9611a81
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue