Description of problem: Installing ovirt-engine behind a proxy is not automatically managed by "engine-setup". So, even if "DNF" is configured with proper proxy configuration, the "engine-setup" installation fails and ignore the configured DNF proxy. Version-Release number of selected component (if applicable): 4.4.0-RC1 How reproducible: Install ovirt-engine on CentOS-8 behind a proxy (with proxy configured on dnf.conf). Run "engine-setup" to see installation/configuration failing in the first steps. Actual results: Failed ovirt-engine installation/setup. Expected results: "engine-setup" intercepts the DNF configured proxy and use it while looking for packages/RPMs. Additional info: Work-around: export http_proxy/https_proxy env variables before running "engine-setup".
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
I also got report that when proxy is used (adding proxy=... in /etc/yum.conf) and/or exporting http_proxy and https_proxy variables, engine-setup is not reading /etc/yum/vars/contentdir so it then fails downloading reposytory metadata: [ INFO ] DNF Errors during downloading metadata for repository 'AppStream': - Status code: 404 for http://mirror.centos.org/$contentdir/8/AppStream/x86_64/os/repodata/repomd.xml so $contendir is not resolved to "centos" Looks like we are missing to read the yum config at all here.
Please try with current master code (would be released eventually as 4.5). I didn't try this manually recently, but we do rely on this in [1] - search the code there for 'socks.proxy|sshd.proxy'. We had to do this for testing IPv6-only setups, because some of our dnf repos are/were IPv4-only. [1] https://github.com/ovirt/ovirt-system-tests/
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days