Bug #16249
closedPulp sync error
Description
While trying to sync content to a capsule, I see a number of errors like the below in the capsule's /var/log/message file.
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4403-89728) /usr/lib/python2.7/site-packages/mongoengine/queryset/base.py:461: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead.
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4403-89728) upsert=upsert, **write_concern)
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4403-89728)
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4403-89728) /usr/lib/python2.7/site-packages/mongoengine/document.py:367: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead.
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4403-89728) upsert=upsert, **write_concern)
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4403-89728)
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4399-49888) /usr/lib/python2.7/site-packages/pulp/server/db/model/__init__.py:536: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead.
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4399-49888) TaskStatus._get_collection().update({'task_id': task_id}, update, upsert=True)
Aug 23 11:38:57 svllmgxa01 pulp: py.warnings:WARNING: (4399-49888)