Bug 1873164

Summary: Installation from DVD fails after registering to CDN
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: anaconda-maint-list, jikortus, jkonecny, lmiksik, mkolman, rvykydal
Target Milestone: rcKeywords: Regression
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-33.16.3.23-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:24:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1812825, 1842946    

Description Jan Stodola 2020-08-27 14:29:48 UTC
Description of problem:
Anaconda fails to complete the installation from DVD after registering to CDN.
The installation fails with a traceback after beginning the installation and creating the partitions:

anaconda 33.16.3.21 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 2513, in _select_remote_pkgs
    _("Some packages from local repository have incorrect checksum"))
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 1137, in download_packages
    remote_pkgs, local_pkgs = self._select_remote_pkgs(pkglist)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/dnf/payload.py", line 1377, in install
    self._base.download_packages(pkgs_to_download, progress)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 456, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 490, in start
    self.run_task()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 394, in run_installation
    queue.start()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
dnf.exceptions.Error: Some packages from local repository have incorrect checksum

After registration to CDN from DVD.iso, anaconda should change the installation source to CDN automatically and download the metadata - this is not happening. The metadata are not downloaded, although anaconda reports in the main hub that CDN source is selected.

Version-Release number of selected component (if applicable):
RHEL-8.3.0-20200825.0
anaconda-33.16.3.21-1.el8

How reproducible:
Always

Steps to Reproduce:
1. boot from DVD
2. proceed to the main hub, enable networking
3. register to CDN
4. complete partitioning/root password spokes
5. begin the installation

Actual results:
Anaconda traceback after creating the partitions.

Expected results:
Successful installation using packages downloaded from CDN.

Comment 4 Martin Kolman 2020-08-28 11:32:21 UTC
PR: https://github.com/rhinstaller/anaconda/pull/2814

Comment 12 errata-xmlrpc 2020-11-04 03:24:26 UTC
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 (anaconda bug fix and enhancement update), 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/RHBA-2020:4729