threefoldtech / zos

Autonomous operating system
https://threefold.io/host/
Apache License 2.0
84 stars 14 forks source link

prettify shutting down #1985

Open muhamadazmy opened 1 year ago

muhamadazmy commented 1 year ago

Currently when zos is shutting down because of farmer bot power mgmt, a panic is shown on zos screen that redis connection (socket) is gone. This is not harmful because zos stops redis immediately before it power off. Although not harmful but it's really ugly and makes the farmer worries that something is wrong . We need to prevent this message by making sure zui shutdown nicely (and clean up the terminal) and may be show a system shutting down message.

xmonader commented 1 year ago

https://github.com/threefoldtech/zos/commit/0e7b51fa983679ae0680d60256f6a791b33fe518

scottyeager commented 1 year ago

It seems that maybe the solution didn't work as intended. A farmer is reporting they still see the following on screen when a node with Zos 3.8.4 shuts down:

image

scottyeager commented 11 months ago

Still seeing cases of the ugly shutdown screen. Reported today:

image

Could you have another look at this, @MarioBassem?