Simone,
I was able to deploy the environment with your suggetion above, the issue was my FQDN
host1.example.com vs
host1.example.other.com however right at the end the playbooks
launched a acouple of errors/warnings and that prevented the other 2 hosts to be joined
into the cluster. Note that the hosted-engine is up and running and reachable thru the WEB
UI.
TASK [Add additional gluster hosts to engine]
**********************************************
task path:
/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/add_hosts_storage_domains.yml:17
fatal: [localhost]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The
error was: 'ovirt_auth' is undefined\n\nThe error appears to be in
'/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/add_hosts_storage_domains.yml':
line 17, column 5, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n\n - name: Add additional gluster hosts
to engine\n ^ here\n"
}
...ignoring
TASK [Add additional glusterfs storage domains] ***********************
task path:
/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/add_hosts_storage_domains.yml:34
fatal: [localhost]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The
error was: 'he_host_name' is undefined\n\nThe error appears to be in
'/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/add_hosts_storage_domains.yml':
line 34, column 5, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n\n - name: \"Add additional
glusterfs storage domains\"\n ^ here\n"
}
...ignoring
META: ran handlers
META: ran handlers
PLAY RECAP *****************
localhost : ok=4 changed=1 unreachable=0 failed=0
skipped=0 rescued=0 ignored=2
host1.example.other.com : ok=408 changed=144 unreachable=0 failed=0 skipped=210
rescued=0 ignored=1
host2.example.other.com : ok=34 changed=17 unreachable=0 failed=0 skipped=70
rescued=0 ignored=0
host3.example.other.com : ok=34 changed=17 unreachable=0 failed=0 skipped=70
rescued=0 ignored=0
Thanks,
Adrian