Hi List,
I’m trying to create an lvg using the lvg ansible module like so:
- name: Maak een vg-tc
lvg: vg=vg.osddata.raven pvs=/dev/xvdb,/dev/xvdc state=present
But I’m getting this error back:
failed: [10.220.225.96] => {"err": " Device /dev/xvdb /dev/xvdc not found (or ignored by filtering).\n Unable to add physical volume '/dev/xvdb /dev/xvdc' to volume group 'vg.osddata.raven'.\n", "failed": true, "rc": 5}
It seems like it’s looking for a device called ‘/dev/xvdb /dev/xvdc’ instead of two separate devices.
I used the example from:
http://docs.ansible.com/lvg_module.html
Am I calling it wrong or is this a bug?
Thanks,
Mark
Tried it with this:
- name: Maak een vg-tc
lvg:
vg: vg.osddata.raven
pvs: /dev/xvdb,/dev/xvdc
state: present
But still no go:
failed: [10.220.226.90] => {"err": " Device /dev/xvdb /dev/xvdc not found (or ignored by filtering).\n Unable to add physical volume '/dev/xvdb /dev/xvdc' to volume group 'vg.osddata.raven'.\n", "failed": true, "rc": 5}
msg: Creating volume group 'vg.osddata.raven' failed
Thanks for looking btw!
On Tuesday, January 20, 2015 at 1:36:26 PM UTC+1, Brian Coca wrote:
there is current bug in = option parser, try this:
1
I’ve got a bit more verbosity:
<10.220.226.90> REMOTE_MODULE lvg vg=vg.osddata.raven state=present pvs=/dev/xvdb,/dev/xvdc
looks like the module is getting the correct data?