Bug 818640
Summary: | mongodb interaction seems to hate package names that contain a '.' such as openoffice.org rpms. | |||
---|---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Jim Perrin <jperrin> | |
Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> | |
Status: | CLOSED WONTFIX | QA Contact: | Preethi Thomas <pthomas> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | jortel, pkilambi | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 825312 (view as bug list) | Environment: | ||
Last Closed: | 2012-05-25 14:13:56 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: | ||||
Bug Blocks: | 825312 |
Description
Jim Perrin
2012-05-03 15:38:50 UTC
Interesting, I was able to reproduce the above error with mongodb-2.0.2 and pymongo-2.1; I then downgraded to mongodb-1.8 and pymongo-1.11 and the sync works fine. Before downgrade my mongo rpms are, $ rpm -qa |grep mongo libmongodb-2.0.2-8.fc16.x86_64 mongodb-server-2.0.2-8.fc16.x86_64 mongodb-2.0.2-8.fc16.x86_64 pymongo-2.1.1-1.fc16.x86_64 after downgrade, $ rpm -qa|grep mongo libmongodb-1.8.2-9.fc16.x86_64 pymongo-1.11-1.fc16.x86_64 mongodb-1.8.2-9.fc16.x86_64 mongodb-server-1.8.2-9.fc16.x86_64 $ pulp-admin repo sync -F --id=el_optional Sync for repository el_optional started Sync: Finished 4374/4374 new items downloaded 0/4374 existing items processed Item Details: RPMs: 4374/4374 That would (in theory) put the blame somewhat squarely on pymongo. On my currently affected rhel6 system I have: [root@evolution conf.d]# rpm -qa '*mongo*' libmongodb-1.8.2-2.el6.x86_64 pymongo-2.1.1-1.el6.x86_64 mongodb-server-1.8.2-2.el6.x86_64 mongodb-1.8.2-2.el6.x86_64 All are at or lower than your downgraded versions except pymongo. yea the issue is with newer versions of pymongo. version 2.1 enforces the '.' check in key. But the older versions dint. The original issue causing this seems to be when we import packagegroups into mongo during syncs. IMO we should enforce pulp v1 to use pymongo < 2.1 and do the packagegroup imports correctly in v2. Rolling back to an older pymongo does indeed resolve it here. I'm not certain I like the idea of requiring a rollback for users if they've been keeping current, as it may cause repo conflicts between epel and pulp. Yea, we decided the best approach is to put an FAQ on pulp wiki giving instructions on how to downgrade pymongo in case user sees this error. This will avoid the issue where user is already on newer version and pulp upgrade conflicts and fails. In v2, we'll account for this scenario and design the imports accordingly so user wont hit this issue. https://fedorahosted.org/pulp/wiki/UGFAQ#rpmname verified document updated https://fedorahosted.org/pulp/wiki/UGFAQ#rpmname Pulp v1.1 Release As per comment https://bugzilla.redhat.com/show_bug.cgi?id=818640#c5 moving to won't fix for 1.1 Will open a new one for 2.0 |