On Wed, May 23, 2018 at 8:35 AM, Mariusz Kozakowski <
mariusz.kozakowski(a)dsg.dk> wrote:
Hello,
We've been trying to setup oVirt environment for few days but we have
issue with hosted-engine-setup (ansible script).
We managed to fix few small things and have them merged upstream but
unfortunately right now the installation process fails on getting host
facts.
It looks like it cannot proceed because it fails when connecting to
ovirt-engine API of the bootstrap VM.
The oVirt API / webpanel is working, I tested it via a browser and I can
login without issues using the admin password chosen earlier in the process.
2018-05-18 15:26:47,800+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Wait for the host to be up]
2018-05-18 15:39:14,025+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 {u'_ansible_parsed': True,
u'_ansible_no_log': False, u'changed': False, u'attempts': 120,
u'invocation': {u'module_args': {
u'pattern': u'name=host01.redacted', u'fetch_nested': False,
u'nested_attributes': []}}, u'ansible_facts': {u'ovirt_hosts':
[]}}
2018-05-18 15:39:14,127+0200 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:98 fatal: [localhost]: FAILED! =>
{"ansible_facts": {"ovirt_hosts": []}, "attempts": 120,
"changed": false}
May 18 13:34:34 host01 python: ansible-ovirt_hosts_facts Invoked with
pattern=name=host01.redacted fetch_nested=False nested_attributes=[]
auth={'timeout': 0, 'url':
'https://ovirt-dev.redacted/ovirt-engine/api',
'insecure': True, 'kerberos': False, 'compress': True,
'headers': None,
'token': 'R--token-redacted', 'ca_file': None}
Do you have idea what/where is issue and how to fix it?
Hi,
it correctly gets host facts from engine APIs, the issue now is simply that
no host appears in the reported facts and this means that engine, for same
reason, failed to configure the host where you are running
hosted-engine-setup.
To better understand what it's happening you have to check host-deploy
logs; they are available under /var/log/ovirt-engine/host-deploy/ on your
engine VM.
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org