Project

Profile

Help

Issue #1528

closed

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

Added by rbarlow about 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Master
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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.


Related issues

Blocked by Pulp - Task #1559: Pulp's fedorapeople repository needs to distribute pymongo >= 3.0.0CLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Actions #3

Updated by mhrivnak about 8 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by rbarlow about 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to rbarlow
Actions #6

Updated by rbarlow about 8 years ago

  • Version set to Master
  • Platform Release set to 2.8.0

Added by rbarlow about 8 years ago

Revision 12f5e83a | View on GitHub

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

Actions #8

Updated by rbarlow about 8 years ago

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

Updated by bmbouter about 8 years ago

Actions #10

Updated by ipanova@redhat.com about 8 years ago

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

Added by rbarlow about 8 years ago

Revision 644b6075 | View on GitHub

Update Pulp to work with the pymongo 3.0.0 API.

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

fixes #1528

Added by rbarlow about 8 years ago

Revision 644b6075 | View on GitHub

Update Pulp to work with the pymongo 3.0.0 API.

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

fixes #1528

Actions #11

Updated by rbarlow about 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #12

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from MODIFIED to 5
Actions #13

Updated by rbarlow about 8 years ago

  • Status changed from 5 to 6

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

Actions #14

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #16

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF