Victoria upgrade jobs failing with dict object' has no attribute 'ussuri'

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

Bug Description

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ci (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ci/+/842915

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/842915
Committed: https://opendev.org/openstack/tripleo-ci/commit/f4a6d296677bf13a995cdde83c008e00c7faf9e0
Submitter: "Zuul (22348)"
Branch: master

commit f4a6d296677bf13a995cdde83c008e00c7faf9e0
Author: Sandeep Yadav <email address hidden>
Date: Mon May 23 12:46:53 2022 +0530

    Add back ussuri content-provider for V upgradejobs

    This patch partially revert Ie5be105b3b65108e741a6e1d2ea79d54596a7a5a
    , We need to keep ussuri content provider in upgrade template till we
    have victoria upgrade jobs.

    Closes-Bug: #1975456
    Change-Id: I19002f77955043e21e70fd0464ad11ac4b070e7e

Changed in tripleo:
status: In Progress → 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.