Open david-terrett opened 5 years ago
Setting the request state to any invalid value appears to result in the same behaviour.
yup clearly an issue here. As you no doubt spotted, the error is being thrown from the config DB API. According to the SDP state diagram going from standby to disabled is not an allowed transition so this is somewhat expected, although maybe we should revisit the discussion on that logic.
That aside, the main issue here is that the Value Error being thrown when an invalid transition is requested is not being handled appropriately by the Master Controller. I'm not sure on all the edge cases but it's pretty clear that just exiting the whole application is not a reasonable outcome.
If the master controller is in standby and the target state is set to disable the master controller dies with a CRITICAL error
To Reproduce
The master controller logs a CRITICAL error and then exits.
Expected behavior Either the master controller changes state or an error is reported.
Screenshots &/or terminal output
Context