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

Trying to go from standby to disable causes critical error #91

@david-terrett

Description

@david-terrett

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

  1. Follow the 01_states_demo until you have an iTango proxy device
  2. md.target_state = 'standby'
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions