When using Serf as a library, I more or less followed how Consul uses Serf. To learn more about how to use Serf, I first wanted to create a small example app with the basic structure in place that Consul has, assuming it's the recommended pattern, and then test basic failure scenarios to see if all the plumbing is set up properly. So my code is up on Github at: https://github.com/rbuck/serf-sample. Here's my question. After I start up two nodes as follows:
./test --advertise-address 192.168.0.18 --bind-port 11000 --advertise-port 11000 --data-dir alpha
./test --advertise-address 192.168.0.18 --bind-port 12000 --advertise-port 12000 --data-dir beta --join 192.168.0.18:11000
When I interrupt the process to shut it down, I occasionally see these error messages in the log output:
2017/12/03 13:21:44 [ERR] memberlist: Failed to send gossip to 192.168.0.18:12000: write udp [::]:11000->192.168.0.18:12000: use of closed network connection
2017/12/03 13:21:44 [ERR] memberlist: Failed to send ping: write udp [::]:11000->192.168.0.18:12000: use of closed network connection
Are these harmless?
To me it seems like Serf doesn't properly shutdown the memberlist layer and so it's using closed connections. Am I missing something?
serf query load, but I receive "Total Acks: 3 Total Responses: 0", despite
serf reachabilityand all
serf rtt ...working fine
I am trying to create APIs using terraform for cloud(azure/aws/google/others) communication. Let me elaborate it bit more with an example.
I want to create a VM on azure and VM name to be input by user at runtime(like: from POSTMAN) from my API. Once user input the name of VM then it should call terraform behind the scene and create VM.
I am looking to create above workflow . Kindly suggest.
[MessagePackMember(1)] public Dictionary<string, string> FilterTags; [MessagePackMember(2)] public bool RequestAck; [MessagePackMember(3)] public ulong Timeout; [MessagePackMember(4)] public string Name; [MessagePackMember(5)] public byte Payload;