[uyuni-users] openSUSE 15.1 Update channel repo sync errors
Hello, While syncing the updates channel for openSUSE Leap 15.1 in recently released Uyuni 4.0.2 produces the following error. I've removed this software channel and repo and created it again but this error persists. Here is a short output from "spacewalk-repo-sync -c opensuse_leap15_1- x86_64-updates" command. Please find attached complete log. 09:43:40 09:43:40 Importing packages to DB: Importing packages: |#---------------------------- ---------------------| 1.69% 09:45:55 duplicate key value violates unique constraint "rhn_pkg_clr_pid_cld_uq" DETAIL: Key (package_id, changelog_data_id)=(63794, 437802) already exists. Importing packages: |#---------------------------- ---------------------| 1.88% 09:45:55 1.88 % Importing packages: |#---------------------------- ---------------------| 2.63% 09:48:08 2.63 % Importing packages: |##----------------------------- -------------------| 3.56% 09:48:29 'NoneType' object has no attribute 'strip' Importing packages: |###-------------------------- ---------------------| 5.44% 09:48:29 'NoneType' object has no attribute 'strip' Importing packages: |####--------------------------- -------------------| 7.32% 09:48:29 'NoneType' object has no attribute 'strip' Importing packages: |#####------------------------ ---------------------| 9.19% 09:48:30 'NoneType' object has no attribute 'strip' Importing packages: |######------------------------- -------------------| 11.07% 09:48:32 'NoneType' object has no attribute 'strip' Importing packages: |######------------------------- -------------------| 12.95% 09:48:33 'NoneType' object has no attribute 'strip' Importing packages: |#######---------------------- ---------------------| 14.82% 09:48:36 'NoneType' object has no attribute 'strip' Importing packages: |########----------------------- -------------------| 16.7% 09:48:40 'NoneType' object has no attribute 'strip' Importing packages: |#########-------------------- ---------------------| 18.57% 09:48:45 'NoneType' object has no attribute 'strip' Importing packages: |##########--------------------- -------------------| 20.45% 09:48:50 'NoneType' object has no attribute 'strip' Importing packages: |###########------------------ ---------------------| 22.33% 09:48:54 'NoneType' object has no attribute 'strip' Importing packages: |############------------------- -------------------| 24.2% 09:48:57 'NoneType' object has no attribute 'strip' Importing packages: |#############---------------- ---------------------| 26.08% 09:49:00 'NoneType' object has no attribute 'strip' Importing packages: |##############----------------- -------------------| 27.95% 09:49:04 'NoneType' object has no attribute 'strip' Importing packages: |###############-------------- ---------------------| 29.83% 09:49:07 'NoneType' object has no attribute 'strip' Importing packages: |################--------------- -------------------| 31.71% 09:49:11 'NoneType' object has no attribute 'strip' Importing packages: |#################------------ ---------------------| 33.58% 09:49:15 'NoneType' object has no attribute 'strip' Importing packages: |##################------------- -------------------| 35.46% 09:49:17 'NoneType' object has no attribute 'strip' Importing packages: |###################---------- ---------------------| 37.34% 09:49:26 'NoneType' object has no attribute 'strip' Importing packages: |####################----------- -------------------| 39.21% 09:49:26 'NoneType' object has no attribute 'strip' Importing packages: |#####################-------- ---------------------| 41.09% 09:49:26 'NoneType' object has no attribute 'strip' Importing packages: |#####################-------- ---------------------| 42.96% 09:49:26 'NoneType' object has no attribute 'strip' Importing packages: |######################--------- -------------------| 44.84% 09:49:26 'NoneType' object has no attribute 'strip' Importing packages: |#######################------ ---------------------| 46.72% 09:49:27 'NoneType' object has no attribute 'strip' Importing packages: |########################------- -------------------| 48.59% 09:49:27 'NoneType' object has no attribute 'strip' Importing packages: |#########################---- ---------------------| 50.47% 09:49:27 'NoneType' object has no attribute 'strip' Importing packages: |##########################----- -------------------| 52.35% 09:49:27 'NoneType' object has no attribute 'strip' Importing packages: |###########################-- ---------------------| 54.22% 09:49:27 'NoneType' object has no attribute 'strip' Importing packages: |############################--- -------------------| 56.1% 09:49:28 'NoneType' object has no attribute 'strip' Importing packages: |############################# ---------------------| 57.97% 09:49:28 'NoneType' object has no attribute 'strip' Importing packages: |##############################- -------------------| 59.85% 09:49:28 'NoneType' object has no attribute 'strip' Importing packages: |###############################-------------------| 61.73% 09:49:28 'NoneType' object has no attribute 'strip' Importing packages: |################################------------------| 63.6% 09:49:28 'NoneType' object has no attribute 'strip' Importing packages: |#################################-----------------| 65.48% 09:49:28 'NoneType' object has no attribute 'strip' Importing packages: |##################################----------------| 67.35% 09:49:29 'NoneType' object has no attribute 'strip' Importing packages: |###################################---------------| 69.23% 09:49:29 'NoneType' object has no attribute 'strip' Importing packages: |####################################--------------| 71.11% 09:49:29 'NoneType' object has no attribute 'strip' Importing packages: |####################################--------------| 72.98% 09:49:29 'NoneType' object has no attribute 'strip' Importing packages: |#####################################-------------| 74.86% 09:49:30 'NoneType' object has no attribute 'strip' Importing packages: |######################################------------| 76.74% 09:49:31 'NoneType' object has no attribute 'strip' Importing packages: |#######################################-----------| 78.61% 09:49:31 'NoneType' object has no attribute 'strip' Importing packages: |########################################----------| 80.49% 09:49:31 'NoneType' object has no attribute 'strip' Importing packages: |#########################################---------| 82.36% 09:49:32 'NoneType' object has no attribute 'strip' Importing packages: |##########################################--------| 84.24% 09:49:32 'NoneType' object has no attribute 'strip' Importing packages: |###########################################-------| 86.12% 09:49:32 'NoneType' object has no attribute 'strip' Importing packages: |############################################------| 87.99% 09:49:32 'NoneType' object has no attribute 'strip' Importing packages: |#############################################-----| 89.87% 09:49:33 'NoneType' object has no attribute 'strip' Importing packages: |##############################################----| 91.74% 09:49:33 'NoneType' object has no attribute 'strip' Importing packages: |###############################################---| 93.62% 09:49:33 'NoneType' object has no attribute 'strip' Importing packages: |################################################--| 95.5% 09:49:33 'NoneType' object has no attribute 'strip' Importing packages: |#################################################-| 97.37% 09:49:34 'NoneType' object has no attribute 'strip' Importing packages: |##################################################| 99.25% 09:49:34 'NoneType' object has no attribute 'strip' Importing packages: |##################################################| 99.81% 09:49:34 'NoneType' object has no attribute 'strip' Importing packages: |##################################################| 100.0% 09:49:34 09:49:34 Linking packages to the channel. 09:49:38 Unexpected error: <class 'spacewalk.server.importlib.importLib.InvalidPackageError'> 09:49:38 Traceback (most recent call last): File "/usr/lib/python3.6/site- packages/spacewalk/satellite_tools/reposync.py", line 568, 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 1142, in import_packages importer.run() File "/usr/lib/python3.6/site- packages/spacewalk/server/importlib/importLib.py", line 764, 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 697, in lookupPackages raise_with_tb(not_found[0], not_found[1]) File "/usr/lib/python3.6/site-packages/spacewalk/common/usix.py", line 77, in raise_with_tb raise value File "/usr/lib/python3.6/site- packages/spacewalk/server/importlib/backend.py", line 689, in lookupPackages self.__lookupObjectCollection([package], 'rhnPackage') File "/usr/lib/python3.6/site- packages/spacewalk/server/importlib/backend.py", line 2342, 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': 'go1.12', 'epoch': None, 'version': '1.12.6', 'release': 'lp151.2.6.1', 'arch': 'x86_64', 'org_id': 1, 'package_size': None, 'last_modified': None, 'md5sum': None, 'channels': {112: 'opensuse_leap15_1-x86_64-updates'}, 'checksum_list': None, 'checksum': '030794c4399795bbaa6e810058e91fead262a9478b1afc478813a07a9de2e4c1', 'checksum_type': 'sha256', 'checksums': {'sha256': '030794c4399795bbaa6e810058e91fead262a9478b1afc478813a07a9de2e4c1'}, 'name_id': 5077, 'evr_id': 17266, 'package_arch_id': 120, 'nevra_id': 63761, 'checksum_id': 5553832}] in table rhnPackage 09:49:39 Total time: 0:10:58 Any hints / ideas ? Thank you !
participants (1)
-
Jordi Bruguera i Cortada