cd installer && ansible-playbook -i inventory install.yml
EXPECTED RESULTS
An installation with no errors
ACTUAL RESULTS
TASK [local_docker : Activate AWX Web Container] *******************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Error starting container 775e238d2b00e262520977de5fcb20235c8db6df238d5b0c46f7a1197f3cd335: 500 Server Error: Internal Server Error (\"{\"message\":\"Cannot link to a non running container: /postgres AS /awx_web/postgres\"}\")"}
to retry, use: --limit @/tmp/awx/installer/install.retry
ADDITIONAL INFORMATION
Postgres was unable to run because the proper permissions had not been granted on the local filesystem to {{ postgres_data_dir }}. In this case it was /tmp/pgdocker.
From @awxbot on 2017-09-12T13:43:03Z
ISSUE TYPE
COMPONENT NAME
SUMMARY
AWX Web Container activation fails
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
An installation with no errors
ACTUAL RESULTS
ADDITIONAL INFORMATION
Postgres was unable to run because the proper permissions had not been granted on the local filesystem to
{{ postgres_data_dir }}
. In this case it was /tmp/pgdocker.Setting the context manually with
sudo chcon -t svirt_sandbox_file_t /tmp/pgdocker
resolved this as well. Copied from original issue: wwitzel3/awx#9