[Pulp-list] pulp-migrate fails on upgrade to .189

Jay Dobies jason.dobies at redhat.com
Fri Jun 10 20:05:33 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Looking at the code, its a typo in the upgrade script.

So if you're upgrading .188 to .189, you'll have to drop your repos
collection otherwise the pulp-migrate will fail.

On 06/10/2011 04:04 PM, Jay Dobies wrote:
> Still looking for a workaround. Anyone else seeing this?
> 
> 
> 
> migration to data model version 17 started
> migration to data model version 17 complete
> migration to data model version 18 started
> global name 'cert' is not defined
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/script.py",
> line 84, in datamodel_migration
>     mod.migrate()
>   File
> "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/versions/eighteen.py",
> line 26, in migrate
>     _migrate_repos()
>   File
> "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/versions/eighteen.py",
> line 59, in _migrate_repos
>     if key and cert:
> NameError: global name 'cert' is not defined
> 
> migration to data model version 18 failed
> 
> 
> 
> 

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


- -- 
Jay Dobies
RHCE# 805008743336126
Freenode: jdob @ #pulp
http://pulpproject.org | http://blog.pulpproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN8nkNAAoJEOMmcTqOSQHCtXwIAMSHJwKafu3Wc/hwwVHhxI68
Xr99lJU+P/XxhJikIQz9HTwSLZtalycDBXcdLNVxjvkpS+k7T4aXfqB/incB9RjO
t2tvHBAKanobKnW+hmOYfv1HQ375ww+DX6631RoptImRvkzEu5XovTAX+NTVoCki
I51+EeKLxMQcAd/JmWEau6LYxpRrOLwfEuqp9+ZX8d980WlEILNk2FQGxV9VaBTa
EWukmTNLpa1XpYDst+qqyWep0vtvCBx4Y63ju7k/9MlG6j5q+AL7IJxvDvaO8aex
bstZVEVqeoJX/16+rr9B4fqOjGDlELqvzNDk/gjW0jC3+w1NIwKfg7FWemxXah0=
=XcUA
-----END PGP SIGNATURE-----




More information about the Pulp-list mailing list