crossminer / scava-deployment

This repository contains the Docker configuration files for the deployment of Scava platform
Eclipse Public License 2.0
2 stars 9 forks source link

Auth-server does not restart correctly #19

Closed MarcioMateus closed 5 years ago

MarcioMateus commented 5 years ago

@mhow2 said "hi. It seems there is an issue with the auth-server container, when you stop/start the containers stack (docker-compose -f... up then Ctrl+C to stop then docker-compose -f... up again ), auth-server isn't able to reach mongodb. If you remove the containers completely and restart from scratch it seems to works (docker-compose -f ... down, then up)"

The visible effect of the above is - among potential others - is you get a "bad credentials" when trying to login to the admin UI.

borisbaldassari commented 5 years ago

Hey. I have the same problem even after a down I believe... http://ci4.castalia.camp:5601/login

MarcioMateus commented 5 years ago

After some tests I realised that this behaviour was caused by restarting problem on oss-db.

I create a new branch to fix problem: https://github.com/crossminer/scava-deployment/tree/fix-oss-db-restart

You can test the latest commit 7554c56

Notice that I reduced the amount of messages produced, so the output is different from the usual.

The startup of the machine is still taking a lot of time. I will to try to improve it a bit.

borisbaldassari commented 5 years ago

Fixed on my side! :-) Thanks @MarcioMateus !

mhow2 commented 5 years ago

Looks ok for me too ! I suggest we merge.

MarcioMateus commented 5 years ago

Fixed on 98065d31d2aef8ea7bd4d632faf7df1b25e85517