[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] DB migration 002.py broken



On 09/13/2012 11:11 AM, Jeff Ortel wrote:
Migration is failing on my box.  Jason, can you have a look at this?

Not just his box, I see it too.

---------------------------------------

     migration to data model version 2 started
     LEFT_SUBFIELD only supports Object: serialized_call_request not: 10
     Traceback (most recent call last):
     File
"/usr/lib/python2.7/site-packages/pulp/server/db/migrate/script.py",
line 82, in datamodel_migration
     mod.migrate()
     File
"/usr/lib/python2.7/site-packages/pulp/server/db/migrate/versions/v002.py",
line 51, in migrate
     _migrate_archived_calls()
     File
"/usr/lib/python2.7/site-packages/pulp/server/db/migrate/versions/v002.py",
line 44, in _migrate_archived_calls
     collection.update({}, {'$set':
{'serialized_call_request.principal': _pickled_system_user(),
'serialized_call_report.principal_login': _SYSTEM_LOGIN}}, safe=True,
multi=True)
     File
"/usr/lib/python2.7/site-packages/pulp/server/db/connection.py", line
80, in retry
     return method(*args, **kwargs)
     File "/usr/lib64/python2.7/site-packages/pymongo/collection.py",
line 368, in update
     spec, document, safe, kwargs), safe)
     File "/usr/lib64/python2.7/site-packages/pymongo/connection.py",
line 770, in _send_message
     return self.__check_response_to_last_error(response)
     File "/usr/lib64/python2.7/site-packages/pymongo/connection.py",
line 720, in __check_response_to_last_error
     raise OperationFailure(error["err"], error["code"])
     OperationFailure: LEFT_SUBFIELD only supports Object:
serialized_call_request not: 10

     migration to data model version 2 failed

_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list


--
Jay Dobies
Freenode: jdob @ #pulp
http://pulpproject.org | http://blog.pulpproject.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]