Updates: run host_prep_tasks between update tasks and deployment tasks
We should re-run host_prep_tasks as part of the minor update, to make
sure the host is ready for starting the updated containers. The right
place for them is between update tasks and deployment tasks.
This is important in case we deliver changes to host_prep_tasks during
minor update, or if update_tasks do something that would partially
undo the host preparation, e.g. clear/delete some directories on the
host to get rid of previous state.
Change-Id: Ic0a905a8c4691cbe75113131bd84e8a39dea046d
Related-Bug: #1776206
(cherry picked from commit 416b35f4c30f4a65d1c09e8b0c540f28e1ca4f86)
Reviewed: https:/ /review. openstack. org/575680 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=cc3ff7ae277 7e759bc9426a527 c7ea4ae65c1eb4
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit cc3ff7ae2777e75 9bc9426a527c7ea 4ae65c1eb4
Author: Jiri Stransky <email address hidden>
Date: Mon Jun 11 14:06:40 2018 +0200
Updates: run host_prep_tasks between update tasks and deployment tasks
We should re-run host_prep_tasks as part of the minor update, to make
sure the host is ready for starting the updated containers. The right
place for them is between update tasks and deployment tasks.
This is important in case we deliver changes to host_prep_tasks during
minor update, or if update_tasks do something that would partially
undo the host preparation, e.g. clear/delete some directories on the
host to get rid of previous state.
Change-Id: Ic0a905a8c4691c be75113131bd84e 8a39dea046d 5d1c09e8b0c540f 28e1ca4f86)
Related-Bug: #1776206
(cherry picked from commit 416b35f4c30f4a6