Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dont work in sworm #20

Open
ESSch opened this issue Jun 9, 2019 · 1 comment
Open

dont work in sworm #20

ESSch opened this issue Jun 9, 2019 · 1 comment

Comments

@ESSch
Copy link

ESSch commented Jun 9, 2019

Describe the bug

sudo docker stack deploy -c docker-compose.1.yml -c docker-compose.cnf.yml -c docker-compose.shard.yml mongodb-cluster
sudo docker service ls
ID                  NAME                                MODE                REPLICAS            IMAGE               PORTS
5jv0eqanzrc2        mongodb-cluster_mongo-1-1           replicated          1/1                 mongo:4.0.1         *:30011->27017/tcp
ijg65m9f7dw0        mongodb-cluster_mongo-1-2           replicated          1/1                 mongo:4.0.1         *:30012->27017/tcp
cm7eyuj5nifg        mongodb-cluster_mongo-1-3           replicated          1/1                 mongo:4.0.1         *:30013->27017/tcp
o4zq7d2hm8zs        mongodb-cluster_mongo-cnf-1         replicated          1/1                 mongo:4.0.1         *:30101->27017/tcp
sst80l6u2610        mongodb-cluster_mongo-cnf-2         replicated          1/1                 mongo:4.0.1         *:30102->27017/tcp
il8a22h436vw        mongodb-cluster_mongo-cnf-3         replicated          1/1                 mongo:4.0.1         *:30103->27017/tcp
sdqx3ritf9js        mongodb-cluster_mongo-cnf-setup     replicated          0/1                 mongo:4.0.1         
eyjr71ilz42n        mongodb-cluster_mongo-router        replicated          1/1                 mongo:4.0.1         *:30001->27017/tcp
2tct3og66lfv        mongodb-cluster_mongo-rs1-setup     replicated          1/1                 mongo:4.0.1         
z3p31zdni4m9        mongodb-cluster_mongo-shard-setup   replicated          1/1                 mongo:4.0.1
essh@kubernetes-master:~/mongo-cluster-docker$ sudo docker logs mongodb-cluster_mongo-cnf-setup.1.dw4g8c0zjxnba3nnlvhxipelk
Waiting for startup..
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

sudo docker ps -a | grep mongodb-cluster_mongo-cnf-setup
f0a831081042        mongo:4.0.1                    "/scripts/setup-cnf.…"   Less than a second ago   Created                                          mongodb-cluster_mongo-cnf-setup.1.ny9rfgwx7g25il0hth8oeovfz
16e8597b575d        mongo:4.0.1                    "/scripts/setup-cnf.…"   7 seconds ago            Exited (0) 1 second ago                          mongodb-cluster_mongo-cnf-setup.1.x4wyvan8mr4rz1g6dut89ytye
2dd4f3adaa85        mongo:4.0.1                    "/scripts/setup-cnf.…"   13 seconds ago           Exited (0) 7 seconds ago                         mongodb-cluster_mongo-cnf-setup.1.g22oq5g56bzn1mcw1hgmkh5c1
d844c55ad2d8        mongo:4.0.1                    "/scripts/setup-cnf.…"   20 seconds ago           Exited (0) 14 seconds ago                        mongodb-cluster_mongo-cnf-setup.1.3noxlc2ewbnyodrkm5i7gers1
45ae7057fc17        mongo:4.0.1                    "/scripts/setup-cnf.…"   27 seconds ago           Exited (0) 21 seconds ago                        mongodb-cluster_mongo-cnf-setup.1.7va4kk7g5cve1jxlh31pl777f
e8de43f5ec8f        mongo:4.0.1                    "/scripts/setup-cnf.…"   34 seconds ago           Exited (0) 28 seconds ago                        mongodb-cluster_mongo-cnf-setup.1.ocahhp9tqn67a5mbx6f35f4rm
887012201c6d        mongo:4.0.1                    "/scripts/setup-cnf.…"   2 hours ago              Exited (137) 4 minutes ago                       mongodb-cluster_mongo-cnf-setup.1.dw4g8c0zjxnba3nnlvhxipelk

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Command "sudo docker-compose .... up" work. Command "docker deploy ..." didn't work. I think, mongodb nod't supported a overley network. Am I right?

@ORESoftware
Copy link

*swarm is it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants