Node stop or node delete operations stay in WAITING_LIFECYCLE_COMPLETION after engine restart
Bug #1811294 reported by
Duc Truong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin |
Fix Released
|
Undecided
|
Duc Truong |
Bug Description
If a cluster with a deletion policy that has lifecycle hooks defined is scaled-in, it spawns the node stop or node delete action in WAITING_
Changed in senlin: | |
status: | New → In Progress |
assignee: | nobody → Duc Truong (dtruong) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/629947 /git.openstack. org/cgit/ openstack/ senlin/ commit/ ?id=719c1bc32e6 cdd0efe9e9c676f 286c27cef0178b
Committed: https:/
Submitter: Zuul
Branch: master
commit 719c1bc32e6cdd0 efe9e9c676f286c 27cef0178b
Author: Duc Truong <email address hidden>
Date: Thu Jan 10 23:04:44 2019 +0000
Set owner for actions in waiting for lifecycle
- Set owner for that node stop or node delete actions that are created
as part of cluster scale-in. That way those actions will be cleaned
up by garbage collection if the engine dies.
- Reset owner back to None if the node stop or node delete actions fail
or the lifecycle timeout is hit. This is necessary for those actions
to be get picked to be executed by dispatcher.
Change-Id: I004386b069597a f62da06fa88659b abe91197229
Closes-Bug: #1811294