Hi,

I'm trying to deploy a self hosted engine, and it gets to 'Wait for the host to 
be up' and then fails about 20mins later. Checking the hosted engine setup log, 
the failure seems to be to do with a storage pool not being found (see error 
below). Is this error referring to the storage pool that the hosted engine will 
use? The setup script does not ask me what kind of storage I want to use, or 
the path for it, does it auto detect this? The host I am running the engine 
setup on is part of a gluster cluster, which I have provisioned for this 
purpose. Do I need to edit a file somewhere to specify this, or is there 
something else I need to do (permissions etc)? The hosted engine VM itself 
comes up fine, and I can get a console on it via virsh. 

Thanks for any help,

kind regards,

Cam

2024-02-08 16:39:04,438+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
{'changed': True, 'stdout': '', 'stderr': "error: failed to get pool 
'localvm0bod0wzw'\nerror: Storage pool not found: no storage pool with matching 
name 'localvm0bod0wzw'", 'rc': 1, 'cmd': ['virsh', '-c', 
'qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf', 
'pool-destroy', 'localvm0bod0wzw'], 'start': '2024-02-08 16:39:04.246510', 
'end': '2024-02-08 16:39:04.301790', 'delta': '0:00:00.055280', 'msg': 
'non-zero return code', 'invocation': {'module_args': {'_raw_params': 'virsh -c 
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf pool-destroy 
localvm0bod0wzw', '_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 'localvm0bod0wzw'", "error: Storage 
pool not fou
 nd: no storage pool with matching name 'localvm0bod0wzw'"], '_ansible_no_log': 
None}
2024-02-08 16:39:04,539+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
ignored: [localhost]: FAILED! => {"changed": true, "cmd": ["virsh", "-c", 
"qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf", 
"pool-destroy", "localvm0bod0wzw"], "delta": "0:00:00.055280", "end": 
"2024-02-08 16:39:04.301790", "msg": "non-zero return code", "rc": 1, "start": 
"2024-02-08 16:39:04.246510", "stderr": "error: failed to get pool 
'localvm0bod0wzw'\nerror: Storage pool not found: no storage pool with matching 
name 'localvm0bod0wzw'", "stderr_lines": ["error: failed to get pool 
'localvm0bod0wzw'", "error: Storage pool not found: no storage pool with 
matching name 'localvm0bod0wzw'"], "stdout": "", "stdout_lines": []}
2024-02-08 16:39:04,839+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
{'changed': True, 'stdout': '', 'stderr': "error: failed to get pool 
'localvm0bod0wzw'\nerror: Storage pool not found: no storage pool with matching 
name 'localvm0bod0wzw'", 'rc': 1, 'cmd': ['virsh', '-c', 
'qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf', 
'pool-undefine', 'localvm0bod0wzw'], 'start': '2024-02-08 16:39:04.638774', 
'end': '2024-02-08 16:39:04.691953', 'delta': '0:00:00.053179', 'msg': 
'non-zero return code', 'invocation': {'module_args': {'_raw_params': 'virsh -c 
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf pool-undefine 
localvm0bod0wzw', '_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 'localvm0bod0wzw'", "error: Storage 
pool not f
 ound: no storage pool with matching name 'localvm0bod0wzw'"], 
'_ansible_no_log': None}
2024-02-08 16:39:04,940+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
ignored: [localhost]: FAILED! => {"changed": true, "cmd": ["virsh", "-c", 
"qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf", 
"pool-undefine", "localvm0bod0wzw"], "delta": "0:00:00.053179", "end": 
"2024-02-08 16:39:04.691953", "msg": "non-zero return code", "rc": 1, "start": 
"2024-02-08 16:39:04.638774", "stderr": "error: failed to get pool 
'localvm0bod0wzw'\nerror: Storage pool not found: no storage pool with matching 
name 'localvm0bod0wzw'", "stderr_lines": ["error: failed to get pool 
'localvm0bod0wzw'", "error: Storage pool not found: no storage pool with 
matching name 'localvm0bod0wzw'"], "stdout": "", "stdout_lines": []}
2024-02-08 16:39:05,141+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_disk_path\' is undefined. \'local_vm_disk_path\' is undefined\n\nThe 
error appears to be in 
\'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/clean_local_storage_pools.yml\':
 line 16, column 7, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n      changed_when: 
true\n    - name: Destroy local storage-pool {{ 
local_vm_disk_path.split(\'/\')[5] }}\n      ^ here\nWe could be wrong, but 
this one looks like it might be an issue with\nmissing quotes. Always quote 
template expression brackets when they\nstart a value. For instance:\n\n    
with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n    
  - "{{ foo }}"\n', '_ansible_no_log': False}
2024-02-08 16:39:05,241+0000 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_disk_path' is undefined. 
'local_vm_disk_path' is undefined\n\nThe error appears to be in 
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/clean_local_storage_pools.yml':
 line 16, column 7, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n      changed_when: 
true\n    - name: Destroy local storage-pool {{ 
local_vm_disk_path.split('/')[5] }}\n      ^ here\nWe could be wrong, but this 
one looks like it might be an issue with\nmissing quotes. Always quote template 
expression brackets when they\nstart a value. For instance:\n\n    
with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n    
  - \"{{ foo }}\"\n"}
2024-02-08 16:39:05,442+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_disk_path\' is undefined. \'local_vm_disk_path\' is undefined\n\nThe 
error appears to be in 
\'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/clean_local_storage_pools.yml\':
 line 22, column 7, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n      changed_when: 
true\n    - name: Undefine local storage-pool {{ 
local_vm_disk_path.split(\'/\')[5] }}\n      ^ here\nWe could be wrong, but 
this one looks like it might be an issue with\nmissing quotes. Always quote 
template expression brackets when they\nstart a value. For instance:\n\n    
with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n    
  - "{{ foo }}"\n', '_ansible_no_log': False}
2024-02-08 16:39:05,543+0000 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_disk_path' is undefined. 
'local_vm_disk_path' is undefined\n\nThe error appears to be in 
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/clean_local_storage_pools.yml':
 line 22, column 7, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n      changed_when: 
true\n    - name: Undefine local storage-pool {{ 
local_vm_disk_path.split('/')[5] }}\n      ^ here\nWe could be wrong, but this 
one looks like it might be an issue with\nmissing quotes. Always quote template 
expression brackets when they\nstart a value. For instance:\n\n    
with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n    
  - \"{{ foo }}\"\n"}
2024-02-08 16:39:05,643+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 
PLAY RECAP [localhost] : ok: 22 changed: 4 unreachable: 0 skipped: 2 failed: 0
_______________________________________________
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/OCD7PDYPX4QLEN5OY22F24ZKBYLTLTAQ/

Reply via email to