[uyuni-users] Uyuni 4.0.2 problem syncing OpenSUSE 15.1 updates
Hello All, Does anyone else experience issues syncing OpenSUSE 15.1 Updates channel? It seems somehow related to habootstrap-formula package. Here is what I got after updating python & kernel (it was the same before latest patches): uyuni:/var/log/rhn/reposync # spacewalk-repo-sync -n -t yum -c opensuse_leap15_1-x86_64-updates 09:35:57 ====================================== 09:35:57 | Channel: opensuse_leap15_1-x86_64-updates 09:35:57 ====================================== 09:35:57 Sync of channel started. Retrieving repository 'opensuse_leap15_1-x86_64-updates' metadata ..........................[done]Building repository 'opensuse_leap15_1-x86_64-updates' cache ...............................[done]All repositories have been refreshed. 09:36:05 Repo URL: http://download.opensuse.org/update/leap/15.1/oss/ 09:36:05 Packages in repo: 2628 09:36:20 Packages already synced: 2603 09:36:20 Packages to sync: 25 09:36:20 New packages to download: 25 09:36:20 Downloading packages: 09:36:20 Downloading total 25 files from 1 queues. 09:36:30 1/25 : habootstrap-formula-0.2.4-lp151.7.1.noarch.rpm 09:36:30 2/25 : kernel-debug-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:35 3/25 : kernel-debug-devel-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:37 4/25 : kernel-default-devel-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:41 5/25 : kernel-debug-base-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:41 6/25 : kernel-docs-4.12.14-lp151.28.13.1.noarch.rpm 09:36:42 7/25 : kernel-default-base-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:45 8/25 : kernel-devel-4.12.14-lp151.28.13.1.noarch.rpm 09:36:47 9/25 : kernel-docs-html-4.12.14-lp151.28.13.1.noarch.rpm 09:36:48 10/25 : kernel-kvmsmall-devel-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:49 11/25 : kernel-kvmsmall-base-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:49 12/25 : kernel-macros-4.12.14-lp151.28.13.1.noarch.rpm 09:36:52 13/25 : kernel-obs-qa-4.12.14-lp151.28.13.1.x86_64.rpm 09:36:58 14/25 : kernel-kvmsmall-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:00 15/25 : kernel-obs-build-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:02 16/25 : kernel-syms-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:07 17/25 : kernel-default-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:10 18/25 : kernel-vanilla-devel-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:10 19/25 : python2-shaptools-0.3.1-lp151.5.1.noarch.rpm 09:37:10 20/25 : python3-shaptools-0.3.1-lp151.5.1.noarch.rpm 09:37:11 21/25 : saphanabootstrap-formula-0.2.9-lp151.7.1.noarch.rpm 09:37:13 22/25 : kernel-vanilla-base-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:25 23/25 : kernel-vanilla-4.12.14-lp151.28.13.1.x86_64.rpm 09:37:41 24/25 : kernel-source-4.12.14-lp151.28.13.1.noarch.rpm 09:37:41 25/25 : kernel-source-vanilla-4.12.14-lp151.28.13.1.noarch.rpm 09:37:41 09:37:41 Importing packages to DB: Importing packages: |##################--------------------------------| 36.0% 09:39:14 duplicate key value violates unique constraint "rhn_pkg_clr_pid_cld_uq" DETAIL: Key (package_id, changelog_data_id)=(163672, 340908) already exists. Importing packages: |####################------------------------------| 40.0% 09:39:14 40.0 % Importing packages: |######################################------------| 76.0% 09:40:03 'NoneType' object has no attribute 'strip' Importing packages: |################################################--| 96.0% 09:40:09 'NoneType' object has no attribute 'strip' Importing packages: |##################################################| 100.0%09:40:09 09:40:09 Linking packages to the channel. 09:40:09 Unexpected error: <class 'spacewalk.server.importlib.importLib.InvalidPackageError'> 09:40:09 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': 'habootstrap-formula', 'epoch': None, 'version': '0.2.4', 'release': 'lp151.7.1', 'arch': 'noarch', 'org_id': 1, 'package_size': None, 'last_modified': None, 'md5sum': None, 'channels': {137: 'opensuse_leap15_1-x86_64-updates'}, 'checksum_list': None, 'checksum': '6c5112ea50ae4b2191d81a85fefe631e3714271544294723b59a35585d530a9f', 'checksum_type': 'sha256', 'checksums': {'sha256': '6c5112ea50ae4b2191d81a85fefe631e3714271544294723b59a35585d530a9f'}, 'name_id': 36772, 'evr_id': 43328, 'package_arch_id': 100, 'nevra_id': 163660, 'checksum_id': 5758490}] in table rhnPackage 09:40:09 Total time: 0:04:11 uyuni:~ # Thanks in advance for your reply. Best Regards, Strahil Nikolov -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
participants (1)
-
Strahil Nikolov