
After looking into logs.. I think issue is about storage where it should deploy. Wizard did not seem to focus on that.. I A$$umed it was aware of volume per previous detected deployment... but... #### 2021-01-18 10:34:07,917-0500 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 TASK [ovirt.ovirt.hosted_engine_setup : Clean local storage pools] 2021-01-18 10:34:08,418-0500 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 ok: [localhost] 2021-01-18 10:34:08,919-0500 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 TASK [ovirt.ovirt.hosted_engine_setup : Destroy local storage-pool {{ he_local_vm_dir | basename }}] 2021-01-18 10:34:09,320-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 {'msg': 'Unexpected templating type error occurred on (virsh -c qemu:///system?authfile={{ he_libvirt_authfile }} pool-destroy {{ he_local_vm_dir | basename }}): expected str, bytes or os.PathLike object, not NoneType', '_ansible_no_log': False} 2021-01-18 10:34:09,421-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 ignored: [localhost]: FAILED! => {"msg": "Unexpected templating type error occurred on (virsh -c qemu:///system?authfile={{ he_libvirt_authfile }} pool-destroy {{ he_local_vm_dir | basename }}): expected str, bytes or os.PathLike object, not NoneType"} 2021-01-18 10:34:09,821-0500 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 TASK [ovirt.ovirt.hosted_engine_setup : Undefine local storage-pool {{ he_local_vm_dir | basename }}] 2021-01-18 10:34:10,223-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 {'msg': 'Unexpected templating type error occurred on (virsh -c qemu:///system?authfile={{ he_libvirt_authfile }} pool-undefine {{ he_local_vm_dir | basename }}): expected str, bytes or os.PathLike object, not NoneType', '_ansible_no_log': False} 2021-01-18 10:34:10,323-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 ignored: [localhost]: FAILED! => {"msg": "Unexpected templating type error occurred on (virsh -c qemu:///system?authfile={{ he_libvirt_authfile }} pool-undefine {{ he_local_vm_dir | basename }}): expected str, bytes or os.PathLike object, not NoneType"} 2021-01-18 10:34:10,724-0500 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 TASK [ovirt.ovirt.hosted_engine_setup : Destroy local storage-pool {{ local_vm_disk_path.split('/')[5] }}] 2021-01-18 10:34:11,125-0500 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: \'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 5, 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} 2021-01-18 10:34:11,226-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 ignored: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: '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 5, 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"} 2021-01-18 10:34:11,626-0500 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 TASK [ovirt.ovirt.hosted_engine_setup : Undefine local storage-pool {{ local_vm_disk_path.split('/')[5] }}] 2021-01-18 10:34:12,028-0500 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: \'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 5, 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} 2021-01-18 10:34:12,128-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 ignored: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: '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 5, 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"} 2021-01-18 10:34:12,529-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 PLAY RECAP [localhost] : ok: 22 changed: 4 unreachable: 1 skipped: 3 failed: 0 2021-01-18 10:34:12,630-0500 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 ansible-playbook rc: 0 ### [root@medusa ~]# mount |grep engine /dev/mapper/gluster_vg_sdb-gluster_lv_engine on /gluster_bricks/engine type xfs (rw,noatime,nodiratime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota,_netdev,x-systemd.requires=vdo.service) medusast.penguinpages.local:/engine on /media/engine type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072,_netdev) [root@medusa engine]# tree . ├── 3afc47ba-afb9-413f-8de5-8d9a2f45ecde │ ├── dom_md │ │ ├── ids │ │ ├── inbox │ │ ├── leases │ │ ├── metadata │ │ ├── outbox │ │ └── xleases │ ├── ha_agent │ │ ├── hosted-engine.lockspace -> /run/vdsm/storage/3afc47ba-afb9-413f-8de5-8d9a2f45ecde/6023f2b1-ea6e-485b-9ac2-8decd5f7820d/b38a5e37-fac4-4c23-a0c4-7359adff619c │ │ └── hosted-engine.metadata -> /run/vdsm/storage/3afc47ba-afb9-413f-8de5-8d9a2f45ecde/77082dd8-7cb5-41cc-a69f-0f4c0380db23/38d552c5-689d-47b7-9eea-adb308da8027 │ ├── images │ │ ├── 1dc69552-dcc6-484d-8149-86c93ff4b8cc │ │ │ ├── e4e26573-09a5-43fa-91ec-37d12de46480 │ │ │ ├── e4e26573-09a5-43fa-91ec-37d12de46480.lease │ │ │ └── e4e26573-09a5-43fa-91ec-37d12de46480.meta │ │ ├── 375d2483-ee83-4cad-b421-a5a70ec06ba6 │ │ │ ├── f936d4be-15e3-4983-8bf0-9ba5b97e638a │ │ │ ├── f936d4be-15e3-4983-8bf0-9ba5b97e638a.lease │ │ │ └── f936d4be-15e3-4983-8bf0-9ba5b97e638a.meta │ │ ├── 6023f2b1-ea6e-485b-9ac2-8decd5f7820d │ │ │ ├── b38a5e37-fac4-4c23-a0c4-7359adff619c │ │ │ ├── b38a5e37-fac4-4c23-a0c4-7359adff619c.lease │ │ │ └── b38a5e37-fac4-4c23-a0c4-7359adff619c.meta │ │ ├── 685309b1-1ae9-45f3-90c3-d719a594482d │ │ │ ├── 9eddcf51-fd15-4de5-a4b6-a83a9082dee0 │ │ │ ├── 9eddcf51-fd15-4de5-a4b6-a83a9082dee0.lease │ │ │ └── 9eddcf51-fd15-4de5-a4b6-a83a9082dee0.meta │ │ ├── 74f1b2e7-2483-4e4d-8301-819bcd99129e │ │ │ ├── c1888b6a-c48e-46ce-9677-02e172ef07af │ │ │ ├── c1888b6a-c48e-46ce-9677-02e172ef07af.lease │ │ │ └── c1888b6a-c48e-46ce-9677-02e172ef07af.meta │ │ └── 77082dd8-7cb5-41cc-a69f-0f4c0380db23 │ │ ├── 38d552c5-689d-47b7-9eea-adb308da8027 │ │ ├── 38d552c5-689d-47b7-9eea-adb308da8027.lease │ │ └── 38d552c5-689d-47b7-9eea-adb308da8027.meta │ └── master │ ├── tasks │ │ ├── 150927c5-bae6-45e4-842c-a7ba229fc3ba │ │ │ └── 150927c5-bae6-45e4-842c-a7ba229fc3ba.job.0 │ │ ├── 21bba697-26e6-4fd8-ac7c-76f86b458368.temp │ │ ├── 26c580b8-cdb2-4d21-9bea-96e0788025e6.temp │ │ ├── 2e0e347c-fd01-404f-9459-ef175c82c354.backup │ │ │ └── 2e0e347c-fd01-404f-9459-ef175c82c354.task │ │ ├── 43f17022-e003-4e9f-81ec-4a01582223bd.backup │ │ │ └── 43f17022-e003-4e9f-81ec-4a01582223bd.task │ │ ├── 5055f61a-4cc8-459f-8fe5-19427b74a4f2.temp │ │ ├── 6826c8f5-b9df-498e-a576-af0c4e7fe69c │ │ │ └── 6826c8f5-b9df-498e-a576-af0c4e7fe69c.task │ │ ├── 78ed90b0-2a87-4c48-8204-03d4b0bd7694 │ │ │ └── 78ed90b0-2a87-4c48-8204-03d4b0bd7694.job.0 │ │ ├── 7c7799a5-d28e-4b42-86ee-84bb8822e82f.temp │ │ ├── 95d29b8c-23d9-4d1a-b995-2ba364970893 │ │ ├── 95d29b8c-23d9-4d1a-b995-2ba364970893.temp │ │ ├── a1fa934a-5ea7-4160-ab8c-7e3476dc2676.backup │ │ │ └── a1fa934a-5ea7-4160-ab8c-7e3476dc2676.task │ │ ├── bcee8725-efde-4848-a108-01c262625aaa │ │ │ └── bcee8725-efde-4848-a108-01c262625aaa.job.0 │ │ ├── c0b5a032-c4a9-4648-b348-c2a5cf4d6cad.temp │ │ ├── ce7e2ebf-2c28-435d-b359-14d0da2e9011 │ │ └── ce7e2ebf-2c28-435d-b359-14d0da2e9011.temp │ └── vms ├── wget-log ├── wget-log.1 ├── wget-log.2 └── wget-log.3 29 directories, 37 files [root@medusa engine]# ## Question: 1) Why does engine not prompt for data deployment location?... looking at log of deployment .. "...The error was: \'local_vm_disk_path\' is undefined\..."