tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train job is failing on TASK [undercloud-deploy : Write containers-prepare-parameter.yaml] with error 'dict object' has no attribute 'registry_ip_address_branch'

Bug #1903980 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description
===========

tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train job is failing on TASK [undercloud-deploy : Write containers-prepare-parameter.yaml] with error 'dict object' has no attribute 'registry_ip_address_branch'

Build history:-
https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train&project=openstack/python-tripleoclient

Its blocking patches to merge.

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_fb6/760905/1/check/tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train/fb62779/job-output.txt
~~~
2020-11-10 13:40:01.052665 | primary | TASK [undercloud-deploy : Write containers-prepare-parameter.yaml] *************
2020-11-10 13:40:01.052798 | primary | Tuesday 10 November 2020 13:40:01 +0000 (0:00:00.076) 0:08:41.652 ******
2020-11-10 13:40:01.887127 | primary | fatal: [undercloud]: FAILED! => {
2020-11-10 13:40:01.887198 | primary | "changed": false
2020-11-10 13:40:01.887256 | primary | }
2020-11-10 13:40:01.887277 | primary |
2020-11-10 13:40:01.887294 | primary | MSG:
2020-11-10 13:40:01.887311 | primary |
2020-11-10 13:40:01.887355 | primary | AnsibleUndefinedVariable: {% if job is defined and job.build_container_images is defined and job.build_container_images|default(false)|bool or build_container_images|default(false)|bool -%} 127.0.0.1:5001 {%- elif job.consumer_job | default(false) | bool -%} {{ job.registry_ip_address_branch[release] }}:5001 {%- else -%} docker.io {%- endif -%}: 'dict object' has no attribute 'registry_ip_address_branch'
2020-11-10 13:40:01.888333 | primary |
2020-11-10 13:40:01.888379 | primary | PLAY RECAP *********************************************************************
2020-11-10 13:40:01.888413 | primary | subnode-1 : ok=26 changed=9 unreachable=0 failed=0 skipped=17 rescued=0 ignored=0
2020-11-10 13:40:01.888440 | primary | undercloud : ok=52 changed=24 unreachable=0 failed=1 skipped=91 rescued=0 ignored=0
~~~

Another example:-

https://103863a9743820bcd551-918481fbb0884296d519217869393e97.ssl.cf2.rackcdn.com/760789/3/check/tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train/d5e1f03/job-output.txt

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hello,

Issue is happening because[1] it is not dependent on content provider

[1] https://opendev.org/openstack/python-tripleoclient/src/branch/stable/train/zuul.d/layout.yaml#L42

Patch is up - https://review.opendev.org/#/c/761892/

Revision history for this message
Marios Andreou (marios-b) wrote :

removing alert and promotion blocker & moving in progress

this is specifically happening in stable/train tripleoclient because the layout there overrides the content provider templates https://opendev.org/openstack/python-tripleoclient/src/commit/a8c84cc2aeab22d08ca4f53315dedbb9d08441dd/zuul.d/layout.yaml#L40

it is being fixed as part of an otherwise unrelated patch, in https://review.opendev.org/#/c/761892/8/zuul.d/layout.yaml

I don't think this would affect the periodics (i.e. for promotion blocker tag) if I am wrong please re-add that.

Revision history for this message
Marios Andreou (marios-b) wrote :

the fix for tripleoclient stable/train merged at https://review.opendev.org/#/c/761892/8/zuul.d/layout.yaml

moving this fix-released please move back if you disagree and are still seeing this thank you

Changed in tripleo:
status: Triaged → Fix Released
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.