Node stop is not called before deletion
Bug #1816677 reported by
Duc Truong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1. Create cluster with 2 nodes. One of the node failed to create and its physical id is None
2. Scale in cluster with step size 2
3. First node will not enter wait for lifecycle completion because its physical id is None
Expected Results:
Second node is stopped and then deleted.
Actual Results:
Stop is never called for second node. The stop operation is stuck in INIT and eventually fails due to timeout. Then node delete is called
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/638035 /git.openstack. org/cgit/ openstack/ senlin/ commit/ ?id=3e70333a65d d168c2c4a4d8839 d2980e54152697
Committed: https:/
Submitter: Zuul
Branch: master
commit 3e70333a65dd168 c2c4a4d8839d298 0e54152697
Author: Duc Truong <email address hidden>
Date: Tue Feb 19 22:38:51 2019 +0000
Fix node delete with lifecycle hook bug
Create copy of child node list and remove nodes from the original child
list if a node does not need to enter waiting lifecycle completion
because it is not found or not in ACTIVE state.
Change-Id: I04d57f4deb2f9f 46aba1d9d4a566c b90dbe74d96
Closes-Bug: #1816677