[working as intended] Missing host address sidekick
mpkthomasa opened this issue · 3 comments
mpkthomasa commented
I have 4 MinIo servers.
Trying to deploy with: docker stack deploy and the compose file below:
sidekick:
image: minio/sidekick:v0.5.0
ports:
- "19999:8999"
networks:
- elasticnet
deploy:
restart_policy:
delay: 0s
max_attempts: 10
window: 60s
#
command: sidekick --address :8999 --health-path=/minio/health/ready --insecure --log http://minio{1...2}:9000 http://minio{3...4}:9000 http://minio{5...6}:9000 http://minio{7...8}:9000`
This is the errors I get:
sidekick: <ERROR> Missing host address sidekick, please use '/sidekick --help'
and then sidekick stops.
I have tried all addresses I can think off without any luck, it is not entirely clear what the error means...
What is it that I am missing or doing wrong?
Best regards,
Thomas
harshavardhana commented
Looks like a weird issue, will check.
harshavardhana commented
./sidekick --address :8999 --health-path=/minio/health/ready --insecure --log http://minio{1
...2}:9000 http://minio{3...4}:9000 http://minio{5...6}:9000 http://minio{7...8}:9000
sidekick: listening on ':8999'
LOG : 16:30:20.756 http://minio2:9000 is down: Get http://minio2:9000/minio/health/ready: dial tcp: lookup minio2 on 127.0.0.53:53: server misbehaving
LOG : 16:30:20.763 http://minio4:9000 is down: Get http://minio4:9000/minio/health/ready: dial tcp: lookup minio4 on 127.0.0.53:53: server misbehaving
LOG : 16:30:20.767 http://minio6:9000 is down: Get http://minio6:9000/minio/health/ready: dial tcp: lookup minio6 on 127.0.0.53:53: server misbehaving
LOG : 16:30:20.768 http://minio7:9000 is down: Get http://minio7:9000/minio/health/ready: dial tcp: lookup minio7 on 127.0.0.53:53: server misbehaving
LOG : 16:30:20.769 http://minio3:9000 is down: Get http://minio3:9000/minio/health/ready: dial tcp: lookup minio3 on 127.0.0.53:53: server misbehaving
LOG : 16:30:20.771 http://minio8:9000 is down: Get http://minio8:9000/minio/health/ready: dial tcp: lookup minio8 on 127.0.0.53:53: server misbehaving
LOG : 16:30:20.774 http://minio1:9000 is down: Get http://minio1:9000/minio/health/ready: dial tcp: lookup minio1 on 127.0.0.53:53: server misbehaving
I tries to resolve looks like you are passing the command line wrong here?
harshavardhana commented
command: sidekick --address :8999 --health-path=/minio/health/ready --insecure --log http://minio{1...2}:9000 http://minio{3...4}:9000 http://minio{5...6}:9000 http://minio{7...8}:9000`
You are referencing sidekick again in the command this is not useful see our examples use
args: ["--health-path", "/minio/health/ready", "--address", ":9000", "http://minio-distributed-{0...3}.minio-distributed-svc.spark-operator.svc.cluster.local:9000"]