+++ This bug was initially created as a clone of Bug #1547949 +++
The latest YAQL (1.1.3-2.el7) introduces backward incompatible change which was not present in YAQL (1.1.0-3.el7) and below. In order to be able to upgrade to latest YAQL and not to break any new deployments or upgrades YAQL expression should be rewritten to version which is compatible in all YAQL versions.
Upstream bug: https://bugs.launchpad.net/tripleo/+bug/1750032
Upstream fix: https://review.openstack.org/#/c/545856/1
puddle will have yaql-1.1.0 that's correct. The problem is that RHOSP 13 comes with yaql 1.1.3 which acts differently. During undercloud upgrade yaql will be upgraded from 1.1.0 to 1.1.3. In this case, yaql expression will fail to equate. So, this patch refactor yaql equation to format which works exactly in yaql 1.1.0 and 1.1.3. In this case upgrade won't fail as expression will be evaluated identically in 1.1.0 and 1.1.3.
In this case puddle 2018-03-10.1 comes with patches with following package:
[stack@undercloud-0 ~]$ rpm -q openstack-tripleo-heat-templates
[stack@undercloud-0 ~]$ sed -n '516p' /usr/share/openstack-tripleo-heat-templates/overcloud.j2.yaml
expression: dict($.data.where($ != null).flatten().selectMany($.items()).groupBy($, $).select([$, $.flatten()]))
other changes from the commit are also there, so we're good to go.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.