tripleo-ci promoter fails in "check if images were pushed"

Bug #1923221 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Critical
Unassigned

Bug Description

- 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

Tags: alert ci
Revision history for this message
wes hayutin (weshayutin) wrote :

I believe this can be fixed by explicitly sourcing $HOME/registry_secret in the generate_list.sh script

Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
Bhagyashri Shewale (bhagyashri-shewale) wrote :

Hi All,

Here is the fix: Fix: https://review.rdoproject.org/r/c/rdo-infra/ci-config/+/33161 Fixed container-push multiple registry playbook

Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.