Project

Profile

Help

Issue #1065

Task #1014: Short Term Improvements for Pulp's use of MongoDB

DeprecationWarning on pulp-manage-db

Added by igulina@redhat.com over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.7.0 Beta
Platform Release:
2.7.0
OS:
RHEL 6
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

>> rpm -qa|grep mongoe
python-mongoengine-0.7.10-2.el6.noarch

>> rpm -qa pulp-server
pulp-server-2.7.0-0.3.beta.el6.noarch

>> sudo -u apache pulp-manage-db
Mongo database for connection is version 2.4.13
Loading content types.
Loading type descriptors [rpm_support.json, puppet.json, iso_support.json]
Parsing type descriptors
Validating type descriptor syntactic integrity
Validating type descriptor semantic integrity
Updating the database with types [distribution, drpm, erratum, package_group, package_category, package_environment, rpm, srpm, yum_repo_metadata_file, puppet_module, iso]

/usr/lib/python2.6/site-packages/pulp/server/db/connection.py:167: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead.
  return method(*args, **kwargs)

Content types loaded.
Ensuring the admin role and user are in place.
Admin role and user are in place.
Beginning database migrations.
Migration package pulp.server.db.migrations is up to date at version 18
Migration package pulp_puppet.plugins.migrations is up to date at version 2
Migration package pulp_rpm.plugins.migrations is up to date at version 21
Database migrations complete.

Related issues

Blocks Pulp - Issue #974: GET of a task sometimes 404s on first requestCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Pulp - Issue #1139: Fix Pulp's use of replica sets replica setsCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision c904e5f3 View on GitHub
Added by Austin Macdonald about 6 years ago

rm safe=true

Remove the deprecated safe=True from all calls to PyMongo.

closes #1065

Revision c904e5f3 View on GitHub
Added by Austin Macdonald about 6 years ago

rm safe=true

Remove the deprecated safe=True from all calls to PyMongo.

closes #1065

Revision 8ec9c6b7 View on GitHub
Added by Austin Macdonald about 6 years ago

remove safe=true

re #1065

Revision cc59c50a View on GitHub
Added by Austin Macdonald about 6 years ago

rm safe=true

re #1065

Revision 55fc57b0 View on GitHub
Added by Austin Macdonald about 6 years ago

remove safe=true

re #1065

History

#1 Updated by rbarlow over 6 years ago

This actually happens in all of our processes, not just pulp-manage-db. If we decide to move away from Mongo, we won't need to solve this issue. If we decide to stay with Mongo, we will need to start using write concerns instead of the safe argument.

#2 Updated by igulina@redhat.com over 6 years ago

  • OS changed from RHEL 7 to RHEL 6

#3 Updated by mhrivnak over 6 years ago

  • Triaged changed from No to Yes

#4 Updated by bmbouter over 6 years ago

  • Parent task set to #1014

#5 Updated by bmbouter over 6 years ago

  • Blocks Issue #974: GET of a task sometimes 404s on first request added

#6 Updated by bmbouter over 6 years ago

  • Blocked by Issue #1139: Fix Pulp's use of replica sets replica sets added

#7 Updated by amacdona@redhat.com about 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com
  • Platform Release set to 2.7.0

#8 Updated by amacdona@redhat.com about 6 years ago

  • Status changed from ASSIGNED to POST

#11 Updated by Anonymous about 6 years ago

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

#12 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from MODIFIED to 5

#13 Updated by amacdona@redhat.com almost 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#14 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF