
Hello, From the output you have pasted looks like grafton-sanity.check.sh 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 ? Thanks kasturi On Mon, Nov 13, 2017 at 4:11 PM, Open tech <opentech101@gmail.com> wrote:
Hi Kasturi, 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 2.0.2.
Do you have a tested step by step for 4.1.6/7 ?. Would be great if you can share it.
PLAY [gluster_servers] ****************************** ***************************
TASK [Run a shell script] ****************************** ************************ changed: [ovirt2] => (item=/usr/share/gdeploy/ scripts/grafton-sanity-check.sh -d sda1 -h ovirt1,ovirt2,ovirt3) changed: [ovirt3] => (item=/usr/share/gdeploy/ scripts/grafton-sanity-check.sh -d sda1 -h ovirt1,ovirt2,ovirt3) changed: [ovirt1] => (item=/usr/share/gdeploy/ scripts/grafton-sanity-check.sh -d sda1 -h ovirt1,ovirt2,ovirt3)
PLAY RECAP ************************************************************ ********* ovirt1 : ok=1 changed=1 unreachable=0 failed=0 ovirt2 : ok=1 changed=1 unreachable=0 failed=0 ovirt3 : ok=1 changed=1 unreachable=0 failed=0
PLAY [gluster_servers] ****************************** ***************************
TASK [Enable or disable services] ****************************** **************** ok: [ovirt1] => (item=chronyd) ok: [ovirt3] => (item=chronyd) ok: [ovirt2] => (item=chronyd)
PLAY RECAP ************************************************************ ********* ovirt1 : ok=1 changed=0 unreachable=0 failed=0 ovirt2 : ok=1 changed=0 unreachable=0 failed=0 ovirt3 : ok=1 changed=0 unreachable=0 failed=0
PLAY [gluster_servers] ****************************** ***************************
TASK [start/stop/restart/reload services] ****************************** ******** changed: [ovirt3] => (item=chronyd) changed: [ovirt1] => (item=chronyd) changed: [ovirt2] => (item=chronyd)
PLAY RECAP ************************************************************ ********* ovirt1 : ok=1 changed=1 unreachable=0 failed=0 ovirt2 : ok=1 changed=1 unreachable=0 failed=0 ovirt3 : ok=1 changed=1 unreachable=0 failed=0
PLAY [gluster_servers] ****************************** ***************************
TASK [Run a command in the shell] ****************************** **************** changed: [ovirt2] => (item=vdsm-tool configure --force) changed: [ovirt3] => (item=vdsm-tool configure --force) changed: [ovirt1] => (item=vdsm-tool configure --force)
PLAY RECAP ************************************************************ ********* ovirt1 : ok=1 changed=1 unreachable=0 failed=0 ovirt2 : ok=1 changed=1 unreachable=0 failed=0 ovirt3 : ok=1 changed=1 unreachable=0 failed=0
PLAY [gluster_servers] ****************************** ***************************
TASK [Run a shell script] ****************************** ************************ 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'"} 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'"} 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'"} to retry, use: --limit @/tmp/tmpEkEkpR/run-script.retry
PLAY RECAP ************************************************************ ********* ovirt1 : ok=0 changed=0 unreachable=0 failed=1 ovirt2 : ok=0 changed=0 unreachable=0 failed=1 ovirt3 : ok=0 changed=0 unreachable=0 failed=1
Error: Ansible(>= 2.2) is not installed. Some of the features might not work if not installed.
[root@ovirt2 ~]# yum info ansible
Loaded plugins: fastestmirror, imgbased-persist
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
* ovirt-4.1: ftp.nluug.nl
* ovirt-4.1-epel: mirror01.idc.hinet.net
Installed Packages
Name : *ansible*
Arch : noarch
Version : 2.4.0.0
Release : 5.el7
Size : 38 M
Repo : installed
Summary : SSH-based configuration management, deployment, and task execution system
URL : http://ansible.com
License : GPLv3+
Description :
: Ansible is a radically simple model-driven configuration management,
: multi-node deployment, and remote task execution system. Ansible works
: over SSH and does not require any software or daemons to be installed
: on remote nodes. Extension modules can be written in any language and
: are transferred to managed machines automatically.
root@ovirt2 ~]# yum info gdeploy
Loaded plugins: fastestmirror, imgbased-persist
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
* ovirt-4.1: mirror.isoc.org.il
* ovirt-4.1-epel: mirror01.idc.hinet.net
Installed Packages
Name : gdeploy
Arch : noarch
Version : 2.0.2
Release : 7
Size : 2.7 M
Repo : installed
Summary : Tool to deploy and manage GlusterFS cluster
URL : http://www.redhat.com/storage
License : GPLv3
Description : gdeploy is an Ansible based deployment tool. Initially gdeploy was written to
: install GlusterFS clusters, eventually it grew out to do lot of other things. On
: a given set of hosts, gdeploy can create physical volumes, volume groups, and
: logical volumes, install packages, subscribe to RHN channels, run shell
: commands, create GlusterFS volumes and lot more.
:
: See http://gdeploy.readthedocs.io/en/latest/ for more details
Thanks Again,
hk
On Mon, Nov 13, 2017 at 3:17 PM, Kasturi Narra <knarra@redhat.com> wrote:
Hello,
Can you please let me know which is the script it is failing and ansible and gdeploy versions?
Thanks kasturi
On Mon, Nov 13, 2017 at 2:54 PM, Open tech <opentech101@gmail.com> wrote:
Hi All, 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. I am following this tutorial as well. Have three nodes on esxi with dual networks & passwordless ssh enabled. https://www.ovirt.org/blog/2017/04/up-and-running-with-ovirt -4.1-and-gluster-storage/
Node install goes through without issue. Run into this error when i hit deploy.
TASK [Run a shell script] ****************************** ************************ 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'"} 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'"} 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'"} to retry, use: --limit @/tmp/tmpbDBjAt/run-script.retry
@Simone Marchioni were you able to find a solution ???.
Thanks hk
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users