gns3-gui
gns3-gui copied to clipboard
Show available /opt storage capacity and show a warning at 75%-80%
I just killed my server and wasted 2-3h trying to make work an appliance that was failing due to insufficient space on the server. It would have been nice to have a warning somewhere at the client end I got the below when I got sick of the situation and I wanted to wipe out the project and start from scratch The message is contradicting itself. I am trying to delete in order to create space
error while deleting L2: Could not write topology: [Errno 28] No space left on device Could not write topology: [Errno 28] No space left on device error while deleting L3: Could not write topology: [Errno 28] No space left on device Could not write topology: [Errno 28] No space left on device error while deleting L4: Could not write topology: [Errno 28] No space left on device Could not write topology: [Errno 28] No space left on device error while deleting S2: Could not write topology: [Errno 28] No space left on device Could not write topology: [Errno 28] No space left on device error while deleting Cloud1: Could not write topology: [Errno 28] No space left on device Could not write topology: [Errno 28] No space left on device error while deleting S1: Could not write topology: [Errno 28] No space left on device Could not write topology: [Errno 28] No space left on device error while deleting L1: Could not write topology: [Errno 28] No space left on device
I ran in to the same issue at one point in a project build out. This would be a great enhancement to have.
We already send a warning when creating/opening a project and the space disk is getting low (https://github.com/GNS3/gns3-server/blob/2.3/gns3server/compute/project_manager.py#L79L97) however because of this bug https://github.com/GNS3/gns3-server/issues/1533 the warning is not received by clients.