Bug 1594731

Summary: Update procedure doesn't trigger post_update_tasks
Product: Red Hat OpenStack Reporter: Jiri Stransky <jstransk>
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED CURRENTRELEASE QA Contact: Noam Manos <nmanos>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: aadam, ccamacho, jchhatba, joflynn, jschluet, jstransk, mburns, morazi, nmanos, trozet
Target Milestone: z3Keywords: TestOnly, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-44.el7ost Doc Type: Bug Fix
Doc Text:
Service post-update tasks did not execute during minor version update procedure. As a result, services, for example, OpenDaylight, did not perform the full set of expected actions during a minor version update. Service post-date tasks now trigger during minor version update procedures and service post-update tasks are executed as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-21 10:36:14 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:
Bug Depends On: 1597666, 1652444    
Bug Blocks:    

Description Jiri Stransky 2018-06-25 09:53:26 UTC
When we run minor update, the post_update_tasks aren't getting executed, looking at code history, it seems they have never been executed. This affects ODL which makes use of those tasks.

Comment 13 Noam Manos 2018-09-20 13:15:34 UTC
To verify:

* During OSP13 update step "openstack overcloud update run --nodes Controller" -
Check if any of the these tasks show up in the update logs on controller node:

1) https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/opendaylight-api.yaml#L223

The 2nd block is conditional by update level, but at least the 1st block should be executed unconditionally.

2) https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/opendaylight-api.yaml#L284-L287

So at least this should be visible in the ansible log from update:

3) https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/opendaylight-api.yaml#L254-L258

Comment 16 Noam Manos 2018-09-21 08:48:40 UTC
Verified on OSP13 with ODL, while updating from Puddle 2018-08-03.3 to Puddle 2018-08-14.4.

Comment 17 Lon Hohberger 2018-09-21 10:36:14 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-8.0.4-20.el7ost.  This build is available now.