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

[BUG] Cluster View not properly reflecting the status of the nodes #74

Open
sebastianricaldoni opened this issue Dec 19, 2020 · 4 comments

Comments

@sebastianricaldoni
Copy link

Describe the bug
I'm running a 3-node cluster using docker
image
When I stop one of the containers (etcd1) I don't see that node as being down.

To Reproduce

Setup the cluster

$ HTTPIP=http://<YOUR_IP>
$ CLUSTER="etcd0=$HTTPIP:2380,etcd1=$HTTPIP:2480,etcd2=$HTTPIP:2580"
$ ARGS="etcd -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-state new -initial-cluster $CLUSTER"
$ IMG="quay.io/coreos/etcd:v3.4.14"
$ docker run -d -p 2379:2379 -p 2380:2380 --name etcd0 $IMG $ARGS -name etcd0 -advertise-peer-urls $HTTPIP:2380
$ docker run -d -p 2479:2379 -p 2380:2380 --name etcd1 $IMG $ARGS -name etcd1 -advertise-peer-urls $HTTPIP:2480
$ docker run -d -p 2579:2379 -p 2380:2380 --name etcd2 $IMG $ARGS -name etcd2 -advertise-peer-urls $HTTPIP:2580

It should look something like this
image

Open ETCD Manager and point to the cluster

Note Make sure to click on the Status button for each node in order to get the green check ✅
image

Stop one of the nodes

$ docker stop etcd2
$ docker ps

image

Go back to ETCD Manager and check the status again

image

Expected behavior
As described above, I'm expecting the etcd2 node to show as down or some sort of UI hint.
I'm currently in discovery mode checking on how etcd works, mainly aspects such as high availability (HA) and fault tolerance (FT). This means I could be missing some key / critical aspect as on how etcd works, specially around clustering?

Screenshots
Supplied above

Desktop (please complete the following information):

  • OS: Windows / WSL2 / Docker
  • OS version: Windows 10
  • ETCD manager version 1.2

Additional context
Add any other context about the problem here.

@gtamas
Copy link
Owner

gtamas commented Jun 7, 2021

Thanks for reporting this. Yes this has to be fixed. it'll be part of the next release.
I'll do it as soon as I can

@gabesztx
Copy link

gabesztx commented Jun 7, 2021 via email

@gtamas
Copy link
Owner

gtamas commented Jun 7, 2021

Egyenlore nem volt idom ezzel foglalkozni, de hamarosan talan lesz idon erre a projektre.
Addig is PR-eket is szivesen fogadok, ha valaki szeretne segiteni :) Csak kommenteljetek ide ha valakit erdekelne.

@gtamas
Copy link
Owner

gtamas commented Jun 7, 2021

Currently I have little for this project but I will get back to it as soon as I can.

In the meantime, PRs are welcome :) If anyone wants to help, please contact me!. Comment below and mention me.

Thanks in advance!

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

3 participants