Hello,

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 -


version: '2'
services:
  etcd:
    image: quay.io/coreos/etcd:v2.2.5
    command: >
      -name etcd0
      -advertise-client-urls http://etcd:2379,http://etcd:4001
      -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001
      -initial-advertise-peer-urls http://etcd:2380
      -listen-peer-urls http://0.0.0.0:2380
      -initial-cluster etcd0=http://etcd:2380
      -initial-cluster-state new
  bono:
    image: swarm-node:5000/clearwaterdocker_bono
    ports:
      - 22
      - "3478:3478"
      - "3478:3478/udp"
      - "5060:5060"
      - "5060:5060/udp"
      - "5062:5062"
  sprout:
    image: swarm-node:5000/clearwaterdocker_sprout
    networks:
      default:
        aliases:
          - scscf.sprout
          - icscf.sprout
    ports:
      - 22
  homestead:
    image: swarm-node:5000/clearwaterdocker_homestead
    ports:
      - 22
  homer:
    image: swarm-node:5000/clearwaterdocker_homer
    ports:
      - 22
  ralf:
    image: swarm-node:5000/clearwaterdocker_ralf
    ports:
      - 22
  ellis:
    image: swarm-node:5000/clearwaterdocker_ellis
    ports:
      - 22
      - "80:80"


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
  Errno::ECONNREFUSED thrown:
   - Connection refused - connect(2)
     -
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/quaff-0.7.3/lib/sources.rb:41:in
`initialize'


Any suggestions on how I can deploy Clearwater on a Swarm cluster?

Thanks,
Sarbajit
_______________________________________________
Clearwater mailing list
Clearwater@lists.projectclearwater.org
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to