Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (RHV Host (redhat-virtualization-host) 4.4), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2020:3316
Description of problem: Failed to deploy host on RHV Manager The task failing on the Manager while deploying the host is mentioned below, ~~~ 2020-05-20 11:02:17 CEST - TASK [ovirt-host-deploy-facts : Install Python3 for CentOS/RHEL8 hosts] ******** 2020-05-20 11:02:23 CEST - fatal: [rhv.example.com]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []} 2020-05-20 11:02:23 CEST - { "status" : "OK", "msg" : "", "data" : { "uuid" : "165cb89d-d907-4364-a792-7fe6d24194c3", "counter" : 26, "stdout" : "fatal: [rhv.example.com]: FAILED! => {\"changed\": false, \"msg\": \"Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried\", \"rc\": 1, \"results\": []}", ... ... "task" : "Install Python3 for CentOS/RHEL8 hosts", "task_uuid" : "005056ad-93c2-805f-d9a8-000000000022", "task_action" : "yum", "task_args" : "", "task_path" : "/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/main.yml:37", "role" : "ovirt-host-deploy-facts", "host" : "rhv.example.com", "remote_addr" : "rhv.example.com", "res" : { "msg" : "Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", ~~~ => Failed task in playbook /usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/main.yml ~~~ - name: Install Python3 for CentOS/RHEL8 hosts yum: name: python3 state: present when: el_ver|int >= 8 ~~~ We have verified that the package is present on the system. ~~~ $ grep python36 installed-rpms python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 Tue May 19 20:57:18 2020 $ yum whatprovides python36 ... ... python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 : Interpreter of the Python programming language Repo : @System Matched from: Provide : python3 = 3.6.8-2.module+el8.1.0+3334+5cb623d7 python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 : Interpreter of the Python programming language Repo : rhel-8-for-x86_64-appstream-rpms Matched from: Provide : python3 = 3.6.8-2.module+el8.1.0+3334+5cb623d7 ~~~ Version-Release number of selected component (if applicable): rhvm-4.4.0-0.34.master.el8ev.noarch How reproducible: Install RHV host and add it to RHV Manager 4.4 beta Actual results: The RHV Host failed to deploy with ERROR: 020-05-20 11:02:23 IST - fatal: [rhvh.example.com]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []} Expected results: RHV Host installed successfully. Additional info: -