<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/06/2017 03:14 PM, hvjunk wrote:<br>
</div>
<blockquote
cite="mid:B8B3888B-ACCB-4DE7-B34F-203FB34110B1@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<p>Hi,</p>
<p> There is a new version of gdeploy built where the above seen
issues are fixed. Can you please update gdeploy to the version
below [1] and run the test again ?<br>
</p>
<p>[1]
<a class="moz-txt-link-freetext" href="https://copr-be.cloud.fedoraproject.org/results/sac/gdeploy/epel-7-x86_64/00547404-gdeploy/gdeploy-2.0.2-6.noarch.rpm">https://copr-be.cloud.fedoraproject.org/results/sac/gdeploy/epel-7-x86_64/00547404-gdeploy/gdeploy-2.0.2-6.noarch.rpm</a></p>
<p>Thanks</p>
<p>kasturi<br>
</p>
</body>
</html>