On Wed, Jun 7, 2017 at 9:00 AM, knarra <knarra@redhat.com> wrote:
On 06/07/2017 03:15 AM, ovirt@fateknollogee.com wrote:
I finally figured out what the error was all about....

The default location for the gdeploy script is:
/usr/share/ansible/gdeploy/scripts/grafton-sanity-check.sh

The oVirt node installer "ovirt-node-ng-installer-ovirt-4.1-2017060504.iso" installed it in a different location:
/usr/share/gdeploy/scripts/grafton-sanity-check.sh

I copied the "gdeploy" folder to the default location & the error went away.

**btw, I installed oVirt from scratch twice & both times got the same error**
Hi ,

    Good to know that it worked after changing the script path. This change is brought in with ansible2.3 and  we have a bug to change it to correct  path from cockpit UI. Not sure what the state of bug now. But we should have it fixed soon.

Adding Sahina
 

Thanks
kasturi.


On 2017-06-06 13:01, ovirt@fateknollogee.com wrote:
Ok, I will re-check a few things based on this:
https://bugzilla.redhat.com/show_bug.cgi?id=1405447

On 2017-06-06 12:58, ovirt@fateknollogee.com wrote:
How do I check that?

Today, I'm re-installing but getting this error message:


PLAY [gluster_servers] *********************************************************

TASK [Run a shell script] ******************************************************
fatal: [ovirt-N1-f25.fatek-dc.lab]: 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'"}
fatal: [ovirt-N3-f25.fatek-dc.lab]: 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'"}
fatal: [ovirt-N2-f25.fatek-dc.lab]: 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'"}
    to retry, use: --limit @/tmp/tmpEzKSy6/run-script.retry

PLAY RECAP *********************************************************************
ovirt-N1-f25.fatek-dc.lab  : ok=0    changed=0 unreachable=0    failed=1
ovirt-N2-f25.fatek-dc.lab  : ok=0    changed=0 unreachable=0    failed=1
ovirt-N3-f25.fatek-dc.lab  : ok=0    changed=0 unreachable=0    failed=1


On 2017-06-01 00:08, knarra wrote:
On 06/01/2017 01:19 AM, ovirt@fateknollogee.com wrote:
Any ideas what this is:

TASK [Run a shell script] ******************************************************
fatal: [ovirt-node1.lab]: 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'"}
fatal: [ovirt-node3.lab]: 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'"}
fatal: [ovirt-node2.lab]: 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'"}
    to retry, use: --limit @/tmp/tmpaOHOtY/run-script.retry
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Hi,

    Can you see if the script which is getting execute is present in that path ?

Thanks

kasturi


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA