threefoldtecharchive / jumpscaleX_threebot

Apache License 2.0
0 stars 3 forks source link

restart of 3bot fails #674

Closed gmachtel closed 4 years ago

gmachtel commented 4 years ago

Tried to restart a container, after it was started the previous day, using different options, but it fails. container start gives "Cannot use console in non-interactive mode" (but nothing specified there) container threebot restart=Truegives : image

It shows that we need to build a smooth user experience, because users won't understand what to do.

waleedhammam commented 4 years ago

in that case:

we have an old container named 3bot and another new threebot container running with the same port range

container threebot starts/creates a container named 3bot. So it will conflict with port ranges

So either we make container threebot takes a name, or we stick to only one container named 3bot

m-motawea commented 4 years ago

tested scenarios on branch rc_10.5.3 restart in 3sdk

3sdk> container stop
3sdk> container start server=True
3sdk> threebot restart
3sdk> threebot stop
3sdk> threebot start

in container shell

root@3bot:/sandbox# 3bot restart
root@3bot:/sandbox# 3bot stop
root@3bot:/sandbox# 3bot start
Dina-Abd-Elrahman commented 4 years ago