<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 09 May 2017, at 09:15 , Sachidananda URS &lt;<a href="mailto:surs@redhat.com" class="">surs@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<br class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, May 8, 2017 at 2:05 PM, hvjunk <span dir="ltr" class="">&lt;<a href="mailto:hvjunk@gmail.com" target="_blank" class="">hvjunk@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br class=""><div style="overflow-wrap: break-word;" class=""><span class="gmail-"></span>&lt;quote&gt;<div class=""><br class=""></div><div class=""><span class="gmail-"><div class="">[root@linked-clone-of-centos-<wbr class="">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></span><div class="">The error appears to have been in '/tmp/tmpvhTM5i/pvcreate.yml': line 16, column 5, but may</div><span class="gmail-"><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="">&nbsp; # Create pv on all the disks</div><div class="">&nbsp; - name: Create Physical Volume</div><div class="">&nbsp; &nbsp; ^ here</div><div class=""><br class=""></div></span></div></div></blockquote><br class=""></div><div class="gmail_quote">That is strange. Can you please give me the following output?<br class=""><br class=""></div><div class="gmail_quote">$ rpm -qa | grep deploy<br class=""></div><div class="gmail_quote">$ rpm -qa | grep ansible<br class=""></div></div></div></div></div></blockquote><div><br class=""></div><div>[root@linked-clone-of-centos-linux ~]# rpm -qa | egrep "deploy|ansible"</div><div>gdeploy-2.0.2-6.noarch</div><div>ansible-2.3.0.0-3.el7.noarch</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><br class=""></div><div class="gmail_quote">Because after your mail tested on my machine and things seem to be working. So, I'm guessing<br class=""></div><div class="gmail_quote">there could be very trivial setup/package issues here which is causing this.<br class=""><br class=""></div><div class="gmail_quote">Once you confirm that you are using gdeploy-2.0.2-6 and ansible-2.2 or higher. Can you please<br class=""></div><div class="gmail_quote">perform the below steps to narrow down the error.<br class=""><br class=""></div><div class="gmail_quote">Maybe you can just trim your config file to contain just:<br class=""><br class=""><span class="gmail-im"><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></span><div class="">pools=pool1<br class=""><br class=""></div><div class="">And run the command:<br class=""><br class=""></div><div class="">$ gdeploy -c t.conf -k<br class=""></div></div></div></div></div></div></blockquote><div><br class=""></div><div><div>[root@linked-clone-of-centos-linux ~]# gdeploy -c t.conf -k</div><div>ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/pvcreate.yml': line 16, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; # Create pv on all the disks</div><div>&nbsp; - name: Create Physical Volume</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/pvcreate.yml': line 16, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; # Create pv on all the disks</div><div>&nbsp; - name: Create Physical Volume</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div>Ignoring errors...</div><div>ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/vgcreate.yml': line 8, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; tasks:</div><div>&nbsp; - name: Create volume group on the disks</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/vgcreate.yml': line 8, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; tasks:</div><div>&nbsp; - name: Create volume group on the disks</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div>Ignoring errors...</div><div>ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/auto_lvcreate_for_gluster.yml': line 7, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; tasks:</div><div>&nbsp; - name: Create logical volume named metadata</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/auto_lvcreate_for_gluster.yml': line 7, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; tasks:</div><div>&nbsp; - name: Create logical volume named metadata</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div>Ignoring errors...</div><div><br class=""></div><div>PLAY [gluster_servers] *************************************************************************************</div><div><br class=""></div><div>TASK [Create an xfs filesystem] ****************************************************************************</div><div>failed: [10.10.10.11] (item=/dev/GLUSTER_vg1/GLUSTER_lv1) =&gt; {"failed": true, "item": "/dev/GLUSTER_vg1/GLUSTER_lv1", "msg": "Device /dev/GLUSTER_vg1/GLUSTER_lv1 not found."}</div><div>failed: [10.10.10.13] (item=/dev/GLUSTER_vg1/GLUSTER_lv1) =&gt; {"failed": true, "item": "/dev/GLUSTER_vg1/GLUSTER_lv1", "msg": "Device /dev/GLUSTER_vg1/GLUSTER_lv1 not found."}</div><div>failed: [10.10.10.12] (item=/dev/GLUSTER_vg1/GLUSTER_lv1) =&gt; {"failed": true, "item": "/dev/GLUSTER_vg1/GLUSTER_lv1", "msg": "Device /dev/GLUSTER_vg1/GLUSTER_lv1 not found."}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>to retry, use: --limit @/tmp/tmpGK2Arn/fscreate.retry</div><div><br class=""></div><div>PLAY RECAP *************************************************************************************************</div><div>10.10.10.11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=0 &nbsp; &nbsp;changed=0 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=1</div><div>10.10.10.12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=0 &nbsp; &nbsp;changed=0 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=1</div><div>10.10.10.13 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=0 &nbsp; &nbsp;changed=0 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=1</div><div><br class=""></div><div>Ignoring errors...</div><div><br class=""></div><div>PLAY [gluster_servers] *************************************************************************************</div><div><br class=""></div><div>TASK [Create the backend disks, skips if present] **********************************************************</div><div>changed: [10.10.10.11] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div>changed: [10.10.10.13] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div>changed: [10.10.10.12] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div><br class=""></div><div>TASK [Mount the volumes] ***********************************************************************************</div><div>failed: [10.10.10.11] (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'}) =&gt; {"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>failed: [10.10.10.13] (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'}) =&gt; {"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>failed: [10.10.10.12] (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'}) =&gt; {"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><span class="Apple-tab-span" style="white-space:pre">        </span>to retry, use: --limit @/tmp/tmpGK2Arn/mount.retry</div><div><br class=""></div><div>PLAY RECAP *************************************************************************************************</div><div>10.10.10.11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=1 &nbsp; &nbsp;changed=1 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=1</div><div>10.10.10.12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=1 &nbsp; &nbsp;changed=1 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=1</div><div>10.10.10.13 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=1 &nbsp; &nbsp;changed=1 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=1</div><div><br class=""></div><div>Ignoring errors...</div><div><br class=""></div><div>PLAY [gluster_servers] *************************************************************************************</div><div><br class=""></div><div>TASK [Set SELinux labels on the bricks] ********************************************************************</div><div>changed: [10.10.10.11] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div>changed: [10.10.10.12] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div>changed: [10.10.10.13] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div><br class=""></div><div>TASK [Restore the SELinux context] *************************************************************************</div><div>changed: [10.10.10.12] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div>changed: [10.10.10.13] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div>changed: [10.10.10.11] =&gt; (item={u'device': u'/dev/GLUSTER_vg1/GLUSTER_lv1', u'path': u'/gluster/brick1'})</div><div><br class=""></div><div>PLAY RECAP *************************************************************************************************</div><div>10.10.10.11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=2 &nbsp; &nbsp;changed=2 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=0</div><div>10.10.10.12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=2 &nbsp; &nbsp;changed=2 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=0</div><div>10.10.10.13 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ok=2 &nbsp; &nbsp;changed=2 &nbsp; &nbsp;unreachable=0 &nbsp; &nbsp;failed=0</div><div><br class=""></div><div>Error: No sections found in config file. Exiting!</div><div>You can view the generated configuration files inside /tmp/tmpGK2Arn</div></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><br class=""></div><div class="">The -k will ensure that your playbook temporary directory is not deleted.<br class=""></div><div class="">You see a message like:<br class=""><br class="">You can view the generated configuration files inside /tmp/tmp...<br class=""><br class=""></div><div class="">Please cd to that directory and run:<br class=""><br class=""></div><div class="">$ ansible-playbook -i ansible_hosts pvcreate.yml<br class=""><br class=""></div></div></div></div></div></div></blockquote><div><br class=""></div><div><div>[root@linked-clone-of-centos-linux ~]# cd /tmp/tmpGK2Arn</div><div>[root@linked-clone-of-centos-linux tmpGK2Arn]# ansible-playbook -i ansible_hosts pvcreate.yml</div><div>ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.</div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/pvcreate.yml': line 16, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; # Create pv on all the disks</div><div>&nbsp; - name: Create Physical Volume</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div><br class=""></div><div>The error appears to have been in '/tmp/tmpGK2Arn/pvcreate.yml': line 16, column 5, but may</div><div>be elsewhere in the file depending on the exact syntax problem.</div><div><br class=""></div><div>The offending line appears to be:</div><div><br class=""></div><div>&nbsp; # Create pv on all the disks</div><div>&nbsp; - name: Create Physical Volume</div><div>&nbsp; &nbsp; ^ here</div><div><br class=""></div><div>[root@linked-clone-of-centos-linux tmpGK2Arn]#</div></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">Can you please let me know the results? We may have to take a closer look at your setup.<br class=""><br class=""></div><div class="">-sac<br class=""></div><div class=""><br class=""></div></div><div class="gmail_quote"><br class=""></div></div></div></div>
</div></blockquote></div><br class=""></body></html>