commit f2360d861f3904c8a06d94175be553fe5e7bab05
Author: Adam Gandelman <email address hidden>
Date: Thu Dec 17 15:16:35 2015 -0800
Cleanup SM management during rebalance events.
This cleans up the worker's handling of rebalance events a bit
and ensures we dont drop state machines in a way that prevents
them from later being recreated. It also avoids a bug where, upon
failing over resources to a new orchestartor, we create a state
machine per worker, instead of dispatching them to one single worker.
To do this, the scheduler is passed into workers as well as the
process name, allowing them to more intelligently figure out what
they need to manage after a cluster event.
Finally, this ensures a config update is issued to appliances after
they have moved to a new orchestrator after a cluster event.
Reviewed: https:/ /review. openstack. org/259216 /git.openstack. org/cgit/ openstack/ astara/ commit/ ?id=f2360d861f3 904c8a06d94175b e553fe5e7bab05
Committed: https:/
Submitter: Jenkins
Branch: master
commit f2360d861f3904c 8a06d94175be553 fe5e7bab05
Author: Adam Gandelman <email address hidden>
Date: Thu Dec 17 15:16:35 2015 -0800
Cleanup SM management during rebalance events.
This cleans up the worker's handling of rebalance events a bit
and ensures we dont drop state machines in a way that prevents
them from later being recreated. It also avoids a bug where, upon
failing over resources to a new orchestartor, we create a state
machine per worker, instead of dispatching them to one single worker.
To do this, the scheduler is passed into workers as well as the
process name, allowing them to more intelligently figure out what
they need to manage after a cluster event.
Finally, this ensures a config update is issued to appliances after
they have moved to a new orchestrator after a cluster event.
Change-Id: I76bf702c33ac6f f831270e7185a6a a3fc4c464ca
Partial-bug: #1524068
Closes-bug: #1527396