winter-telescope / observatory

0 stars 0 forks source link

add a handling/lockout option when the dome is switched to console #132

Open nlourie opened 3 months ago

nlourie commented 3 months ago

The mountain staff switch the dome to console mode during morning rounds. This puts WSP into a state where it gets mad that the state is not "stowed" but it is locked out from fixing that state. The result is that it ends up in an infinite loop trying to re-stow itself every morning. This prints a bunch of needless log messages to slack, and sometimes causes some kind of race condition that crashes the dome daemon requiring a manual reset.

The fix here should be the addition of appropriate handling of this console mode, that locks out commands to the dome/telescope, but doesn't take down the whole system.