Thanks very much @Alessandro and @Xavier. I have now progressed further but hit with the
following error:
[ ERROR ] Failed to execute stage 'Closing up': 'ansible-playbook_rc'
The log file contains the following:
2023-04-26 07:22:38,319+0000 DEBUG otopi.plugins.gr_he_ansiblesetup.core.misc
misc._closeup:475 {'otopi_host_net': {'ansible_facts':
{'otopi_host_net': ['eno1']}, '_ansible_no_log': None,
'changed': False}, 'otopi_localvm_dir': {'changed': True,
'path': '/var/tmp/localvmhho1t6bu', 'uid': 0, 'gid': 0,
'owner': 'root', 'group': 'root', 'mode':
'0700', 'state': 'directory', 'secontext':
'unconfined_u:object_r:user_tmp_t:s0', 'size': 6, 'invocation':
{'module_args': {'state': 'directory', 'path':
'/var/tmp', 'prefix': 'localvm', 'suffix': ''}},
'_ansible_no_log': None}, 'otopi_appliance_disk_size':
{'ansible_facts': {'virtual_size': '53689188352'},
'_ansible_no_log': None, 'changed': False},
'otopi_he_admin_username': {'ansible_facts': {'he_admin_username':
'admin@internal'}, '_ansible_no_log': None, 'changed': False,
'_ansible_delegated_vars': {'ansible_host': '192.168.222.125',
'ansible_port': None, 'ansible_user': 'root',
'ansible_connection': 'smart'}}}
2023-04-26 07:22:38,319+0000 DEBUG otopi.context context._executeMethod:143 method
exception
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
line 508, in _closeup
if r['ansible-playbook_rc'] != 0:
KeyError: 'ansible-playbook_rc'
2023-04-26 07:22:38,319+0000 ERROR otopi.context context._executeMethod:151 Failed to
execute stage 'Closing up': 'ansible-playbook_rc'
I could not understand the above error and could not trace back into any script (still
trying). If you guys know what this is and if there is any fix/workaround, please help.
Thanks