component:installerhelp wantedtype:bug
Repository metrics
- Stars
- (13,071 stars)
- PR merge metrics
- (Avg merge 24d 6h) (30 merged PRs in 30d)
Description
ISSUE TYPE
- Bug Report
SUMMARY
A warning is produced when running installer/build.yml:
[WARNING]: The value of the "source" option was determined to be "pull". Please set the "source" option explicitly. Autodetection will be removed in Ansible 2.12.
(This is also the cause of later errors.)
ENVIRONMENT
- AWX version: 6.1.0
- AWX install method: docker-compose on linux
- Ansible version: 2.8.2
- Operating System: CentOS 7
- Web Browser: N/A
STEPS TO REPRODUCE
ansible-playbook -i inventory build.yml
EXPECTED RESULTS
I expected the build playbook to complete successfully.
ACTUAL RESULTS
[WARNING]: The value of the "source" option was determined to be "pull". Please set the "source" option explicitly. Autodetection will be removed in Ansible 2.12.
failed: [localhost -> localhost] (item=latest) => {"ansible_loop_var": "item", "changed": false, "item": "latest", "msg": "Error pushing image 172.30.1.1:5000/awx/awx_web: Get https://172.30.1.1:5000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"}
failed: [localhost -> localhost] (item=6.1.0) => {"ansible_loop_var": "item", "changed": false, "item": "6.1.0", "msg": "Error pushing image 172.30.1.1:5000/awx/awx_web: Get https://172.30.1.1:5000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"}
ADDITIONAL INFORMATION
By editing awx/installer/roles/image_push/tasks/main.yml and adding source: local to the Tag and Push Container Images and Tag and push task image to registry, and running the build.yml playbook again I was able to run it to completion.