<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi there,<div class=""><br class=""></div><div class=""> So, busy testing/installing/etc. and was pointed last night in the direction of gdeploy. I did a quick try on Ubuntu 16.04, found some module related troubles, so I retried on Centos 7 this morning.</div><div class=""><br class=""></div><div class="">Seems that the playbooks aren’t 2.3 “compatible”…</div><div class=""><br class=""></div><div class="">The brick VMs are setup using the set-vms-centos.sh & sshkeys-centos.yml playbook from <a href="https://bitbucket.org/dismyne/gluster-ansibles/src/24b62dcc858364ee3744d351993de0e8e35c2680/?at=Centos-gdeploy-tests" class="">https://bitbucket.org/dismyne/gluster-ansibles/src/24b62dcc858364ee3744d351993de0e8e35c2680/?at=Centos-gdeploy-tests</a></div><div class=""><br class=""></div><div class="">The “installation”/gdeploy VM run:</div><div class=""><br class=""></div><div class="">The relevant history output:</div><div class=""><br class=""></div><div class=""><div class=""> 18 yum install epel-release</div><div class=""> 19 yum install ansible</div><div class=""> 20 yum search gdeploy</div><div class=""> 21 yum install <a href="https://download.gluster.org/pub/gluster/gdeploy/LATEST/CentOS7/gdeploy-2.0.1-9.noarch.rpm" class="">https://download.gluster.org/pub/gluster/gdeploy/LATEST/CentOS7/gdeploy-2.0.1-9.noarch.rpm</a></div><div class=""> 22 vi t.conf</div><div class=""> 23 gdeploy -c t.conf</div><div class=""> 24 history</div><div class=""> 25 mkdir .ssh</div><div class=""> 26 cd .ssh</div><div class=""> 27 ls</div><div class=""> 28 vi id_rsa</div><div class=""> 29 chmod 0600 id_rsa</div><div class=""> 30 cd</div><div class=""> 31 gdeploy -c t.conf</div><div class=""> 32 ssh -v 10.10.10.11</div><div class=""> 33 ssh -v 10.10.10.12</div><div class=""> 34 ssh -v 10.10.10.13</div><div class=""> 35 gdeploy -c t.conf</div></div><div class=""><br class=""></div><div class="">The t.conf:</div><div class="">===<snip>===</div><div class=""> [hosts]</div><div class="">10.10.10.11</div><div class="">10.10.10.12</div><div class="">10.10.10.13</div><div class=""><br class=""></div><div class="">[backend-setup]</div><div class="">devices=/dev/sdb</div><div class="">mountpoints=/gluster/brick1</div><div class="">brick_dirs=/gluster/brick1/one</div><div class=""><br class=""></div><div class="">===<snip>===</div><div class=""><br class=""></div><div class="">The gdeploy run:</div><div class=""><br class=""></div><div class="">==<snip>===</div><div class=""><div class="">[root@linked-clone-of-centos-linux ~]# gdeploy -c t.conf</div><div class="">ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div class=""><br class=""></div><div class="">The error appears to have been in '/tmp/tmpezTsyO/pvcreate.yml': line 16, column 5, but may</div><div class="">be elsewhere in the file depending on the exact syntax problem.</div><div class=""><br class=""></div><div class="">The offending line appears to be:</div><div class=""><br class=""></div><div class=""> # Create pv on all the disks</div><div class=""> - name: Create Physical Volume</div><div class=""> ^ here</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The error appears to have been in '/tmp/tmpezTsyO/pvcreate.yml': line 16, column 5, but may</div><div class="">be elsewhere in the file depending on the exact syntax problem.</div><div class=""><br class=""></div><div class="">The offending line appears to be:</div><div class=""><br class=""></div><div class=""> # Create pv on all the disks</div><div class=""> - name: Create Physical Volume</div><div class=""> ^ here</div><div class=""><br class=""></div><div class="">Ignoring errors...</div><div class="">ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div class=""><br class=""></div><div class="">The error appears to have been in '/tmp/tmpezTsyO/vgcreate.yml': line 8, column 5, but may</div><div class="">be elsewhere in the file depending on the exact syntax problem.</div><div class=""><br class=""></div><div class="">The offending line appears to be:</div><div class=""><br class=""></div><div class=""> tasks:</div><div class=""> - name: Create volume group on the disks</div><div class=""> ^ here</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The error appears to have been in '/tmp/tmpezTsyO/vgcreate.yml': line 8, column 5, but may</div><div class="">be elsewhere in the file depending on the exact syntax problem.</div><div class=""><br class=""></div><div class="">The offending line appears to be:</div><div class=""><br class=""></div><div class=""> tasks:</div><div class=""> - name: Create volume group on the disks</div><div class=""> ^ here</div><div class=""><br class=""></div><div class="">Ignoring errors...</div><div class="">ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div class=""><br class=""></div><div class="">The error appears to have been in '/tmp/tmpezTsyO/auto_lvcreate_for_gluster.yml': line 7, column 5, but may</div><div class="">be elsewhere in the file depending on the exact syntax problem.</div><div class=""><br class=""></div><div class="">The offending line appears to be:</div><div class=""><br class=""></div><div class=""> tasks:</div><div class=""> - name: Create logical volume named metadata</div><div class=""> ^ here</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The error appears to have been in '/tmp/tmpezTsyO/auto_lvcreate_for_gluster.yml': line 7, column 5, but may</div><div class="">be elsewhere in the file depending on the exact syntax problem.</div><div class=""><br class=""></div><div class="">The offending line appears to be:</div><div class=""><br class=""></div><div class=""> tasks:</div><div class=""> - name: Create logical volume named metadata</div><div class=""> ^ here</div><div class=""><br class=""></div><div class="">Ignoring errors...</div><div class=""><br class=""></div><div class="">PLAY [gluster_servers] **********************************************************************************************************************************************************************</div><div class=""><br class=""></div><div class="">TASK [Create a xfs filesystem] **************************************************************************************************************************************************************</div><div class="">failed: [10.10.10.13] (item=/dev/GLUSTER_vg1/GLUSTER_lv1) => {"failed": true, "item": "/dev/GLUSTER_vg1/GLUSTER_lv1", "msg": "Device /dev/GLUSTER_vg1/GLUSTER_lv1 not found."}</div><div class="">failed: [10.10.10.12] (item=/dev/GLUSTER_vg1/GLUSTER_lv1) => {"failed": true, "item": "/dev/GLUSTER_vg1/GLUSTER_lv1", "msg": "Device /dev/GLUSTER_vg1/GLUSTER_lv1 not found."}</div><div class="">failed: [10.10.10.11] (item=/dev/GLUSTER_vg1/GLUSTER_lv1) => {"failed": true, "item": "/dev/GLUSTER_vg1/GLUSTER_lv1", "msg": "Device /dev/GLUSTER_vg1/GLUSTER_lv1 not found."}</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>to retry, use: --limit @/tmp/tmpezTsyO/fscreate.retry</div><div class=""><br class=""></div><div class="">PLAY RECAP **********************************************************************************************************************************************************************************</div><div class="">10.10.10.11 : ok=0 changed=0 unreachable=0 failed=1</div><div class="">10.10.10.12 : ok=0 changed=0 unreachable=0 failed=1</div><div class="">10.10.10.13 : ok=0 changed=0 unreachable=0 failed=1</div><div class=""><br class=""></div><div class="">Ignoring errors...</div><div class=""><br class=""></div><div class="">PLAY [gluster_servers] **********************************************************************************************************************************************************************</div><div class=""><br class=""></div><div class="">TASK [Create the backend disks, skips if present] *******************************************************************************************************************************************</div><div class="">changed: [10.10.10.12] => (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div class="">changed: [10.10.10.11] => (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div class="">changed: [10.10.10.13] => (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div class=""><br class=""></div><div class="">TASK [Mount the volumes] ********************************************************************************************************************************************************************</div><div class="">failed: [10.10.10.11] (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'}) => {"failed": true, "item": {"device": "/dev/GLUSTER_vg1/GLUSTER_lv1", "path": "/gluster/brick1"}, "msg": "Error mounting /gluster/brick1: mount: special device /dev/GLUSTER_vg1/GLUSTER_lv1 does not exist\n"}</div><div class="">failed: [10.10.10.12] (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'}) => {"failed": true, "item": {"device": "/dev/GLUSTER_vg1/GLUSTER_lv1", "path": "/gluster/brick1"}, "msg": "Error mounting /gluster/brick1: mount: special device /dev/GLUSTER_vg1/GLUSTER_lv1 does not exist\n"}</div><div class="">failed: [10.10.10.13] (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'}) => {"failed": true, "item": {"device": "/dev/GLUSTER_vg1/GLUSTER_lv1", "path": "/gluster/brick1"}, "msg": "Error mounting /gluster/brick1: mount: special device /dev/GLUSTER_vg1/GLUSTER_lv1 does not exist\n"}</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>to retry, use: --limit @/tmp/tmpezTsyO/mount.retry</div><div class=""><br class=""></div><div class="">PLAY RECAP **********************************************************************************************************************************************************************************</div><div class="">10.10.10.11 : ok=1 changed=1 unreachable=0 failed=1</div><div class="">10.10.10.12 : ok=1 changed=1 unreachable=0 failed=1</div><div class="">10.10.10.13 : ok=1 changed=1 unreachable=0 failed=1</div><div class=""><br class=""></div><div class="">Ignoring errors…</div></div><div class=""><br class=""></div><div class="">===<snip>===</div><div class=""><br class=""></div></body></html>