Hey!

Host2 and Host3 should be added automatically if you have provided the FQDN for these hosts during the deployment.
From the error above 
"msg": "Error getting key from: https://ovirt-engine2.example.com/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY"

I think that the HE deployment had an issue, which is causing trouble for the host1 to get the key from the engine to add to the second host.
In case the HE deployment has failed across all three hosts, you can clean up the HE deployment and go through the UI of host1.
Then follow the steps for HE deployment. On the last step, there will be an option for mount where you mention the mount point for the first host and an option for backup-volfile-servers where you mention host2:host3 in this format. This should add both the hosts automatically.

On Wed, Oct 23, 2019 at 3:02 AM <adrianquintero@gmail.com> wrote:
Im still not able to incorporate host2 and 3 thru ansible hyperconverged deployment using ansible. After the deploy the engine is up but cant add the servers manually as it complains about the host keys...

TASK [Set Engine public key as authorized key without validating the TLS/SSL certificates] **************************************************************************************************************************************************************************************************************************************************
task path: /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/add_hosts_storage_domains.yml:4


Failed: [host1.example.com -> host2.example.com] (item=host2.example.com) => {
    "ansible_loop_var": "host",
    "changed": false,
    "host": "host2.example.com",
    "invocation": {
        "module_args": {
            "comment": null,
            "exclusive": false,
            "follow": false,
            "key": "https://ovirt-engine2.example.com/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY",
            "key_options": null,
            "manage_dir": true,
            "path": null,
            "state": "present",
            "user": "root",
            "validate_certs": false
        }
    },
    "msg": "Error getting key from: https://ovirt-engine2.example.com/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY"
}

thoughts?

Thank you,

Adrian
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VY36JSI4YD2URTZQG5VZWMV6OR5TWZNM/