Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1881859

Summary: The ovn-dbs update task fails on bootstrap node 'ovn_dbs_image_latest' is undefined.
Product: Red Hat OpenStack Reporter: mbollo
Component: openstack-tripleo-heat-templatesAssignee: mbollo
Status: CLOSED ERRATA QA Contact: Ronnie Rasouli <rrasouli>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: jpretori, mburns, spower
Target Milestone: z2Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20200914170156.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-28 15:39:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mbollo 2020-09-23 08:54:29 UTC
I was testing a minor update on master and noticed the following error on the ovn-dbs bootstrap node (controller-0):

2020-08-18 07:16:16.346959 | 00a673e5-dc44-c6b1-ce2d-000000000094 |
FATAL | Update the ovn-dbs-bundle to use the new container image name | overcloud-controller-0 | error={"msg": "The conditional check
'ovn_dbs_current_image.stdout != ovn_dbs_image_latest' failed. The error was: error while evaluating conditional (ovn_dbs_current_image.stdout !=
ovn_dbs_image_latest): 'ovn_dbs_image_latest' is undefined\n\nThe error appears to be in '/tmp/tripleo5rvsi_ix/overcloud/Controller/update_tasks_step5.yaml':
line 23, column 7, but may\nbe elsewhere in the file depending on the
exact syntax problem.\n\nThe offending line appears to be:\n\n - block:\n - command: pcs resource bundle update ovn-dbs-bundle
container image={{ovn_dbs_image_latest}}\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing
quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be
written as:\n\n with_items:\n - \"{{ foo }}\"\n"}

The task 'Update the ovn-dbs-bundle to use the new container image name' is indeed missing the variable and needs fixing.

The job[1] failed. Need to backport the upstream patch.

[1] https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/job/DFG-upgrades-updates-16.1-from-ga-composable-ipv6/22

Comment 1 spower 2020-09-30 10:31:14 UTC
This has no target milestone?

Comment 10 errata-xmlrpc 2020-10-28 15:39:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4284