I don’t think we’ve never tried deploying Project Clearwater in a Docker Swarm
cluster, but I don’t see any reason why it couldn’t work. The tests are failing
very early – they’re not able to connect to Ellis on port 80. I can think of a
couple of reasons for this – either Ellis isn’t running or the Ellis port
mapping hasn’t worked for some reason.
Can you connect to the Ellis container and run ps –eaf | grep ellis and ps –eaf
| grep nginx to confirm that NGINX and Ellis are running? Can you also run sudo
netstat -planut | grep nginx or something equivalent to check that NGINX is
listening on port 80? If there’s a problem with either NGINX or Ellis we
probably need to look in the logs at /var/log/nginx/ or /var/log/ellis/ on the
If however that all looks fine, then it sounds like the port mapping has failed
for some reason. Can you run nc -z <ip> 80 from the box you’re running the live
tests on? This will scan for anything listening at <ip>:80 and will return
successfully if it finds anything.
From: Clearwater [mailto:clearwater-boun...@lists.projectclearwater.org] On
Behalf Of Sarbajit Chatterjee
Sent: 20 September 2016 15:05
Subject: [Project Clearwater] Deploy Clearwater in a Swarm cluster using
I am following the instructions from
https://github.com/Metaswitch/clearwater-docker. I can successfully deploy it
on a single Docker node but, the compose file does not work with Swarm cluster.
I did try to modify the compose file like this -
where swarm-node:5000 is the local docker registry and it hosts the pre-built
images of Clearwater containers. Even though the deployment succeeded,
clearwater-livetests are failing with following error -
Basic Registration (TCP) - Failed
- Connection refused - connect(2)
Any suggestions on how I can deploy Clearwater on a Swarm cluster?
Clearwater mailing list