gdeploy: Should fail with unreachable nodes...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I noticed that, if a node isn’t reachable, then gdeploy just (blindly) continue to try and play the rest of the deployment stuff on it ;(

ie.
<quote>
[root@linked-clone-of-centos-linux ~]# gdeploy -c t.conf -k

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

TASK [Clean up filesystem signature] ***********************************************************************
skipping: [10.10.10.12] => (item=/dev/sdb)
skipping: [10.10.10.11] => (item=/dev/sdb)
skipping: [10.10.10.13] => (item=/dev/sdb)

TASK [Create Physical Volume] ******************************************************************************
fatal: [10.10.10.12]: UNREACHABLE! => {"changed": false, "msg": "All items completed", "results": [{"_ansible_item_result": true, "item": "/dev/sdb", "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.10.10.12 port 22: Connection timed out\r\n", "unreachable": true}]}
failed: [10.10.10.12] (item=/dev/sdb) => {"item": "/dev/sdb", "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.10.10.12 port 22: Connection timed out\r\n", "unreachable": true}
fatal: [10.10.10.11]: UNREACHABLE! => {"changed": false, "msg": "All items completed", "results": [{"_ansible_item_result": true, "item": "/dev/sdb", "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.10.10.11 port 22: Connection timed out\r\n", "unreachable": true}]}
failed: [10.10.10.11] (item=/dev/sdb) => {"item": "/dev/sdb", "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.10.10.11 port 22: Connection timed out\r\n", "unreachable": true}
fatal: [10.10.10.13]: UNREACHABLE! => {"changed": false, "msg": "All items completed", "results": [{"_ansible_item_result": true, "item": "/dev/sdb", "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.10.10.13 port 22: Connection timed out\r\n", "unreachable": true}]}
failed: [10.10.10.13] (item=/dev/sdb) => {"item": "/dev/sdb", "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.10.10.13 port 22: Connection timed out\r\n", "unreachable": true}
	to retry, use: --limit @/tmp/tmpLzfSZ8/pvcreate.retry

PLAY RECAP *************************************************************************************************
10.10.10.11                : ok=0    changed=0    unreachable=1    failed=0
10.10.10.12                : ok=0    changed=0    unreachable=1    failed=0
10.10.10.13                : ok=0    changed=0    unreachable=1    failed=0

Ignoring errors...
<quote>

and then it continues with loads of errors instead of failing at this stage/point


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux