Good morning,
I have a fresh installed host node ovirt v.4.5 and i would install engine using terminal,
using the commanda hosted-engine --deploy
host node has a ip on 160.97.xx and i want the engine on the same network (160.97.xx)
The installation seems to be good but at the end
exit leaving the host-engine running on 192.168.222.x
Seems that the error is here:
2023-04-25 06:28:18,953+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 ignored: [localhost]: FAILED! => {"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_engine_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
^ here\n"}
....
....
2023-04-25 06:28:19,757+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 ignored: [localhost]: FAILED! =>
{"censored": "the output has been hidden due to the fact that 'no_log:
true' was specified for this result"}
2023-04-25 06:28:19,857+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:115 TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine
machine]
2023-04-25 06:28:19,958+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 {'msg': "The field 'delegate_to'
has an invalid value, which includes an undefined variable. The error was: 'dict
object' has no attribute 'engine'\n\nThe error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/sync_on_engine_machine.yml':
line 7, column 3, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n import_tasks:
add_engine_as_ansible_host.yml\n- name: Sync on engine machine\n ^ here\n",
'_ansible_no_log': None}
2023-04-25 06:28:20,058+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 ignored: [localhost]: FAILED! => {"msg":
"The field 'delegate_to' has an invalid value, which includes an undefined
variable. The error was: 'dict object' has no attribute 'engine'\n\nThe
error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/sync_on_engine_machine.yml':
line 7, column 3, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n import_tasks:
add_engine_as_ansible_host.yml\n- name: Sync on engine machine\n ^ here\n"}
Help me, please