Description of problem: After updating from 0.244 to 0.254 pulp-migrate gives a validation error: # pulp-migrate data model in use matches the current version 4 errors on validation, see /var/log/pulp/db.log for details # tail /var/log/pulp/db.log model validation failure in Repo for model centos6-x86_64: field notes is <type 'NoneType'> not <type 'dict'> model validation failure in Repo for model fedora-15-x86_64: field notes is <type 'NoneType'> not <type 'dict'> model validation failure in Repo for model rhel6-pulp-x86_64: field notes is <type 'NoneType'> not <type 'dict'> model validation failure in Repo for model epel-6-x86_64: field notes is <type 'NoneType'> not <type 'dict'> Version-Release number of selected component (if applicable): # rpm -qa | grep pulp python-isodate-0.4.4-3.pulp.fc15.noarch pulp-common-0.0.254-1.fc15.noarch pulp-0.0.254-1.fc15.noarch pulp-selinux-server-0.0.254-1.fc15.noarch pulp-admin-0.0.254-1.fc15.noarch mod_wsgi-3.2-6.pulp.fc15.i686 python-oauth2-1.5.170-2.pulp.fc15.noarch m2crypto-0.21.1.pulp-5.fc15.i686 pulp-client-lib-0.0.254-1.fc15.noarch How reproducible: Always. Steps to Reproduce: 1. Run pulp-migrate 2. Get error Actual results: Migration mentiones validation errors Expected results: Migration should work. Additional info: pulp.log shows the following *after* the migration: 2011-12-07 13:50:52,396 3990:-1217071280: pulp.server.db.connection:INFO: connection:46 Attempting Database connection with seeds = localhost 2011-12-07 13:50:52,397 3990:-1217071280: pulp.server.db.connection:INFO: connection:51 Database connection established with: seeds = localhost, name = pulp_database 2011-12-07 13:50:52,736 3990:-1217071280: pulp:CRITICAL: version:158 data model version is up to date, but has not been validated 2011-12-07 13:50:52,736 3990:-1217071280: pulp:CRITICAL: version:159 use the 'pulp-migrate' tool to fix this before restarting the web server
Fixed. commit f802eff555b7e9f54476b0b9d5950c4dae4fe9b6 Author: Sayli Karmarkar <skarmark> Date: Thu Dec 8 00:44:46 2011 -0800 760958 - Fixing DB validation error
build: 0.254-2
verified db version 28 to 31 [root@pulp-f15 ~]# pulp-migrate database migration to version 31 complete [root@pulp-f15 ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.