Hi Alex,

I believe the lines below from the deploy log point to the issue. I bolded the important parts. It looks like it was unable to resolve the FQDN for the host. What output and return code do you get when you run "getent ahostsv4 v0.mydomain | grep v0.mydomain" on that machine?

2018-05-14 13:24:59,631-0400 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 hostname_resolution_output: {'stderr_lines': [], u'changed': True, u'end': u'2018-05-14 13:24:58.914393', u'stdout': u'', u'cmd': u'getent ahostsv4 v0.mydomain | grep v0.mydomain', u'failed': True, u'delta': u'0:00:00.005743', u'stderr': u'', u'rc': 1, u'msg': u'non-zero return code', 'stdout_lines': [], u'start': u'2018-05-14 13:24:58.908650'}
2018-05-14 13:24:59,832-0400 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [Check address resolution]
2018-05-14 13:25:00,133-0400 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 {u'msg': u'Unable to resolve address\n', u'changed': False, u'_ansible_no_log': False}
2018-05-14 13:25:00,234-0400 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:98 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to resolve address\n"}

Additionally, work is underway to make the logs easier to read and more useful so that troubleshooting issues like this won't be as difficult in the future. I'm sorry for any frustration it's caused and appreciate you reaching out to work through the issue.

-Phillip Bailey

On Mon, May 14, 2018 at 1:32 PM, Alex K <rightkicktech@gmail.com> wrote:
I am attaching the deploy log in case it helps.

Thanx,
Alex

On Mon, May 14, 2018 at 8:28 PM, Alex K <rightkicktech@gmail.com> wrote:
Hi all,

I am trying to setup ovirt 4.2 self hosted with 3 nodes.

I have done several 4.1 installations without issues. Now at 4.2 I get:

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to resolve address\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook

I am running:

hosted-engine --deploy --config-append=/root/ovirt/storage.conf

Checking the log doesn't give an easy reference of the issue. Seems to be related with DNS but I can confirm that the host can resolve the engine FQDN from /etc/hosts or from the DNS server.

Any ideas?

Thanx,
Alex


_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org