<div dir="ltr">Hello,<div><br></div><div> From the output you have pasted looks like <a href="http://grafton-sanity.check.sh">grafton-sanity.check.sh</a> is passing and disable-multipath.sh script is failing if i understand correctly. Can you please copy paste the file path and content of the file ?</div><div><br></div><div>Thanks</div><div>kasturi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 4:11 PM, Open tech <span dir="ltr"><<a href="mailto:opentech101@gmail.com" target="_blank">opentech101@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Kasturi,<div> Thanks a lot for taking a look at this. I think its "grafton-sanity-check.sh" . Following is the complete output from the install attempt. Ansible ver is 2.4. Gdeploy is <span style="font-family:Menlo;font-size:11px">2.0.2. </span></div><div><br></div><div>Do you have a tested step by step for 4.1.6/7 ?. Would be great if you can share it.</div><div><br></div><div><br></div><div><div>PLAY [gluster_servers] ******************************<wbr>***************************</div><span class=""><div><br></div><div>TASK [Run a shell script] ******************************<wbr>************************</div></span><div>changed: [ovirt2] => (item=/usr/share/gdeploy/<wbr>scripts/grafton-sanity-check.<wbr>sh -d sda1 -h ovirt1,ovirt2,ovirt3)</div><div>changed: [ovirt3] => (item=/usr/share/gdeploy/<wbr>scripts/grafton-sanity-check.<wbr>sh -d sda1 -h ovirt1,ovirt2,ovirt3)</div><div>changed: [ovirt1] => (item=/usr/share/gdeploy/<wbr>scripts/grafton-sanity-check.<wbr>sh -d sda1 -h ovirt1,ovirt2,ovirt3)</div><div><br></div><div>PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div>ovirt1 : ok=1 changed=1 unreachable=0 failed=0 </div><div>ovirt2 : ok=1 changed=1 unreachable=0 failed=0 </div><div>ovirt3 : ok=1 changed=1 unreachable=0 failed=0 </div><div><br></div><div><br></div><div>PLAY [gluster_servers] ******************************<wbr>***************************</div><div><br></div><div>TASK [Enable or disable services] ******************************<wbr>****************</div><div>ok: [ovirt1] => (item=chronyd)</div><div>ok: [ovirt3] => (item=chronyd)</div><div>ok: [ovirt2] => (item=chronyd)</div><div><br></div><div>PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div>ovirt1 : ok=1 changed=0 unreachable=0 failed=0 </div><div>ovirt2 : ok=1 changed=0 unreachable=0 failed=0 </div><div>ovirt3 : ok=1 changed=0 unreachable=0 failed=0 </div><div><br></div><div><br></div><div>PLAY [gluster_servers] ******************************<wbr>***************************</div><div><br></div><div>TASK [start/stop/restart/reload services] ******************************<wbr>********</div><div>changed: [ovirt3] => (item=chronyd)</div><div>changed: [ovirt1] => (item=chronyd)</div><div>changed: [ovirt2] => (item=chronyd)</div><div><br></div><div>PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div>ovirt1 : ok=1 changed=1 unreachable=0 failed=0 </div><div>ovirt2 : ok=1 changed=1 unreachable=0 failed=0 </div><div>ovirt3 : ok=1 changed=1 unreachable=0 failed=0 </div><div><br></div><div><br></div><div>PLAY [gluster_servers] ******************************<wbr>***************************</div><div><br></div><div>TASK [Run a command in the shell] ******************************<wbr>****************</div><div>changed: [ovirt2] => (item=vdsm-tool configure --force)</div><div>changed: [ovirt3] => (item=vdsm-tool configure --force)</div><div>changed: [ovirt1] => (item=vdsm-tool configure --force)</div><div><br></div><div>PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div>ovirt1 : ok=1 changed=1 unreachable=0 failed=0 </div><div>ovirt2 : ok=1 changed=1 unreachable=0 failed=0 </div><div>ovirt3 : ok=1 changed=1 unreachable=0 failed=0 </div><div><br></div><div><br></div><div>PLAY [gluster_servers] ******************************<wbr>***************************</div><span class=""><div><br></div><div>TASK [Run a shell script] ******************************<wbr>************************</div></span><span class=""><div>fatal: [ovirt2]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc != 0' failed. The error was: error while evaluating conditional (result.rc != 0): 'dict object' has no attribute 'rc'"}</div><div>fatal: [ovirt3]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc != 0' failed. The error was: error while evaluating conditional (result.rc != 0): 'dict object' has no attribute 'rc'"}</div><div>fatal: [ovirt1]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc != 0' failed. The error was: error while evaluating conditional (result.rc != 0): 'dict object' has no attribute 'rc'"}</div></span><div><span class="m_4838516515126819041gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>to retry, use: --limit @/tmp/tmpEkEkpR/run-script.<wbr>retry</div><div><br></div><div>PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div>ovirt1 : ok=0 changed=0 unreachable=0 failed=1 </div><div>ovirt2 : ok=0 changed=0 unreachable=0 failed=1 </div><div>ovirt3 : ok=0 changed=0 unreachable=0 failed=1 </div><div><br></div><div>Error: Ansible(>= 2.2) is not installed.</div><div>Some of the features might not work if not installed.</div></div><div><br></div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">[root@ovirt2 ~]# yum info ansible</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Loaded plugins: fastestmirror, imgbased-persist</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Loading mirror speeds from cached hostfile</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> * epel: <a href="http://mirror01.idc.hinet.net" target="_blank">mirror01.idc.hinet.net</a></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> * ovirt-4.1: <a href="http://ftp.nluug.nl" target="_blank">ftp.nluug.nl</a></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> * ovirt-4.1-epel: <a href="http://mirror01.idc.hinet.net" target="_blank">mirror01.idc.hinet.net</a></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Installed Packages</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Name : <span style="color:rgb(175,173,36)"><b>ansible</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Arch : noarch</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Version : 2.4.0.0</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Release : 5.el7</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Size : 38 M</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Repo : installed</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Summary : SSH-based configuration management, deployment, and task execution system</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">URL : <a href="http://ansible.com" target="_blank">http://ansible.com</a></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">License : GPLv3+</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Description : </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : Ansible is a radically simple model-driven configuration management,</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : multi-node deployment, and remote task execution system. Ansible works</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : over SSH and does not require any software or daemons to be installed</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : on remote nodes. Extension modules can be written in any language and</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : are transferred to managed machines automatically.</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">root@ovirt2 ~]# yum info gdeploy</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Loaded plugins: fastestmirror, imgbased-persist</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Loading mirror speeds from cached hostfile</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> * epel: <a href="http://mirror01.idc.hinet.net" target="_blank">mirror01.idc.hinet.net</a></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> * ovirt-4.1: <a href="http://mirror.isoc.org.il" target="_blank">mirror.isoc.org.il</a></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> * ovirt-4.1-epel: <a href="http://mirror01.idc.hinet.net" target="_blank">mirror01.idc.hinet.net</a></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Installed Packages</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Name : gdeploy</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Arch : noarch</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Version : 2.0.2</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Release : 7</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Size : 2.7 M</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Repo : installed</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Summary : Tool to deploy and manage GlusterFS cluster</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">URL : <a href="http://www.redhat.com/storage" target="_blank">http://www.redhat.com/storage</a></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">License : GPLv3</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Description : gdeploy is an Ansible based deployment tool. Initially gdeploy was written to</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : install GlusterFS clusters, eventually it grew out to do lot of other things. On</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : a given set of hosts, gdeploy can create physical volumes, volume groups, and</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : logical volumes, install packages, subscribe to RHN channels, run shell</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : commands, create GlusterFS volumes and lot more.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> : See <a href="http://gdeploy.readthedocs.io/en/latest/" target="_blank">http://gdeploy.readthedocs.io/<wbr>en/latest/</a> for more details</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Thanks Again,</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">hk</p></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 3:17 PM, Kasturi Narra <span dir="ltr"><<a href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div> Can you please let me know which is the script it is failing and ansible and gdeploy versions?</div><div><br></div><div>Thanks</div><div>kasturi</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_4838516515126819041h5">On Mon, Nov 13, 2017 at 2:54 PM, Open tech <span dir="ltr"><<a href="mailto:opentech101@gmail.com" target="_blank">opentech101@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_4838516515126819041h5"><div dir="ltr">Hi All,<div> I am new to Ovirt. I am hitting the exact same error while trying a new install in a nested virtualization setup on esxi 6.5. </div><div>I am following this tutorial as well. Have three nodes on esxi with dual networks & passwordless ssh enabled.</div><div><a href="https://www.ovirt.org/blog/2017/04/up-and-running-with-ovirt-4.1-and-gluster-storage/" target="_blank">https://www.ovirt.org/blog/201<wbr>7/04/up-and-running-with-ovirt<wbr>-4.1-and-gluster-storage/</a><br></div><div><br></div><div>Node install goes through without issue. Run into this error when i hit deploy. </div><div><br></div><div><div>TASK [Run a shell script] ******************************<wbr>************************</div><div>fatal: [ovirt3]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc != 0' failed. The error was: error while evaluating conditional (result.rc != 0): 'dict object' has no attribute 'rc'"}</div><div>fatal: [ovirt1]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc != 0' failed. The error was: error while evaluating conditional (result.rc != 0): 'dict object' has no attribute 'rc'"}</div><div>fatal: [ovirt2]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc != 0' failed. The error was: error while evaluating conditional (result.rc != 0): 'dict object' has no attribute 'rc'"}</div><div><span class="m_4838516515126819041m_-5545371882053002222m_-7832511758881873492gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>to retry, use: --limit @/tmp/tmpbDBjAt/run-script.ret<wbr>ry</div></div><div><br></div><div><br></div><div>@Simone Marchioni were you able to find a solution ???. </div><div><br></div><div>Thanks</div><div>hk</div><div></div><div><br></div><div><br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>