This is very similar to #150 , but #151 didn't fix it for this case.
I'm using Cassandra with docker stack deploy in swarm mode. If I specify a ports: section in the stack YAML, _ip_address gives a different address than when I don't have ports:. With ports:, lightweight transactions (LWT) fail, without it, they're fine. I locally hacked the _ip_address function to only find addresses that start with 10.0., and that seemed to fix things up for me, but I don't really know if that's the way to go.
This is very similar to #150 , but #151 didn't fix it for this case.
I'm using Cassandra with
docker stack deployin swarm mode. If I specify aports:section in the stack YAML,_ip_addressgives a different address than when I don't haveports:. Withports:, lightweight transactions (LWT) fail, without it, they're fine. I locally hacked the_ip_addressfunction to only find addresses that start with10.0., and that seemed to fix things up for me, but I don't really know if that's the way to go.