lvg module issue in 1.6.6?

61 views
Skip to first unread message

Phil Siegrist

unread,
Jul 28, 2014, 3:49:01 PM7/28/14
to ansible...@googlegroups.com
After upgrading from 1.4 to 1.6 i'm having an issue creating a vg with multiple disks. It seems to be stripping the comma.  Anyone else?

- name: create hdfs vol group

   lvg: vg=hdfs_vg pvs=/dev/sdj,/dev/sdi vg_options="-p 100"  # vg_options seems to be required now

Result:

TASK: [create hdfs vol group] ************************************************* 

failed: [voltest-01.mxstg] => {"err": "  Device /dev/sdj /dev/sdi not found (or ignored by filtering).\n  Unable to add physical volume '/dev/sdj /dev/sdi' to volume group 'hdfs_vg'.\n", "failed": true, "rc": 5}

msg: Creating volume group 'hdfs_vg' failed



Michael DeHaan

unread,
Jul 28, 2014, 5:05:37 PM7/28/14
to ansible...@googlegroups.com
If seeing this in the latest 1.6 (i.e. 1.6.10), then please file a bug, this should be fixable in the module by using a "type='list'" in the "argument_spec", but I could be barking up the wrong tree.

Ideally if you can, check on the devel branch.  We're aiming at releasing a 1.7 in a couple of weeks and it contains some additional improvements.

Thanks!






--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/79d63c99-8205-4f55-a37a-0db1c899519b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages