Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1484052 - [UPDATES] tasks with step == "0" are never executed
[UPDATES] tasks with step == "0" are never executed
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
high Severity high
: rc
: 12.0 (Pike)
Assigned To: mathieu bultel
Yurii Prokulevych
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-22 10:29 EDT by Yurii Prokulevych
Modified: 2018-02-05 14:12 EST (History)
7 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-0.20171023134947.8da5e1f.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 16:53:35 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1712498 None None None 2017-08-23 04:22 EDT
OpenStack gerrit 496397 None None None 2017-08-22 16:17 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Yurii Prokulevych 2017-08-22 10:29:13 EDT
Description of problem:
-----------------------
In the generated playbook for minor updates update_steps_tasks.yaml is included in a loop like this: '''with_sequence: count=5'''

The problem is that with this invocation iteration starts with '1', and we still have tasks referencing 0.

E.g: https://review.openstack.org/#/c/486567/34/puppet/services/tripleo-packages.yaml@63

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-tripleo-heat-templates-7.0.0-0.20170805163048.el7ost.noarch
Comment 1 mathieu bultel 2017-08-22 16:04:54 EDT
Nice catch,
We can specify the start with:
      with_sequence:
        - start: 0
I guess it should fix the issue.
Comment 4 Yurii Prokulevych 2017-11-21 08:12:56 EST
Patch present in openstack-tripleo-heat-templates-7.0.3-10.el7ost.noarch
Comment 7 errata-xmlrpc 2017-12-13 16:53:35 EST
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.

https://access.redhat.com/errata/RHEA-2017:3462

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