Open prisma01 opened 4 years ago
Looking at the docs (https://libvirt.org/storage.html#StorageBackendLogical) I would agree with you that the pool type should be logical, but that the format should be lvm2
(or omitted) rather than logical
.
Is this something you can push a fix for?
libvirt version on debian (buster) doe not seem to like
<pool type='{{ item.type }}'>
in the top of the pool template.`failed: [XXX] (item={'name': 'lvm_pool', 'type': 'lvm2', 'source': 'root', 'target': '/dev/root', 'pvs': ['/dev/md0']}) => changed=false ansible_loop_var: item item: name: lvm_pool pvs:
when swapping for
<pool type='logical'>
like mentioned in libvirt documentation everything is fine. Funny enough libvirt documentation says<format type='logical'/>
needs to go inside source part of the xml as well. However using lvm2 here does not result in complains/errors.