Adding a secondary hosted-engine host fails with error "Failed to fetch hosted engine configuration file"

Solution Verified - Updated -

Issue

  • Adding a secondary hosted-engine host fails with the error Failed to fetch hosted engine configuration file and the Ansible logs have the below messages:
2023-03-13 10:03:08 GST - fatal: [myfirsthost.example.com]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"myfirsthost.example.com\". Make sure this host can be reached over ssh: ssh: Could not resolve hostname myfirsthost.example.com: Name or service not known\r\n", "unreachable": true}

Environment

  • Red Hat Virtualization 4.4.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content