-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
AWX 17.0.0 Fresh Install fails on creation of .awx/awxcompose directory #9140
Comments
I am also experiencing this issue, using github runner to standup an awx for collection testing, and get the following
when installer run as sudo
|
@rooftopcellist Can you take a look at this on Monday? It seems fresh installs may be broken after one of your recent PRs. |
As mentioned, the issue is that the I will figure out a more permanent fix for this, but that will make the installer run to completion and install AWX 17.0.0. |
The fix for this is merged and will be in AWX 17.0.1. |
Wanted to follow up, was able to test this and has solved the problem, thanks for getting it done! |
ISSUE TYPE
SUMMARY
Running ansible-playbook -i inventory install.yml with defaults fails.
User:
awx@ubuntu:~/awx/installer$ id
uid=1001(awx) gid=1001(awx) groups=1001(awx),27(sudo),117(docker)
ENVIRONMENT
STEPS TO REPRODUCE
Add a password to inventory (no other changes).
Attempt installation as unprivileged user (that is in the docker group)
ansible-playbook -i inventory install.yml
EXPECTED RESULTS
Installation to complete.
ACTUAL RESULTS
TASK [local_docker : Create ~/.awx/awxcompose directory] ***********************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/awx/.awx/awxcompose as requested: [Errno 13] Permission denied: b'/home/awx/.awx/awxcompose'", "path": "/home/awx/.awx/awxcompose"}
ADDITIONAL INFORMATION
Simple fix (for me) was to put postgres_data_dir and docker_compose_dir to two separate locations.
~/.awx becomes owned by root which prevents the installer from creating the awxcompose directory with awx:awx ownership.
The text was updated successfully, but these errors were encountered: