LREN-CHUV / mip-microservices-infrastructure

Generic version of the scripts used to deploy the Medical Informatics Platform
Apache License 2.0
1 stars 9 forks source link

Detect incorrect network configuration #26

Open ludovicc opened 6 years ago

ludovicc commented 6 years ago

Some users of mip-local-configuration.sh will fill incorrect network settings, in particular assign an incorrect name for the DNS address of the installation machine. Some assume that DNS == hostname, which is wrong most of the time. The installer then fails during the installation of some components, in particular portal-backend.

Need to add an additional check to detect this kind of misconfiguration.

ludovicc commented 5 years ago

Also need to automatically configure DNS for Docker. It's a frequent issue when installing MIP for the first time that Docker containers use the wrong DNS service (by default, it's the open DNS 8.8.8.8 or localhost DNS), then containers cannot talk to each other and the system installation fails.

Issue experienced by @DimitriPapadopoulos