Bug 1881859 - The ovn-dbs update task fails on bootstrap node 'ovn_dbs_image_latest' is undefined.
Summary: The ovn-dbs update task fails on bootstrap node 'ovn_dbs_image_latest' is und...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: mbollo
QA Contact: Ronnie Rasouli
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-23 08:54 UTC by mbollo
Modified: 2020-11-11 19:57 UTC (History)
3 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20200914170156.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-28 15:39:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 747515 0 None stable/train: MERGED tripleo-heat-templates: Fix up ovn-dbs update tasks (I875a0753686669b16d0ceb25e6e5692c150d6a79) 2020-11-11 19:47:14 UTC
Red Hat Product Errata RHEA-2020:4284 0 None None None 2020-10-28 15:39:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.