According to github the task is :

  - name: Set Engine public key as authorized key without validating the TLS/SSL certificates
    authorized_key:
      user: root
      state: present
      key: https://{{ he_fqdn }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
      validate_certs: false

Before the deployment in cockpit, you have the opportunity to edit the playbook.

Can you add 'register: output' & 'failed_when: never' in that task (same indentation level as authorized_key )
and then create another task (indentation is important, use 2 spaces for each indentation level) :

- name: DEBUG
  debug:
    var: 'output'

Best Regards,
Strahil Nikolov

On Wed, May 12, 2021 at 0:50, Harry O
<harryo.dk@gmail.com> wrote:
Thanks Strahil, I think I we found the relevent error in logs:

[  00:03  ]    Make the engine aware that the external VM is stopped
[  00:01  ]    Wait for the local bootstrap VM to be down at engine eyes
[  00:02  ]    Remove bootstrap external VM from the engine
[  00:04  ]    Remove ovirt-engine-appliance rpm
[ < 1 sec ]    Include custom tasks for after setup customization
[ < 1 sec ]    Include Host vars
[ FAILED  ]    Set Engine public key as authorized key without validating the TLS/SSL certificates
2021-05-11 11:15:34,420+0200 DEBUG ansible on_any args <ansible.executor.stats.AggregateStats object at 0x7fd4c0e6e9b0>  kwargs
[root@hej1 ~]# cat /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-create_target_vm-20210511110328-fcgvwi.log

Can you recognize an issue you know from all the info I have provided, do I need to dig further?

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/DXLFILNM7TDXZ5E44SKKYE7V6S373W5Z/