Hi,
I faced host deployment issue on Ovirt 4.4.10 in this morning.
After log review, it seems the repository took longer time to resolve the key from
"https://ftp.yz.yamagata-u.ac.jp/pub/" (Default: 30 seconds)
Is there any way to use another repository for resolving the issue?
OS Version: Rocky Linux 8.9
Ovirt Version: 4.4.10
Error Message from host deployment log:
2023-12-19 09:29:10 HKT - TASK [ovirt-host-deploy-vdsm : Install ovirt-hosted-engine-setup
package] ******
2023-12-19 09:31:13 HKT - An exception occurred during task execution. To see the full
traceback, use -vvv. The error was: OSError: Curl error (28): Timeout was reached for
https://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-projects/epel/R
PM-GPG-KEY-EPEL-8 [Operation timed out after 30000 milliseconds with 0 out of 0 bytes
received]
fatal: [10.13.5.3]: FAILED! => {"changed": false, "module_stderr":
"Traceback (most recent call last):\n File
\"/usr/lib/python3.6/site-packages/dnf/util.py\", line 115, in _urlopen\n
repo._repo.downloadUrl(url, fo.fileno())\n File
\"/usr/lib64/python3.6/site-packages/libdnf/repo.py\", line 499, in
downloadUrl\n return _repo.Repo_downloadUrl(self, url, fd)\nRuntimeError: Curl error
(28): Timeout was reached for
https://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-pr
ojects/epel/RPM-GPG-KEY-EPEL-8 [Operation timed out after 30000 milliseconds with 0 out of
0 bytes received]\n\nDuring handling of the above exception, another exception
occurred:\n\nTraceback (most recent call last):\n File \"<stdin>\"
, line 102, in <module>\n File \"<stdin>\", line 94, in
_ansiballz_main\n File \"<stdin>\", line 40, in invoke_module\n File
\"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n return
_run_module_code(code, init_globals, r
un_name, mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in
_run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File
\"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code,
run_globals)\n F
ile
\"/tmp/ansible_dnf_payload_nsszl6ze/ansible_dnf_payload.zip/ansible/modules/packaging/os/dnf.py\",
line 1370, in <module>\n File
\"/tmp/ansible_dnf_payload_nsszl6ze/ansible_dnf_payload.zip/ansible/modules/packaging/os/dnf.py\",
line
1359, in main\n File
\"/tmp/ansible_dnf_payload_nsszl6ze/ansible_dnf_payload.zip/ansible/modules/packaging/os/dnf.py\",
line 1338, in run\n File
\"/tmp/ansible_dnf_payload_nsszl6ze/ansible_dnf_payload.zip/ansible/modules/packaging/os/
dnf.py\", line 1242, in ensure\n File
\"/usr/lib/python3.6/site-packages/dnf/base.py\", line 2494, in
_get_key_for_package\n keys = dnf.crypto.retrieve(keyurl, repo)\n File
\"/usr/lib/python3.6/site-packages/dnf/crypto.py\", line 18
5, in retrieve\n with dnf.util._urlopen(keyurl, repo=repo) as handle:\n File
\"/usr/lib/python3.6/site-packages/dnf/util.py\", line 119, in _urlopen\n
raise IOError(str(e))\nOSError: Curl error (28): Timeout was reached for https:
//ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-projects/epel/RPM-GPG-KEY-EPEL-8 [Operation
timed out after 30000 milliseconds with 0 out of 0 bytes received]\n",
"module_stdout": "", "msg": "MODULE FAILURE\nSee
stdout/stderr for the exact er
ror", "rc": 1}
Time required based on Curl Result: (Over 60 seconds)
yum.repos.d]# curl -vvv --trace-time --connect-timeout 120
https://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-projects/epel/RPM-GPG-KE...
11:15:13.842041 * Trying 133.24.248.18...
11:15:13.842143 * TCP_NODELAY set
11:15:13.906252 * Connected to ftp.yz.yamagata-u.ac.jp (133.24.248.18) port 443 (#0)
11:15:13.907121 * ALPN, offering h2
11:15:13.907139 * ALPN, offering http/1.1
11:15:13.911221 * successfully set certificate verify locations:
11:15:13.911246 * CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
11:15:13.911353 * TLSv1.3 (OUT), TLS handshake, Client hello (1):
11:16:20.151979 * TLSv1.3 (IN), TLS handshake, Server hello (2):