Project

Profile

Help

Issue #1528

Pulp doesn't work with python-pymongo >= 3, as found in Fedora Rawhide

Added by rbarlow almost 4 years ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
3. High
Version:
Master
Platform Release:
2.8.0
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
Yes
Verification Required:
No
Sprint:

Description

Pulp cannot connect to MongoDB on Fedora Rawhide:

$ dnf info python-pymongo
Last metadata expiration check performed 1 day, 7:17:12 ago on Tue Jan 12 16:27:32 2016.
Installed Packages
Name        : python-pymongo
Arch        : x86_64
Epoch       : 0
Version     : 3.0.3
Release     : 2.fc24
Size        : 1.3 M
Repo        : @System
From repo   : rawhide
Summary     : Python driver for MongoDB
URL         : http://api.mongodb.org/python
License     : ASL 2.0 and MIT
Description : The Python driver for MongoDB.

[rbarlow@boole pulp]$ sudo -u apache pulp-manage-db
Attempting to connect to localhost:27017
Could not connect to MongoDB at localhost:27017:
Cannot connect to database default :
Unknown option max_pool_size

We will need to determine what to do to support pymongo 2 and pymongo 3.


Checklist


Related issues

Blocked by Pulp - Task #1559: Pulp's fedorapeople repository needs to distribute pymongo >= 3.0.0 CLOSED - CURRENTRELEASE Actions

Associated revisions

Revision 12f5e83a View on GitHub
Added by rbarlow almost 4 years ago

Do not index the errata id twice.

It is an error in pymongo >= 3 to create two indices with different
parameters and the same id. This commit eliminates a redundant
index in the Errata unit.

https://pulp.plan.io/issues/1528

re #1528

Revision 644b6075 View on GitHub
Added by rbarlow almost 4 years ago

Update Pulp to work with the pymongo 3.0.0 API.

https://pulp.plan.io/issues/1528

fixes #1528

Revision 644b6075 View on GitHub
Added by rbarlow almost 4 years ago

Update Pulp to work with the pymongo 3.0.0 API.

https://pulp.plan.io/issues/1528

fixes #1528

Revision 644b6075 View on GitHub
Added by rbarlow almost 4 years ago

Update Pulp to work with the pymongo 3.0.0 API.

https://pulp.plan.io/issues/1528

fixes #1528

History

#3 Updated by mhrivnak almost 4 years ago

  • Triaged changed from No to Yes

#5 Updated by rbarlow almost 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to rbarlow

#6 Updated by rbarlow almost 4 years ago

  • Version set to Master
  • Platform Release set to 2.8.0

#8 Updated by rbarlow almost 4 years ago

  • Blocked by Task #1559: Pulp's fedorapeople repository needs to distribute pymongo >= 3.0.0 added

#9 Updated by bmbouter almost 4 years ago

  • Checklist item update pulp to work w/ python-pymongo >= 3 added
  • Checklist item after updating pulp, test pulp to ensure it is working as expected with pymongo >= 3 added
  • Checklist item ensure the migration's direct use of python-pymongo >= 3 is safe and working added

#10 Updated by ipanova@redhat.com almost 4 years ago

  • Checklist item update pulp to work w/ python-pymongo >= 3 set to Done
  • Checklist item after updating pulp, test pulp to ensure it is working as expected with pymongo >= 3 set to Done
  • Checklist item ensure the migration's direct use of python-pymongo >= 3 is safe and working set to Done

Handtested with pymongo3.2 and mongoengine 0.10.5. Migrations and connections to mongodb performed with no issues.

#11 Updated by rbarlow almost 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#12 Updated by dkliban@redhat.com over 3 years ago

  • Status changed from MODIFIED to ON_QA

#13 Updated by rbarlow over 3 years ago

  • Status changed from ON_QA to VERIFIED

Pulp has been working with pymongo 3.2 in pulp-smash.

#14 Updated by dkliban@redhat.com over 3 years ago

  • Status changed from VERIFIED to CLOSED - CURRENTRELEASE

#15 Updated by pulpbot almost 3 years ago

  • Verified changed from No to Yes

#16 Updated by bmbouter 7 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF