consul icon indicating copy to clipboard operation
consul copied to clipboard

UI Test error.

Open ronycohen opened this issue 9 years ago • 4 comments

Hello !

thank you for your share ! I encounter an error with your file.

I have 4 nodes in my docker swarm :

image

I launched your file.

image

The seed container is properly created, and then I have 4 services of testconsul_cluster.

image

I encounter an error when trying to connect to the UI (of each clusters). image

Did I make any mistake ? Thank you.

ronycohen avatar Sep 01 '17 12:09 ronycohen

OK I got the errors :

image

ronycohen avatar Sep 01 '17 12:09 ronycohen

Did you label your docker nodes and make sure there was no overlap with the seed and cluster nodes? To label each node see - https://docs.docker.com/engine/reference/commandline/node_update/

... in my example I used access=consul_seed as the label for one node that would take the seed service. The cluster service was then told to avoid using nodes with this label.

thechane avatar Sep 01 '17 15:09 thechane

Thank you very much for your answer, I'm on it.

ronycohen avatar Sep 02 '17 13:09 ronycohen

The compose file use engine.labels.access but it must be node.labels.access. After this change working fine.

Blaiserman avatar Sep 18 '17 08:09 Blaiserman