-
Notifications
You must be signed in to change notification settings - Fork 651
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
static assets not being created #470
Comments
same issue here. I fixed it. I stumbled across the following issue: awx-container Going to the container bash and adding the symlink, fixed it (temporarily, of course):
|
I can confirm this, having the same issue, making it impossible to use at this poing.
Adding a ln to the container doesnt help much, if the container goes down it will lose the change. |
This could be fixed by this PR. ansible/awx#10583 Sometimes the database isn't ready right away and then the awx-manage collectstatic command fails because it depends on the database. |
This should be resolved by the PR linked above, and will go out in the next release of AWX. |
ISSUE TYPE
SUMMARY
When trying to launch AWX in any configuration of persistent or non-persistent storage, the directories and files within /var/lib/awx are not created.
ENVIRONMENT
STEPS TO REPRODUCE
Create a new AWX instance with the following config:
or:
EXPECTED RESULTS
Once the pod is up and running, should be able to hit the loadbalancer/ClusterIP/NodePort to access the AWX WebUI.
ACTUAL RESULTS
A 404 is returned, with the following logs:
ADDITIONAL INFORMATION
Upon investigation, by default with the 0.12.0 release,
/var/lib/awx
does not exist. Using the workaround specified in #357 (comment) by forking the AWX-Operator repo and modifying the specified file, the/var/lib/awx
folder exists, but the/var/lib/awx/public
folder still does not exist, though other folders are created as expected:The same error about files in
/var/lib/awx/public
can still be seen in the awx-web container logs.AWX-OPERATOR LOGS
Will be provided upon request due to length.
The text was updated successfully, but these errors were encountered: