Thanks very for the reply Marcos. I tried another deployment, just to see if 
"wait for the host to be up" would time out, and I saw a couple of errors in 
the log:

From the ovirt-hosted-engine-setup-ansible-final_clean log, it mentions that 
the VM IP is undefined:

2024-01-23 12:50:19,554+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
{'msg': "The task includes an option with an undefined variable. The error was: 
'local_vm_ip' is undefined. '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", '_ansible_no_log': False}

In the ovirt-hosted-engine-setuplog, it mentions not being able to get the 
storage pool: 

2024-01-23 12:50:35,787+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
{'changed': True, 'stdout': '', 'stderr': "error: failed to get pool 
'localvmvy8whst5'\nerror: Storage pool not found: no storage pool with matching 
name 'localvmvy8whst5'", 'rc': 1, 'cmd': ['virsh', '-c', 
'qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf', 
'pool-destroy', 'localvmvy8whst5'], 'start': '2024-01-23 12:50:35.558666', 
'end': '2024-01-23 12:50:35.611808', 'delta': '0:00:00.053142', 'msg': 
'non-zero return code', 'invocation': {'module_args': {'_raw_params': 'virsh -c 
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf pool-destroy 
localvmvy8whst5', '_uses_shell': False, 'stdin_add_newline': True, 
'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 
'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': [], 
'stderr_lines': ["error: failed to get pool 'localvmvy8whst5'", "error: Storage 
pool not fou
 nd: no storage pool with matching name 'localvmvy8whst5'"], '_ansible_no_log': 
None}

I set the IP to the one I have assigned in DNS, but when I attach to the 
console of the VM (which is still running, though the disk image has been 
deleted) via virsh, it shows me a completely different IP: In hosted-engine 
--deploy, I set a 10.0.0.x address, however, it shows a 192.168.1.x address on 
the VM. Do I need to set this somewhere else, e.g., with 
'--ansible-extra-vars=he_ipv4_subnet_prefix='? 

As for the storage pool, is that for later VM deployment? The deploy script did 
not ask me for a storage location. If I need to specify this, where do I do 
this? 

Thanks again for any help,

Kind regards,

Cam

PS: is there a simple way to have the answers saved so I don't have to keep 
running through all the questions every time I try a deployment
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/77W6L2HUATG3T5FECNTQSJSZVIM5R6R5/

Reply via email to