-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production Install seems to fail before migrations have run #23
Comments
In addition migrations is really slow (around 5 min) with fresh new database... |
We can probably add middleware that does a check like the following: from django.db import connection
from django.db.migrations.executor import MigrationExecutor
def migrations_complete():
executor = MigrationExecutor(connection)
plan = executor.migration_plan(executor.loader.graph.leaf_nodes())
return not bool(plan) |
@cchurch We could think adding your test on docker healthcheck feature with |
Unfortunately migrations are going to be slow until we've upgraded to Django 1.10+ which we are looking to do pretty soonish. |
implemented in #113 |
Add help dropdown and about modal
Fix obvious code error with foreman inventory
Summary
When AWX is first deployed it will start running migrations, this isn't obvious from the user interface and causes errors to be displayed as though something had gone wrong with the deployment when in actuality, we're still waiting for the migrations to run.
Environment
Steps To Reproduce:
Install a fresh AWX container set
Expected Results:
A placeholder page is displayed until the migrations have finished
Actual Results:
The interface shows errors until after the migration is finished on the task container
Additional Information:
The text was updated successfully, but these errors were encountered: