Project

Profile

Help

Issue #646

closed

mongoengine connection uses wrong mongoDB database

Added by bmbouter about 9 years ago. Updated almost 4 years ago.

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

Description

2.6.0 introduces mongoengine managing the connection object. On master (2.7+) models started being converted to mongoengine, and any model that is converted when running seems to use the wrong database name in MongoDB. I expect it to to use pulp_database based on my server.conf, but instead it uses localhost:27017.

Mongoengine models should use the right database, along with the rest of Pulp. Also, this needs to be fixed in 2.6.0 because that is when mongoengine was introduced. This will avoid leaving users of 2.6.0 with a weird MongoDB.

+ This bug was cloned from Bugzilla Bug #1175512 +


Files

8333a8caaaf0432fe664ecc84d2b1307 (303 Bytes) 8333a8caaaf0432fe664ecc84d2b1307 bmbouter, 03/01/2015 12:17 AM

Also available in: Atom PDF