I have managed to work around the hanging host by reducing the memory of the hosted engine
during the deploy. But unfortunately the deploy still fails.
There is no real error message in the deployment log:
2020-11-09 08:58:55,337+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 TASK [ovirt.hosted_engine_setup : Wait for the host to
be up]
2020-11-09 09:02:24,776+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 ok: [localhost]
2020-11-09 09:02:26,380+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:105 TASK [ovirt.hosted_engine_setup : debug]
2020-11-09 09:02:27,883+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:105 host_result_up_check: {'changed': False,
'ovirt_hosts': [{'href':
'/ovirt-engine/api/hosts/9e504890-bcb8-40b1-813f-ee123547b3f9', 'comment':
'', 'id': '9e504890-bcb8-40b1-813f-ee123547b3f9', 'name':
'station5.example.com', 'address': 'station5.example.com',
'affinity_labels': [], 'auto_numa_status': 'unknown',
'certificate': {'organization': 'example.com', 'subject':
'O=example.com,CN=station5.example.com'}, 'cluster': {'href':
'/ovirt-engine/api/clusters/1e67ce6a-2011-11eb-8029-00163e28a2ed', 'id':
'1e67ce6a-2011-11eb-8029-00163e28a2ed'}, 'cpu': {'name':
'Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz', 'speed': 3554.0,
'topology': {'cores': 4, 'sockets': 1, 'threads': 1},
'type': 'Intel SandyBridge IBRS SSBD MDS Family'},
'device_passthrough': {'enabled': False}, 'devices': [],
'external_network_provider_configurations': [], 'external_status':
'ok', 'hardware_information': {'
family': '103C_53307F G=D', 'manufacturer':
'Hewlett-Packard', 'product_name': 'HP Compaq Pro 6300 SFF',
'serial_number': 'CZC41045SC', 'supported_rng_sources':
['random', 'hwrng'], 'uuid':
'F748FD00-9E43-11E3-9BDA-A0481C87CA32', 'version': ''},
'hooks': [], 'iscsi': {'initiator':
'iqn.1994-05.com.redhat:a668abd829a1'}, 'katello_errata': [],
'kdump_status': 'disabled', 'ksm': {'enabled': False},
'libvirt_version': {'build': 0, 'full_version':
'libvirt-6.0.0-25.2.el8', 'major': 6, 'minor': 0,
'revision': 0}, 'max_scheduling_memory': 16176381952, 'memory':
16512974848, 'network_attachments': [], 'nics': [], 'numa_nodes':
[], 'numa_supported': False, 'os': {'custom_kernel_cmdline':
'', 'reported_kernel_cmdline':
'BOOT_IMAGE=(hd0,msdos1)//ovirt-node-ng-4.4.2-0.20200918.0+1/vmlinuz-4.18.0-193.19.1.el8_2.x86_64
crashkernel=auto resume=/dev/mapper/onn-swap
rd.lvm.lv=onn/ovirt-node-ng-4.4.2-0.20200918.0+1 rd.lvm.lv=onn/swap rhgb quiet
root=/dev/onn/ovirt-node-ng-4.4.2-0.20200918.0+1 boot=UU
ID=78682d93-a122-4ea9-8593-224fa32b7ab4 rootflags=discard
img.bootid=ovirt-node-ng-4.4.2-0.20200918.0+1', 'type': 'RHEL',
'version': {'full_version': '8 - 2.2004.0.1.el8', 'major':
8}}, 'permissions': [], 'port': 54321, 'power_management':
{'automatic_pm_enabled': True, 'enabled': False,
'kdump_detection': True, 'pm_proxies': []}, 'protocol':
'stomp', 'se_linux': {'mode': 'enforcing'}, 'spm':
{'priority': 5, 'status': 'none'}, 'ssh':
{'fingerprint': 'SHA256:pUi4oFo/5DGLYbWN39rEiap3bUfVK1C/6OPEecf8GFg',
'port': 22}, 'statistics': [], 'status':
'non_operational', 'status_detail': 'storage_domain_unreachable',
'storage_connection_extensions': [], 'summary': {'active': 1,
'migrating': 0, 'total': 1}, 'tags': [],
'transparent_huge_pages': {'enabled': True}, 'type':
'rhel', 'unmanaged_networks': [], 'update_available': False,
'version': {'build': 26, 'full_version':
'vdsm-4.40.26.3-1.el8', 'major': 4, 'minor': 40,
'revision': 3}, 'vgpu_placement': 'consolidated'}],
'failed': False, 'attem
pts': 21}
2020-11-09 09:02:29,386+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 TASK [ovirt.hosted_engine_setup : Notify the user about
a failure]
2020-11-09 09:02:30,891+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 skipping: [localhost]
2020-11-09 09:02:32,395+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 TASK [ovirt.hosted_engine_setup : set_fact]
2020-11-09 09:02:33,800+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 ok: [localhost]
2020-11-09 09:02:35,404+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 TASK [ovirt.hosted_engine_setup : Collect error events
from the Engine]
2020-11-09 09:02:37,410+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 ok: [localhost]
2020-11-09 09:02:39,114+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:111 TASK [ovirt.hosted_engine_setup : Generate the error
message from the engine events]
2020-11-09 09:02:40,819+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:105 {'msg': "The task includes an option with
an undefined variable. The error was: 'dict object' has no attribute
'host'\n\nThe error appears to be in
'/usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml':
line 165, column 9, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n\n - name: Generate the error
message from the engine events\n ^ here\n", '_ansible_no_log': False}
I could attach the full log, if required.