control-plane-flow
control-plane-flow copied to clipboard
Broken exit from bash
This seems to be a regression in 2.2.0 and happens sometimes, looks like mostly after some usage of bash, not when quit immediately.
When running exit from bash, CLI seems start crashing.
cpl run bash ...
....
root@command-e5cc9a1d-5173-46b9-a11d-d1e23abeb0d6-89ck5:/app# exit
exit
Failed to create terminal session: command terminated with exit code 1
ERROR: Command exited with non-zero status.
?64
hichee % cpl --version
2.2.0
But container is stuck as Active:
@rafaelgomesxyz @dzirtusss is this still an issue?
I believe this an issue with cpln cli, an easy way to replicate this is to stay connected to a replica and just wait, when the replica gets recycled, the cli loses connection to it and shows that Failed to create terminal session, this happens even with the web UI.