ovirt-ansible-collection
ovirt-ansible-collection copied to clipboard
hosted_engine_setup tries to remove host using 'he_host_name' as 'vds_name'
SUMMARY
When deploying the hosted engine with a backup file, one of the SQL queries to remove the hosted-engine host is incorrect as it compares the vds_name
with the host_name
, which can be different.
IMO this line:
https://github.com/oVirt/ovirt-ansible-collection/blob/07b5897673ed68f6d4a3bbb6ec80d62ab389fecc/roles/hosted_engine_setup/tasks/restore_backup.yml#L51
should be:
- { vds_type: 'host_name', input: "{{ he_host_name }}" }
COMPONENT NAME
hosted_engine_setup