Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't create storage pool on debian buster #28

Open
prisma01 opened this issue Feb 17, 2020 · 2 comments
Open

can't create storage pool on debian buster #28

prisma01 opened this issue Feb 17, 2020 · 2 comments

Comments

@prisma01
Copy link
Contributor

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: - /dev/md0 source: root target: /dev/root type: lvm2 msg: 'unsupported configuration: unknown storage pool type lvm2'

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.

@markgoddard
Copy link
Member

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?

@prisma01
Copy link
Contributor Author

#30 works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants