Hi

I am having the below issue when updating a centos 8 VM from spacewalk server:

This system is receiving updates from Red Hat Satellite or Spacewalk server.
centos8_x86_64_base_channel
Failed to download metadata for repo 'centos8_x86_64_base_channel'
Error: Failed to download metadata for repo 'centos8_x86_64_base_channel

>From /var/log/dnf.log the below errors are showing:

2020-01-31T06:55:27Z INFO --- logging initialized ---
2020-01-31T06:55:27Z DDEBUG timer: config: 5 ms
2020-01-31T06:55:27Z DEBUG Loaded plugins: builddep, changelog, config-manager, 
copr, debug, debuginfo-install, download, generate_completion_cache, 
needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, 
reposync, spacewalk
2020-01-31T06:55:27Z DEBUG initialized Spacewalk plugin
2020-01-31T06:55:27Z INFO This system is receiving updates from Red Hat 
Satellite or Spacewalk server.
2020-01-31T06:55:27Z DEBUG {'centos8_x86_64_base_channel': {'type': 'up2date', 
'url': ['https://server.domain.com/XMLRPC'], 'gpg_key_url': 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial', 'description': '', 
'org_id': '1', 'label': 'centos8_x86_64_base_channel', 'version': 
'20200130073653', 'local_channel': '1', 'parent_channel': '', 'summary': 'Base 
Software for CentOS 8 Linux', 'arch': 'channel-x86_64', 'id': '118', 'name': 
'centos8_x86_64_base_channel'}, 'centos8_x86_64_epel_channel': {'type': 
'up2date', 'url': ['https:// server.domain.com /XMLRPC'], 'gpg_key_url': 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8', 'description': '', 'org_id': '1', 
'label': 'centos8_x86_64_epel_channel', 'version': '20200130093428', 
'local_channel': '1', 'parent_channel': '118', 'summary': 
'centos8_x86_64_epel_channel', 'arch': 'channel-x86_64', 'id': '121', 'name': 
'centos8_x86_64_epel_channel'}, 'centos8_x86_64_extras_channel': {'type': 
'up2date', 'url': ['https:// server.domain.com /XMLRPC'], 'gpg_key_url': 
'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial', 'description': '', 
'org_id': '1', 'label': 'centos8_x86_64_extras_channel', 'version': 
'20200130093734', 'local_channel': '1', 'parent_channel': '118', 'summary': 
'centos8_x86_64_extras_channel', 'arch': 'channel-x86_64', 'id': '122', 'name': 
'centos8_x86_64_extras_channel'}, 'centos8_x86_64_base_appstream_repository': 
{'type': 'up2date', 'url': ['https:// server.domain.com /XMLRPC'], 
'gpg_key_url': 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial', 
'description': '', 'org_id': '1', 'label': 
'centos8_x86_64_base_appstream_repository', 'version': '20200130093723', 
'local_channel': '1', 'parent_channel': '118', 'summary': 
'centos8_x86_64_base_appstream_repository', 'arch': 'channel-x86_64', 'id': 
'119', 'name': 'centos8_x86_64_base_appstream_channel'}}
2020-01-31T06:55:27Z DEBUG DNF version: 4.2.7
2020-01-31T06:55:27Z DDEBUG Command: dnf update
2020-01-31T06:55:27Z DDEBUG Installroot: /
2020-01-31T06:55:27Z DDEBUG Releasever: 8
2020-01-31T06:55:27Z DEBUG cachedir: /var/cache/dnf
2020-01-31T06:55:27Z DDEBUG Base command: update
2020-01-31T06:55:27Z DDEBUG Extra commands: ['update']
2020-01-31T06:55:27Z DEBUG repo: downloading from remote: 
centos8_x86_64_base_channel
2020-01-31T06:55:27Z DEBUG error: Downloading successful, but checksum doesn't 
match. Calculated: 8363e6110d29bba5ecb8a985e6c97eec5c7461f7(sha1)  Expected: 
29a2ea2063493fde31ac0b5ed1216678b0cf1975(sha1)  (https:// server.domain.com 
/XMLRPC/GET-REQ/centos8_x86_64_base_channel/repodata/comps.xml).
2020-01-31T06:55:27Z DEBUG Cannot download 
'https://spacewalk.corporate.intra/XMLRPC/GET-REQ/centos8_x86_64_base_channel': 
Yum repo downloading error: Downloading error(s): repodata/comps.xml - Cannot 
download, all mirrors were already tried without success.
2020-01-31T06:55:27Z ERROR Failed to download metadata for repo 
'centos8_x86_64_base_channel'
2020-01-31T06:55:27Z DDEBUG Cleaning up.
2020-01-31T06:55:27Z SUBDEBUG
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 552, in load
    ret = self._repo.load()
  File "/usr/lib64/python3.6/site-packages/libdnf/repo.py", line 394, in load
    return _repo.Repo_load(self)
RuntimeError: Failed to download metadata for repo 'centos8_x86_64_base_channel'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 65, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 98, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 114, in cli_run
    cli.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1134, in run
    self._process_demands()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 832, in 
_process_demands
    load_available_repos=self.demands.available_repos)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 406, in fill_sack
    self._add_repo_to_sack(r)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 136, in 
_add_repo_to_sack
    repo.load()
  File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 558, in load
    raise dnf.exceptions.RepoError(str(e))
dnf.exceptions.RepoError: Failed to download metadata for repo 
'centos8_x86_64_base_channel'
2020-01-31T06:55:27Z CRITICAL Error: Failed to download metadata for repo 
'centos8_x86_64_base_channel'

Thanks

Stefan Sevasta Systems Specialist
IT Operations

GO , Fra Diegu Street, Marsa, MRS 1501, MALTA.
D   +356 2594 6855
[Allow to Download Images to view the Banner.] GO<https://go.com.mt/goapp>


W www.go.com.mt<https://www.go.com.mt>

This email and any files or content transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. This message contains confidential information and is intended only 
for the individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited. The 
Company and the originator of this email accept no liability for the content of 
this email, or for the consequences of any actions taken on the basis of the 
information provided, unless that information is subsequently confirmed in 
writing.

Warning: Although the Company and the originator  have taken reasonable 
precautions to ensure no viruses are present in this email, the company cannot 
accept responsibility for any loss or damage arising from the use of this email 
or attachments.
________________________________
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to