- name: Check if images were pushed # noqa 301
vars:
containers_file: "{{- tmp_file_root -}}/containers_pushed_list.txt"
missing_containers_file: "{{- tmp_file_root -}}/containers_missed_list.txt"
command: "bash /{{- tmp_file_root -}}/generate_list.sh target {{ containers_file }} {{ missing_containers_file }}"
https://review.rdoproject.org/r/c/rdo-infra/ci-config/+/32007/37/ci-scripts/container-push/roles/containers-promote/tasks/registry-push.yml#84
http://10.0.148.74/promoter_logs/wes_centos8_master.log
2021-04-09 14:05:26,109 266538 ERROR promoter changed: [localhost] => {"changed": true, "cmd": ["bash", "//var/tmp/promoter_logs/generate_list.sh", "target", "/var/tmp/promoter_logs/containers_pushed_list.txt", "/var/tmp/promoter_logs/containers_missed_list.txt"], "delta": "0:00:42.998801", "end": "2021-04-09 14:03:51.695502", "rc": 0, "start": "2021-04-09 14:03:08.696701", "stderr": "errors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n\nerrors:\ndenied: requested access to the resource is denied\nunauthorized
I believe this can be fixed by explicitly sourcing $HOME/registry_ secret in the generate_list.sh script