RTSYork / VLAB

The RTS Virtual Lab
https://wiki.york.ac.uk/display/RTS/The+RTS+Virtual+Lab
GNU General Public License v3.0
9 stars 2 forks source link

Make board servers properly periodically re-register themselves with the relay #24

Closed RussellJoyce closed 4 years ago

RussellJoyce commented 4 years ago

Sometimes board servers seem to disappear from the relay and not come back without restarting their containers (although this needs properly testing to determine whether it's a persistent problem).

The relay might remove a board because it can't SSH ping the board server (or for some other reason), but the board should be re-registered automatically by https://github.com/RTSYork/VLAB/blob/master/boardserver/register.py in a cronjob. This might have bugs, or possibly there are other issues causing this.

RussellJoyce commented 4 years ago

This is potentially just down to times when the board server container cannot resolve the relay server, e.g. when using mDNS.

RussellJoyce commented 4 years ago

I think with the changes made in 874f9f4 (and other recent improvements) this issue has probably gone away now, so closing it with the plan that it can be re-opened if we observe this behaviour again.