This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Description
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
- Follow the 01_states_demo until you have an iTango proxy device
- md.target_state = 'standby'
- md.target_state = 'disable'
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
2019-03-18 11:51:34,401 - sip.ec.master_controller - INFO - SDP target state changed to 'disable'
2019-03-18 11:51:34,483 - sip.ec.master_controller - INFO - Processing target state change request ...
2019-03-18 11:51:34,587 - sip.ec.master_controller - INFO - Done processing target state change request!
2019-03-18 11:51:34,588 - sip.ec.master_controller - CRITICAL - Value error: Invalid current state update: 'disable'. 'standby' can be transitioned to states: ['off', 'on', 'alarm', 'fault', 'standby']
2019-03-18 11:51:34,589 - sip.ec.master_controller - INFO - Exiting!
Context