Ask Your Question
1

Openstack magnum- In docker swarm swarm manager is not running throwing level=error msg="discovery error: client: etcd cluster is unavailable or misconfigured"

asked 2018-08-28 05:37:03 -0500

srihitha gravatar image

Hi,

I have created docker swarm cluster using openstack magnum. Below are the commands which i used to create cluster:

magnum cluster-template-create test-swarm --image fedora-atomic-latest --external-network ext_net --dns-nameserver 10.211.2.12 --master-flavor m1.small --flavor m1.small --docker-volume-size 3 --keypair key --tls-disabled --coe swarm

magnum cluster-create swarm-cluster --cluster-template test-swarm --master-count 1 --node-count 1

I can able to see 2 instances swarm-master and swarm-node and can able to ssh to them.

in swarm master instance, docker is running etcd is running swarm manager is not running

In swarm node, docker is running and swarm -agent is also running as docker conatiner

ERROR:

Journalctl -xe

level=error msg="discovery error: client: etcd cluster is unavailable or misconfigured" level=error msg="discovery error: Unexpected watch error" level=warning msg="Registering as \"10.0.0.3:9379\" in discovery failed: client: etcd cluster is unavailable or misconfigured"

swarm-manager.service: Unit entered failed state. swarm-manager.service: Failed with result 'exit-code'.

Since swarm-manager is failing swarm-agent is not able to added to docker swarm cluster and even containers created in swarm master not reflecting in swarm-node.

Can soemone help me to solve this issue?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-03-21 04:43:09 -0500

Ange gravatar image

I have the same issues. have a solution?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-08-28 05:37:03 -0500

Seen: 104 times

Last updated: Aug 28 '18