-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
False
-
-
2
-
Testable
The following error:
[2024-03-19T06:07:34+0000] TASK - [Convert: Remove packages containing .repo files] ****************** Searching for packages containing .repo files or affecting variables in the .repo files: centos-release .................................. 1 WARNING - Removing the following 1 packages: [2024-03-19T06:07:34+0000] DEBUG - Calling command 'repoquery --quiet -q 0:centos-release-7-9.2009.1.el7.centos.x86_64 --qf C2R %{EPOCH}:%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}&%{REPOID} ' Package Vendor/Packager Repository ------- --------------- ---------- 0:centos-release-7-9.2009.1.el7.centos.x86_64 CentOS updates Backing up centos-release-7-9.2009.1.el7.centos.x86_64. [2024-03-19T06:07:34+0000] DEBUG - Not using repository files stored in /var/lib/convert2rhel/backup/ed2e326f3aefc335463ab68aa15a72c2 due to the absence of internet access. [2024-03-19T06:07:34+0000] DEBUG - Downloading the centos-release-7-9.2009.1.el7.centos.x86_64 package. [2024-03-19T06:07:34+0000] DEBUG - Calling command 'yumdownloader -v --destdir=/var/lib/convert2rhel/backup centos-release-7-9.2009.1.el7.centos.x86_64' WARNING - Output from the yumdownloader call: Loading "fastestmirror" plugin Loading "product-id" plugin Loading "subscription-manager" plugin Updating Subscription Management repositories. Config time: 0.460 Loading mirror speeds from cached hostfile * base: download.cf.centos.org * extras: download.cf.centos.org * updates: download.cf.centos.org https://cdn.redhat.com/content/dist/rhel/server/7/7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errors If above article doesn't help to resolve this issue please use https://bugs.centos.org/. failure: repodata/repomd.xml from rhel-7-server-rpms: [Errno 256] No more mirrors to try. https://cdn.redhat.com/content/dist/rhel/server/7/7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
The url has wrong releasever value -> the RedHat repo should contain /7/7Server/ instead.
The same is happening with using a proxy.
Steps to reproduce:
- Clean machine
- subscribe the machine before the conversion analysis (sca enabled or disabled - does not matter)
- echo '127.0.0.1 static.redhat.com' >> /etc/hosts
- run the c2r analysis
- is depended on by
-
HMS-3730 Document converting through Insights with a proxy
- Closed
- is related to
-
RHELC-559 Make convert2rhel work with a proxy
- To Do
- relates to
-
RHELC-1499 No internet leads to a failure to backup packages that cause a transaction validation failure
- Closed
- links to
-
RHEA-2024:132672 convert2rhel bug fix and enhancement update
-
RHEA-2024:132673 convert2rhel bug fix and enhancement update
There are no Sub-Tasks for this issue.