As basic as can be install/deploy. Used ovirt-node-ng-installer-latest-el8.iso. Followed
steps exactly. Took all defaults possible. After step 23 (Specify the hostname of the
deployment host:) the deployment starts. It goes for quite a long time until it fails
here, never getting to step 25 and asking me for storage:
2023-11-19 22:19:45,568+0000 DEBUG var changed: host "localhost" var
"module_setup" type "<class 'bool'>" value:
"true"
1888 2023-11-19 22:19:45,568+0000 DEBUG var changed: host "localhost" var
"discovered_interpreter_python" type "<class
'ansible.utils.unsafe_proxy.AnsibleUnsafeText'>" value:
""/usr/libexec/platform-python""
1889 2023-11-19 22:19:45,568+0000 INFO ansible ok {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml',
'ansible_host': 'localhost', 'ansible_task': 'For ce
facts gathering', 'task_duration': 1}
1890 2023-11-19 22:19:45,568+0000 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f2028102220> kwargs
1891 2023-11-19 22:19:45,664+0000 INFO ansible task start {'status':
'OK', 'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml',
'ansible_task': 'ovirt.ovirt.hosted_engin e_setup : Set the name for
add_host'}
1892 2023-11-19 22:19:45,664+0000 DEBUG ansible on_any args TASK:
ovirt.ovirt.hosted_engine_setup : Set the name for add_host kwargs is_conditional:False
1893 2023-11-19 22:19:45,664+0000 DEBUG ansible on_any args localhost TASK:
ovirt.ovirt.hosted_engine_setup : Set the name for add_host kwargs
1894 2023-11-19 22:19:45,759+0000 ERROR ansible failed {
1895 "ansible_host": "localhost",
1896 "ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml",
1897 "ansible_result": {
1898 "_ansible_no_log": false,
1899 "msg": "The task includes an option with an undefined
variable. The error was: 'local_vm_ip' is undefined\n\nThe error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_en
gine_setup/tasks/sync_on_engine_machine.yml': line 2, column 3, but may\nbe elsewhere
in the file depending on the exact syntax problem.\n\nThe offending line appears to
be:\n\n---\n- name: Set the name for add_host\n ^ he re\n"
1900 },
1901 "ansible_task": "Set the name for add_host",
1902 "ansible_type": "task",
1903 "status": "FAILED",
1904 "task_duration": 0
1905 }
Summary is:
2197 2023-11-19 22:20:02,141+0000 INFO SUMMARY:
2198 Duration Task Name
2199 -------- --------
2200 [ < 1 sec ] Execute just a specific set of steps
2201 [ 00:01 ] Force facts gathering
2202 [ FAILED ] Set the name for add_host
2203 [ < 1 sec ] Fetch the value of HOST_KEY_CHECKING
2204 [ < 1 sec ] Get the username running the deploy
2205 [ FAILED ] Register the engine FQDN as a host
2206 [ FAILED ] Sync on engine machine
2207 [ < 1 sec ] Fetch logs from the engine VM
2208 [ < 1 sec ] Set destination directory path
2209 [ < 1 sec ] Create destination directory
2210 [ < 1 sec ] Find the local appliance image
2211 [ 00:10 ] Give the vm time to flush dirty buffers
2212 [ < 1 sec ] Change ownership of copied engine logs
2213 [ < 1 sec ] Remove local vm dir
2214 [ < 1 sec ] Remove temporary entry in /etc/hosts for the local VM
2215 [ < 1 sec ] Clean local storage pools
2216 [ FAILED ] Destroy local storage-pool localvmk0rv3u2g
2217 [ FAILED ] Undefine local storage-pool localvmk0rv3u2g
2218 [ FAILED ] Destroy local storage-pool {{
local_vm_disk_path.split('/')[5] }}
2219 [ FAILED ] Undefine local storage-pool {{
local_vm_disk_path.split('/')[5] }}
I am using a viable FQDN and IP for my engine which is on the same network as the host.
I've been at this for more than a week with different options/OSs. Figured this was
the most basic possible configuration and yet it still doesn't work. Incredibly
frustrating product.