Hey guys, i am trying to understand how the member id is calculated when the
sensuctl cluster member-list
command is running. I was using the API to detect a failed node and i saw that it is returning the numeric ID. In my example is 4046857861428381000. According to that ticket https://github.com/sensu/sensu-go/issues/1887 i just need to convert it so I though to just use printf
printf '%02x\n' 4046857861428381000 and i am getting: 382953c8a6ef8548
However the actual sensu cluster current result is 382953c8a6ef85df.
382953c8a6ef85df i-0a72986fef8c63855 dial tcp 10.187.96.142:2379: connect: no route to host false
i.e. the last two digits are wrong!
I have commented on https://github.com/sensu/sensu-go/issues/1887 but i though to open a topic here for future reference in case someone is facing the same issue. As always, thank you for your support!