commit 53a055cb3aeed9ddb0368f65e26932d044162136
Author: Bin Qian <email address hidden>
Date: Thu Aug 23 14:06:48 2018 -0400
remove incorrect logging when standby controller failed
Add condition for the logging so to log only when the active controller
failure which triggers a uncontrollered swact.
The following changes are made:
1. move get_controller_state to a new sm_failover_utils.c and renamed it
to sm_get_controller_state.
2. use the above function to check ensure to log only when the controller
schedulering state is changing (swact).
Closes-Bug: 1788697
Change-Id: I145b579c2d31e8c9e184894774d3a1c06c9149d7
Signed-off-by: Bin Qian <email address hidden>
Reviewed: https:/ /review. openstack. org/596305 /git.openstack. org/cgit/ openstack/ stx-ha/ commit/ ?id=53a055cb3ae ed9ddb0368f65e2 6932d044162136
Committed: https:/
Submitter: Zuul
Branch: master
commit 53a055cb3aeed9d db0368f65e26932 d044162136
Author: Bin Qian <email address hidden>
Date: Thu Aug 23 14:06:48 2018 -0400
remove incorrect logging when standby controller failed
Add condition for the logging so to log only when the active controller state to a new sm_failover_utils.c and renamed it controller_ state.
failure which triggers a uncontrollered swact.
The following changes are made:
1. move get_controller_
to sm_get_
2. use the above function to check ensure to log only when the controller
schedulering state is changing (swact).
Closes-Bug: 1788697
Change-Id: I145b579c2d31e8 c9e184894774d3a 1c06c9149d7
Signed-off-by: Bin Qian <email address hidden>