Actions
Issue #1594
closeddeprecation warnings when running migrations on EL7
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.12.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 15
Quarter:
Description
Ensuring the admin role and user are in place.
/usr/lib/python2.7/site-packages/pulp/server/managers/auth/role/cud.py:58: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead
Role.get_collection().save(create_me)
/usr/lib/python2.7/site-packages/pulp/server/managers/auth/role/cud.py:316: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead
Role.get_collection().save(role)
ensure admin
/usr/lib/python2.7/site-packages/mongoengine/document.py:324: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead
object_id = collection.save(doc, **write_concern)
/usr/lib/python2.7/site-packages/pulp/server/managers/auth/permission/cud.py:43: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead
Permission.get_collection().save(create_me)
/usr/lib/python2.7/site-packages/pulp/server/managers/auth/permission/cud.py:141: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead
Permission.get_collection().save(permission)
/usr/lib/python2.7/site-packages/mongoengine/document.py:367: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead.
upsert=upsert, **write_concern)
Related issues
Updated by rbarlow about 8 years ago
- Platform Release deleted (
2.8.0)
Since this is just a deprecation warning, I don't think it should be a 2.8 blocker. Good report!
Updated by ipanova@redhat.com over 7 years ago
- Related to Issue #2004: Pulp logs many DeprecationWarnings added
Updated by semyers over 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to semyers
Added by semyers over 7 years ago
Added by semyers over 7 years ago
Revision f98f018f | View on GitHub
Suppress DeprecationWarnings when running pulp-manage-db
Updated by semyers over 7 years ago
- Project changed from RPM Support to Pulp
- Status changed from ASSIGNED to POST
Updated by dkliban@redhat.com about 7 years ago
- Sprint/Milestone changed from 31 to 32
Updated by semyers about 7 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|f98f018fc80230c4ae6703d16177fb45ed19997c.
Updated by bizhang about 7 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
Suppress DeprecationWarnings when running pulp-manage-db
closes #1594 https://pulp.plan.io/issues/1594