Bug 1776912

Summary: Post update and upgrade tasks capped at step 3
Product: Red Hat OpenStack Reporter: Carlos Goncalves <cgoncalves>
Component: openstack-tripleo-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 13.0 (Queens)CC: apetrich, ccamacho, mburns
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-02 13:56:48 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:    
Bug Blocks: 1709925    

Description Carlos Goncalves 2019-11-26 14:59:41 UTC
Post update and upgrade tasks (post_update_tasks and post_upgrade_tasks, respectively) are capped at step 3.

- https://github.com/openstack/tripleo-heat-templates/blob/fa3140a7236eea8ac87a24c57ae93dcdd3880a0e/common/deploy-steps.j2#L23
- https://github.com/openstack/tripleo-heat-templates/blob/fa3140a7236eea8ac87a24c57ae93dcdd3880a0e/common/deploy-steps.j2#L26

There are use cases where a service has to run post update/upgrade tasks in step 5. For example, Octavia runs workflow tasks in step 5 and needs to be able to run post tasks afterward for cleanup. See https://review.opendev.org/#/q/I32524f85ef6a0ca3e87fa9acc8c9e12776225717

Comment 2 Carlos Camacho 2019-12-02 13:56:48 UTC
Hi Carlos, after IRC discussion, please feel free to open if you think there is an issue around.