Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 879679

Summary: Content Sync Error: key must not contain period
Product: [Retired] Katello Reporter: Devan Goodwin <dgoodwin>
Component: WebUIAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.1CC: mmccune
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-28 16:15:19 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:
Attachments:
Description Flags
katello debug output none

Description Devan Goodwin 2012-11-23 16:54:09 UTC
Description of problem:

Error syncing content (RHEL 6 Server Optional RPMs in this case) due to a . in a package name.

Version-Release number of selected component (if applicable):

katello-1.1.16-1.el6.noarch
katello-glue-pulp-1.1.16-1.el6.noarch
katello-cli-common-1.1.10-1.el6.noarch
katello-glue-candlepin-1.1.16-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-selinux-1.1.2-1.el6.noarch
katello-configure-1.1.11-1.el6.noarch
katello-glue-foreman-1.1.16-1.el6.noarch
katello-all-1.1.16-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-common-1.1.16-1.el6.noarch
katello-repos-1.1.3-1.el6.noarch
katelm2crypto-0.21.1.pulp-7.el6.x86_64
pulp-selinux-server-1.1.12-1.el6.noarch
katello-glue-pulp-1.1.16-1.el6.noarch
pulp-1.1.12-1.el6.noarch
python-oauth2-1.5.170-2.pulp.el6.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
pulp-common-1.1.12-1.el6.noarch
lo-cli-1.1.10-1.el6.noarch


How reproducible:

Unknown, I am guessing quite easily.


Steps to Reproduce:
1. Install Katello 1.1.
2. Use employee SKU manifest.
3. Sync RHEL 6 Server optional rpms.
  
Actual results:

Error syncing content, details are:

key 'openoffice.org-langpack-en' must not contain '.'
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 '.'


Additional info:

I was running a RHEL6.4 pre-release build for the Katello server if that could be related. (didn't seem likely, but just in case)

Comment 1 Devan Goodwin 2012-11-23 17:14:00 UTC
Created attachment 650570 [details]
katello debug output

Comment 2 Mike McCune 2012-11-28 16:15:19 UTC

*** This bug has been marked as a duplicate of bug 843800 ***