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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to