Hello,
I'm trying to deploy a self hosted engine in a KVM node oracle linux 8.8.
But I have got the following error:
2023-12-21 10:40:43,687+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:115 TASK [ovirt.ovirt.hosted_engine_setup : Install Oracle
oVirt repo using specified url]
2023-12-21 10:40:43,889+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:115 skipping: [localhost]
2023-12-21 10:40:44,091+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:115 TASK [ovirt.ovirt.hosted_engine_setup : Install Oracle
oVirt repo]
2023-12-21 10:41:28,976+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 {'results': [], 'rc': 1, 'msg':
"Failed to download metadata for repo 'ol8
_baseos_latest': Cannot download repomd.xml: Curl error (5): Couldn't resolve
proxy name for
https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/repodata...
[Could not
resolve proxy: www-proxy.us.oracle.com]", 'invocation':
{'module_args': {'name': ['oracle-ovirt-release-45-el8'],
'state': 'present', 'allow_downgrade': False,
'autoremove': False, 'bugfix'
: False, 'cacheonly': False, 'disable_gpg_check': False,
'disable_plugin': [], 'disablerepo': [], 'download_only': False,
'enable_plugin': [], 'enablerepo': [], 'exclude': [],
'installroot'
: '/', 'install_repoquery': True, 'install_weak_deps': True,
'security': False, 'skip_broken': False, 'update_cache': False,
'update_only': False, 'validate_certs': True, 'sslverify': True,
'lock_timeout': 30, 'allowerasing': False, 'nobest': False,
'conf_file': None, 'disable_excludes': None, 'download_dir': None,
'list': None, 'releasever': None}}, '_ansible_no_log': None,
'attempts': 10, 'changed': False, '_ansible_delegated_vars':
{'ansible_host': '192.168.222.75', 'ansible_port': None,
'ansible_user': 'root', 'ansible_connection': 'smart'}}
2023-12-21 10:41:29,078+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:113 fatal: [localhost -> 192.168.222.75]: FAILED! =>
{"attempts": 10, "changed
": false, "msg"2023-12-21 10:40:43,687+0100 INFO
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:115 TASK
[ovirt.ovirt.hosted_engine_setup : Install Oracle oVirt repo using spe
cified url]
2023-12-21 10:40:43,889+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:115 skipping: [localhost]
2023-12-21 10:40:44,091+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:115 TASK [ovirt.ovirt.hosted_engine_setup : Install Oracle
oVirt repo]
2023-12-21 10:41:28,976+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:109 {'results': [], 'rc': 1, 'msg':
"Failed to download metadata for repo 'ol8
_baseos_latest': Cannot download repomd.xml: Curl error (5): Couldn't resolve
proxy name for
https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/repodata...
[Could not
resolve proxy: www-proxy.us.oracle.com]", 'invocation':
{'module_args': {'name': ['oracle-ovirt-release-45-el8'],
'state': 'present', 'allow_downgrade': False,
'autoremove': False, 'bugfix'
: False, 'cacheonly': False, 'disable_gpg_check': False,
'disable_plugin': [], 'disablerepo': [], 'download_only': False,
'enable_plugin': [], 'enablerepo': [], 'exclude': [],
'installroot'
: '/', 'install_repoquery': True, 'install_weak_deps': True,
'security': False, 'skip_broken': False, 'update_cache': False,
'update_only': False, 'validate_certs': True, 'sslverify': True,
'lock_timeout': 30, 'allowerasing': False, 'nobest': False,
'conf_file': None, 'disable_excludes': None, 'download_dir': None,
'list': None, 'releasever': None}}, '_ansible_no_log': None,
'attempts': 10, 'changed': False, '_ansible_delegated_vars':
{'ansible_host': '192.168.222.75', 'ansible_port': None,
'ansible_user': 'root', 'ansible_connection': 'smart'}}
2023-12-21 10:41:29,078+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:113 fatal: [localhost -> 192.168.222.75]: FAILED! =>
{"attempts": 10, "changed
": false, "msg": "Failed to download metadata for repo
'ol8_baseos_latest': Cannot download repomd.xml: Curl error (5): Couldn't
resolve proxy name for
https://yum.oracle.com/repo/OracleLin
ux/OL8/baseos/latest/x86_64/repodata/repomd.xml [Could not resolve proxy:
www-proxy.us.oracle.com]", "rc": 1, "results": []}
: "Failed to download metadata for repo 'ol8_baseos_latest': Cannot download
repomd.xml: Curl error (5): Couldn't resolve proxy name for
https://yum.oracle.com/repo/OracleLin
ux/OL8/baseos/latest/x86_64/repodata/repomd.xml [Could not resolve proxy:
www-proxy.us.oracle.com]", "rc": 1, "results": []}
I have found that " www-proxy.us.oracle.com" is declared in the
"dnf.conf" file of the ovirt engine created VM.
How can I deploy the self hosted engine without having this error . Please note that I did
not use any proxy.
Thanks,