Bug 853356
| Summary: | Syncronization raises an exception when package have a different name structure | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Garik Khachikyan <gkhachik> |
| Component: | Content Management | Assignee: | Dmitri Dolguikh <dmitri> |
| Status: | CLOSED ERRATA | QA Contact: | Garik Khachikyan <gkhachik> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.0.1 | CC: | dmacpher, dmitri, lzap, mkoci, mmccune, mmello, omaciel, sachua, xdmoon |
| Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Synchronization error occurred due to pymongo-2.1.1-1.el6.x86_64 from Extra Packages for Enterprise Linux (EPEL) repository. This fix uses pymongo-1.9 to resolve the error. Please ensure to use the version of pymongo supplied with CloudForms.
|
Story Points: | --- |
| Clone Of: | katello-dotpackage | Environment: | |
| Last Closed: | 2012-12-04 19:52:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 843800 | ||
| Bug Blocks: | |||
|
Description
Garik Khachikyan
2012-08-31 08:35:11 UTC
# COMMENT
Confirm: doing on recent Katello with RHEL 6.3 installed sync of "Red Hat Enterprise Linux 6 Server - Optional RPMs x86_64 6Server" from CDN failing with:
----
2012-08-30 18:05:57,586 8236:140146697553664: pulp.server.api.synchronizers:INFO: synchronizers:408 updateinfo is found in repomd.xml, it's path is /var/lib/pulp//repos/CFSE_QE_Team/Library/content/dist/rhel/server/6/6Server/x86_64/optional/os/repodata/6a0e57bdbf4bc4f9299040afd43733b387ad434639f74ac29b55ea491d8d90c8-updateinfo.xml.gz
2012-08-30 18:06:00,108 8236:140146697553664: pulp.server.tasking.task:ERROR: task:472 Task failed: Task 36736819-f2ad-11e1-a746-002713b84c93: _sync(CFSE_QE_Team-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Optional_RPMs_x86_64_6Server, synchronizer=<pulp.server.api.synchronizers.YumSynchronizer object at 0x7f76641d9cd0>, skip={}, max_speed=None, threads=4, progress_callback=<bound method RepoSyncTask.progress_callback of <pulp.server.api.repo_sync_task.RepoSyncTask object at 0x7f76641d91d0>>)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 418, in run
result = self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 283, in _sync
progress_callback, synchronizer, max_speed, threads)
File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 379, in fetch_content
added_errataids = synchronizer.import_metadata(repo_dir, repo_id, skip_dict)
File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 416, in import_metadata
self.repo_api.collection.save(repo, safe=True)
File "/usr/lib/python2.6/site-packages/pulp/server/db/connection.py", line 80, in retry
return method(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 237, in save
manipulate, safe, _check_keys=True, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/db/connection.py", line 80, in retry
return method(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 411, in update
_check_keys, self.__uuid_subtype), safe)
InvalidDocument: key 'openoffice.org-langpack-en' must not contain '.'
2012-08-31 01:00:01,292 8236:140146315880192: pulp.server.tasking.task:INFO: task:454 Task succeeded: Task 102db0f5-f2a9-11e1-b591-002713b84c93: cull_history(, )
----
Version of components:
-----------------------------------
candlepin-0.7.7.1-1.el6.noarch
katello-glue-candlepin-1.1.8-1.el6.noarch
pulp-common-1.1.12-1.el6.noarch
katello-selinux-1.1.1-1.el6.noarch
qpid-cpp-client-0.14-16.el6.x86_64
qpid-cpp-client-ssl-0.14-16.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
pulp-selinux-server-1.1.12-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
qpid-cpp-server-ssl-0.14-16.el6.x86_64
python-qpid-0.14-8.el6.noarch
katello-agent-1.1.2-1.el6.noarch
katello-certs-tools-1.1.8-1.el6.noarch
katello-glue-foreman-1.1.8-1.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
pulp-1.1.12-1.el6.noarch
katello-all-1.1.8-1.el6.noarch
katello-repos-1.1.2-1.el6.noarch
qpid-cpp-server-0.14-16.el6.x86_64
katello-common-1.1.8-1.el6.noarch
katello-configure-1.1.6-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
candlepin-selinux-0.7.7.1-1.el6.noarch
katello-glue-pulp-1.1.8-1.el6.noarch
candlepin-tomcat6-0.7.7.1-1.el6.noarch
katello-1.1.8-1.el6.noarch
katello-cli-common-1.1.4-1.git.12.9f57f86.el6.noarch
katello-cli-1.1.4-1.git.12.9f57f86.el6.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
I have there installed: pymongo-2.1.1-1.el6.x86_64 python-bson-2.1.1-1.el6.x86_64 According to pulp FAQ [1], the recommended approach is to downgrade pymongo to version 1.11. [1] https://fedorahosted.org/pulp/wiki/UGFAQ#rpmname # COMMENT verification scenario will include 2 parts: syncing RHEL6 Optional channel from CDN http://fedora.c3sl.ufpr.br/linux/releases/16/Fedora/x86_64/os/ - as custom repo sync # VERIFIED did the sync of both repos (above). all successfully completed. checked on version: --- python-qpid-0.7.946106-1.el6.noarch candlepin-cert-consumer-brno-cfse.usersys.redhat.com-1.0-1.noarch qpid-cpp-client-0.14-16.el6.x86_64 candlepin-0.7.8-1.el6cf.noarch katello-glue-pulp-1.1.12-7.el6cf.noarch qpid-cpp-server-ssl-0.14-16.el6.x86_64 katello-candlepin-cert-key-pair-1.0-1.noarch mod_wsgi-3.3-3.pulp.el6.x86_64 python-isodate-0.4.4-4.pulp.el6.noarch katello-cli-common-1.1.8-1.git.2.a0908e7.el6.noarch katello-cli-1.1.8-1.git.2.a0908e7.el6.noarch qpid-cpp-client-ssl-0.14-16.el6.x86_64 python-oauth2-1.5.170-2.pulp.el6.noarch pulp-common-1.1.12-1.el6cf.noarch pulp-selinux-server-1.1.12-1.el6cf.noarch m2crypto-0.21.1.pulp-7.el6.x86_64 candlepin-selinux-0.7.8-1.el6cf.noarch katello-common-1.1.12-7.el6cf.noarch katello-glue-candlepin-1.1.12-7.el6cf.noarch katello-1.1.12-7.el6cf.noarch katello-all-1.1.12-7.el6cf.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-certs-tools-1.1.8-1.el6cf.noarch katello-repos-1.1.2-1.el6.noarch katello-agent-1.1.2-1.el6.noarch katello-configure-1.1.9-3.el6cf.noarch qpid-cpp-server-0.14-16.el6.x86_64 pulp-1.1.12-1.el6cf.noarch katello-selinux-1.1.1-1.el6cf.noarch candlepin-tomcat6-0.7.8-1.el6cf.noarch katello-qpid-client-key-pair-1.0-1.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1543.html getting rid of 6.0.0 version since that doesn't exist |