sequenceiq / munchausen

docker
5 stars 1 forks source link

failed to bootstrap swarm #23

Closed ylvmw closed 8 years ago

ylvmw commented 8 years ago

Hello,

I just met such issue when creating a cluster, could you please take a look of it? How should I configure docker? Here is my configuration in /etc/sysconfig/docker: /etc/sysconfig/docker

Here is the log of munchausen:

time="2016-01-19T11:36:13Z" level=debug msg="[bootstrap] Creating docker client with docker.sock." time="2016-01-19T11:36:13Z" level=debug msg="[containerhandler] Creating swarm manager container with discovery parameter: ...:2376,...:2376,...:2376,...:2376,...:2376,...:2376" time="2016-01-19T11:36:13Z" level=debug msg="[containerhandler] Couldn't remove container: tmp-swarm-manager: Not found" time="2016-01-19T11:36:13Z" level=error msg="[containerhandler] Failed to create Swarm manager container: Not found"

martonsereg commented 8 years ago

Hi, this doesn't look like a munchausen issue, it seems that parameters were not passed correctly to the tool, so this is likely an issue with cloudbreak.

ylvmw commented 8 years ago

Does the swarm image need to be installed before calling the bootstrap here?

martonsereg commented 8 years ago

I'm not completely sure but I think yes.

ylvmw commented 8 years ago

Thanks! Just resolved the issue by install the swarm image manually.