Actions
Bug #24443
closed3.6 -> 3.7 upgrade on proxy does not always migrate pulp db
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Upgrades
Target version:
Description
Error from pulp on the smart proxy:
pulp.server.webservices.application:CRITICAL: ************************************************************* pulp.server.db.migrate.models:ERROR: pulp_deb.plugins.migrations hasn't been updated to the latest available migration. pulp.server.webservices.application:CRITICAL: ************************************************************* pulp.server.webservices.application:CRITICAL: The Pulp server failed to start due to the following reasons: pulp.server.webservices.application:ERROR: (7046-60704) The database has not been migrated to the current version. Run pulp-manage-db and restart the application. pulp.server.webservices.application:ERROR: (7046-60704) Traceback (most recent call last): pulp.server.webservices.application:ERROR: (7046-60704) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/application.py", line 111, in wsgi_application pulp.server.webservices.application:ERROR: (7046-60704) _initialize_web_services() pulp.server.webservices.application:ERROR: (7046-60704) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/application.py", line 74, in _initialize_web_services pulp.server.webservices.application:ERROR: (7046-60704) migration_models.check_package_versions() pulp.server.webservices.application:ERROR: (7046-60704) File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/models.py", line 314, in check_package_versions pulp.server.webservices.application:ERROR: (7046-60704) raise Exception(error_message) pulp.server.webservices.application:ERROR: (7046-60704) InitializationException: The database has not been migrated to the current version. Run pulp-manage-db and restart the application. pulp.server.webservices.application:CRITICAL: *************************************************************
Workaround¶
foreman-maintain service stop
service rh-mongodb34-mongod start
sudo -u apache pulp-manage-db
foreman-maintain service start
Updated by Jonathon Turel over 6 years ago
- Assignee set to Stephen Benjamin
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by Stephen Benjamin over 6 years ago
- Status changed from New to Need more information
I tried the pipeline twice, and it succeeds all the way until the final BATS run, which I think is failing because services aren't ready yet. My desktop is pretty slow, a manual BATS run after a few minutes succeeds.
Otherwise maybe we can close this unless we see it on 3.7 -> 3.8 too.
Updated by Jonathon Turel over 6 years ago
- Status changed from Need more information to Resolved
- Target version changed from Katello 3.9.0 to Katello Backlog
Closing since it does not seem to occur!
Updated by Jonathon Turel over 6 years ago
- Target version changed from Katello Backlog to Katello Recycle Bin
Actions