Ah, It just occurred to me that perhaps this is because of the issue with the mirrors not being completely synchronized ?

 

From: Bidault, Philippe <Philippe.Bidault@Getronics.com>
Sent: martes, 28 de julio de 2020 9:43
To: uyuni-users@opensuse.org
Subject: [uyuni-users] Sync error channel uyuni-proxy-stable-leap-151-x86_64

 

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi all,

 

Since the availability of Uyuni 2020.07, the sync of the repo uyuni-proxy-stable-leap-151-x86_64 fail with checksum errors:

 

2020/07/27 22:01:02 -00:00 Command: ['/usr/bin/spacewalk-repo-sync', '--channel', 'uyuni-proxy-stable-leap-151-x86_64', '--type', 'yum', '--non-interactive']

2020/07/27 22:01:02 -00:00 Sync of channel started.

2020/07/27 22:01:05 -00:00 Repo URL: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/images/repo/Uyuni-Proxy-POOL-x86_64-Media1/

2020/07/27 22:01:05 -00:00     Packages in repo:                80

2020/07/27 22:01:08 -00:00     Packages already synced:          0

2020/07/27 22:01:08 -00:00     Packages to sync:                80

2020/07/27 22:01:09 -00:00     New packages to download:        72

2020/07/27 22:01:09 -00:00   Downloading packages:

2020/07/27 22:01:09 -00:00     1/72 : Uyuni-Proxy-release-2020.07-86.3.uyuni.x86_64.rpm

2020/07/27 22:01:09 -00:00     2/72 : jabberd-db-2.7.0-3.2.uyuni.x86_64.rpm

2020/07/27 22:01:09 -00:00     3/72 : jabberd-sqlite-2.7.0-3.2.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00     4/72 : libgsasl-lang-1.8.0-1.6.uyuni.noarch.rpm

2020/07/27 22:01:10 -00:00     5/72 : jabberd-2.7.0-3.2.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00     6/72 : libgsasl7-1.8.0-1.6.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00     7/72 : golang-github-boynux-squid_exporter-1.6-3.12.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00     8/72 : libntlm0-1.4-1.4.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00     9/72 : libudns0-0.4-0.9.8.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00     10/72 : mgr-cfg-4.1.2-1.1.uyuni.noarch.rpm

2020/07/27 22:01:10 -00:00     11/72 : mgr-cfg-actions-4.1.2-1.1.uyuni.noarch.rpm

2020/07/27 22:01:10 -00:00     12/72 : mgr-cfg-client-4.1.2-1.1.uyuni.noarch.rpm

2020/07/27 22:01:10 -00:00     13/72 : golang-github-lusitaniae-apache_exporter-0.7.0-2.7.uyuni.x86_64.rpm

2020/07/27 22:01:10 -00:00 ERROR: Download failed: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/images/repo/Uyuni-Proxy-POOL-x86_64-Media1/noarch/mgr-custom-info-4.1.1-1.1.uyuni.noarch.rpm - Target file isn't valid. Checksum should be d70f0b78f80d7d2484f5001933bb97b9bff19098a1ce5838c5b0906c4ff10bda (sha256).. Retrying...

2020/07/27 22:01:10 -00:00     14/72 : mgr-cfg-management-4.1.2-1.1.uyuni.noarch.rpm

2020/07/27 22:01:10 -00:00 ERROR: Download failed: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/images/repo/Uyuni-Proxy-POOL-x86_64-Media1/noarch/mgr-daemon-4.1.1-1.1.uyuni.noarch.rpm - Target file isn't valid. Checksum should be c762844e0c805ce598ce66358b6b9aade509dec88e1f111a340d9d5a5a5215b1 (sha256).. Retrying...

2020/07/27 22:01:10 -00:00     15/72 : mgr-osad-4.1.3-1.1.uyuni.noarch.rpm

…….

2020/07/27 22:01:14 -00:00   Package batch #1 of 4 completed...

2020/07/27 22:01:14 -00:00 Importing packages finished.

2020/07/27 22:01:14 -00:00

2020/07/27 22:01:14 -00:00   Linking packages to the channel.

2020/07/27 22:01:16 -00:00 Unexpected error: <class 'spacewalk.server.importlib.importLib.InvalidPackageError'>

2020/07/27 22:01:16 -00:00 Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/reposync.py", line 590, in sync

    ret = self.import_packages(plugin, data['id'], url, is_non_local_repo)

  File "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/reposync.py", line 1096, in import_packages

    importer.run()

  File "/usr/lib/python3.6/site-packages/spacewalk/server/importlib/importLib.py", line 775, in run

    self.submit()

  File "/usr/lib/python3.6/site-packages/spacewalk/server/importlib/packageImport.py", line 126, in submit

    self.backend.lookupPackages(self.batch, self.checksums)

  File "/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py", line 822, in lookupPackages

    raise_with_tb(not_found[0], not_found[1])

  File "/usr/lib/python3.6/site-packages/uyuni/common/usix.py", line 77, in raise_with_tb

    raise value

  File "/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py", line 814, in lookupPackages

    self.__lookupObjectCollection([package], 'rhnPackage')

  File "/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py", line 2490, in __lookupObjectCollection

    raise InvalidPackageError(object, "Could not find object %s in table %s" % (object, tableName))

spacewalk.server.importlib.importLib.InvalidPackageError: Could not find object [<<class 'spacewalk.server.importlib.importLib.IncompletePackage'> instance; attributes={'package_id': None, 'name': 'Uyuni-Proxy-release', 'epoch': None, 'version': '2020.07', 'release': '86.3.uyuni', 'arch': 'x86_64', 'org_id': 1, 'package_size': None, 'last_modified': None, 'md5sum': None, 'channels': {104: 'uyuni-proxy-stable-leap-151-x86_64'}, 'checksum_list': None, 'checksum': 'be45e52976929284ef3a9f8fb3511695581565a0cb88627b0f75fbb3a192fbb4', 'checksum_type': 'sha256', 'checksums': {'sha256': 'be45e52976929284ef3a9f8fb3511695581565a0cb88627b0f75fbb3a192fbb4'}, 'name_id': 53074, 'evr_id': 85894, 'package_arch_id': 120, 'nevra_id': 3195

 

 

I guess that this is “normal”, the packages 2020.06 and 2020.07 being mixed in the same mirrors ? Anyway, aesthetically speaking I guess that we do not want that 😊

 

Regards,

Philippe.

 


Philippe Bidault | 
Unix Engineer

Getronics


M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com

  sign-info

 

Getronics CMC Service Desk Iberia S.L -  VAT No:S.L.: B66686262.
Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain.
 
The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.  Thank you.

Legal disclaimer: http://www.getronics.com/legal/