OLVM Self-Hosted Installation Fails to Access Local YUM Mirror in Offline Environment
Referring to Document ID 2933018.1, an error occurred while installing oVirt Engine in self-hosted mode using an HTTPD-based local YUM mirror.
The installation command used is:
hosted-engine --deploy --4 --ansible-extra-vars="@/root/extra-vars.yml"
Contents of extra-vars.yml are as follows:
he_offline_deployment: true
he_enable_keycloak: false
he_pause_before_engine_setup: true
During the installation, the following error message is displayed:
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup: Install Oracle oVirt repo][ ERROR ] fatal: [localhost -> ...]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'ol8_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml.
After the Engine VM boots up, I accessed it via SSH at 192.168.222.56 and confirmed that it tried to connect to the local YUM repository server (port 80), but the following error occurred: