[Pulp-list] DB migration failing
Andy Kelk
andy.kelk at iproperty.com
Mon May 28 08:39:20 UTC 2012
Hello,
I just upgraded to pulp 1.1.10 (1.1.10-1.el6) and had to run a db
migration. Unfortunately the migration fails because one of the
packages contains a period in the name.
>From /var/log/pulp/db.log:
migration to data model version 40 started
key 'openoffice.org-langpack-en' must not contain '.'
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/script.py",
line 89, in datamodel_migration
mod.migrate()
File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/versions/forty.py",
line 34, in migrate
migrate_repos()
File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/versions/forty.py",
line 30, in migrate_repos
collection.save(repo)
File "/usr/lib/python2.6/site-packages/pulp/server/db/connection.py",
line 80, in retry
return method(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py",
line 237, in save
manipulate, safe, _check_keys=True, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/db/connection.py",
line 80, in retry
return method(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py",
line 411, in update
_check_keys, self.__uuid_subtype), safe)
InvalidDocument: key 'openoffice.org-langpack-en' must not contain '.'
migration to data model version 40 failed
Is there a way to workaround this problem?
Thanks
Andy
More information about the Pulp-list
mailing list