[Pulp-list] Can't run pulp after upgrade?

Randy Barlow rbarlow at redhat.com
Thu May 22 16:11:13 UTC 2014


On 05/22/2014 12:08 PM, Urwin, Paul wrote:
> It seems that this is because of a failed database migration. /var/log/messages has:
> 
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:CRITICAL: *************************************************************
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:CRITICAL: The Pulp server failed to start due to the following reasons:
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:   The database has not been migrated to the current version. Run pulp-manage-db and restart the application.
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR: Traceback (most recent call last):
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:   File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 147, in wsgi_application
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:     _initialize_pulp()
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:   File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 102, in _initialize_pulp
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:     migration_models.check_package_versions()
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:   File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/models.py", line 291, in check_package_versions
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR:     raise Exception(error_message)
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:ERROR: InitializationException: The database has not been migrated to the current version. Run pulp-manage-db and restart the application.
> May 22 02:46:44 myhostname pulp: pulp.server.webservices.application:CRITICAL: *************************************************************
> 
> Is there anyway to debug this or is it basically toasted?

Hi Paul!

Can you rerun pulp-manage-db and give us its stdout/stderr output, as
well as the logs captured while it is running? I think that will help us
identify the problem.

-- 
Randy Barlow
Raleigh, NC, USA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140522/216506fa/attachment.sig>


More information about the Pulp-list mailing list