Thanks for develop this amazing system. My team are testing consul on 5 nodes small cluster(3 server+2 client)
Consul v0.1.1.dev (b8d185a+CHANGES)
Consul Protocol: 1 (Understands back to: 1)
when running the following:
curl -d '{"Service":{"ID":"1234","Name":"mysql-1","Tags":["slave"],"Port":3306,"check":{"Name":"MySQL Service Check","Script":"/root/mysqlcheck.sh orz1bsg","Interval":"3s"}}}' http://127.0.0.1:8500/v1/agent/service/register
It failed to register a service and reports "missing service name". Tried on each node and got the same result.
It works Ok when write the above json to a file like /etc/consul.d/mysql_chk.json and loaded when consul join the cluster or using kill -s SIGHUP.
Appreciate if there is clue.
Thanks,
Joe
Thanks for develop this amazing system. My team are testing consul on 5 nodes small cluster(3 server+2 client)
Consul v0.1.1.dev (b8d185a+CHANGES)
Consul Protocol: 1 (Understands back to: 1)
when running the following:
curl -d '{"Service":{"ID":"1234","Name":"mysql-1","Tags":["slave"],"Port":3306,"check":{"Name":"MySQL Service Check","Script":"/root/mysqlcheck.sh orz1bsg","Interval":"3s"}}}' http://127.0.0.1:8500/v1/agent/service/register
It failed to register a service and reports "missing service name". Tried on each node and got the same result.
It works Ok when write the above json to a file like /etc/consul.d/mysql_chk.json and loaded when consul join the cluster or using kill -s SIGHUP.
Appreciate if there is clue.
Thanks,
Joe