Description:
Victoria upgrade jobs failing with dict object' has no attribute 'ussuri'
Log snippet:-
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_236/834594/1/gate/tripleo-ci-centos-8-undercloud-upgrade-victoria/236768f/job-output.txt
~~~
2022-05-23 06:20:53.755134 | primary | TASK [undercloud-deploy : Write containers-prepare-parameter.yaml] *************
2022-05-23 06:20:53.755225 | primary | Monday 23 May 2022 06:20:53 +0000 (0:00:00.047) 0:06:37.193 ************
2022-05-23 06:20:54.568189 | primary | An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.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 cloudenv is defined and cloudenv in ['rdo', 'vexxhost', 'psi'] -%} trunk.registry.rdoproject.org {%- elif job.consumer_job | default(false) | bool -%} {{ job.registry_ip_address_branch[release] }}:5001 {%- else -%} {{ job.alt_container_registry|default('quay.io') }} {%- endif -%}: 'dict object' has no attribute 'ussuri'
2022-05-23 06:20:54.568249 | primary | fatal: [undercloud]: FAILED! => {"changed": false, "msg": "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 cloudenv is defined and cloudenv in ['rdo', 'vexxhost', 'psi'] -%} trunk.registry.rdoproject.org {%- elif job.consumer_job | default(false) | bool -%} {{ job.registry_ip_address_branch[release] }}:5001 {%- else -%} {{ job.alt_container_registry|default('quay.io') }} {%- endif -%}: 'dict object' has no attribute 'ussuri'"}
~~~
https://d4425aae35dc8050b142-eecb7ff79b5c6e121d6c20fabad8af79.ssl.cf5.rackcdn.com/834594/1/gate/tripleo-ci-centos-8-standalone-upgrade-victoria/8af2b86/job-output.txt
~~~
2022-05-23 06:21:43.136762 | primary | TASK [standalone : Create the standalone params] *******************************
2022-05-23 06:21:43.136894 | primary | Monday 23 May 2022 06:21:43 +0000 (0:00:00.034) 0:07:44.860 ************
2022-05-23 06:21:43.831128 | primary | An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'ussuri'
2022-05-23 06:21:43.831816 | primary | fatal: [undercloud]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ussuri'"}
~~~
(dict missing ussuri) is from there https://opendev.org/openstack/tripleo-quickstart-extras/src/commit/1928bb91790561131d6c9cbeeaca6f1599e516cb/roles/standalone/templates/standalone_config.yaml.j2#L27
and see registry_ip_address_branch: at https://d4425aae35dc8050b142-eecb7ff79b5c6e121d6c20fabad8af79.ssl.cf5.rackcdn.com/834594/1/gate/tripleo-ci-centos-8-standalone-upgrade-victoria/8af2b86/zuul-info/inventory.yaml -> No ussuri in dict
Looking at https://zuul.openstack.org/status#834594 - seeing all the triggered jobs confirmed that ussuri content-provider is indeed not running here.
In https://review.opendev.org/c/openstack/tripleo-ci/+/835460/26/zuul.d/upgrades-jobs-templates.yaml#b150 - we removed content-provider job without removing victoria upgrade jobs.
Fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- ci/+/842915
Review: https:/