Open bkrajmalnik1 opened 3 years ago
Please add your planning poker estimate with ZenHub @adejanovski
I was able to reproduce this behaviour, and it does seem to be an unexpected behaviour, if not a downright bug.
The problem is that if we have medusa.ini/cassandra/nodetool_host
configured on the node where we run the backup-cluster
command from, it'll then use this host on any other node it sshs into to make snapshots and run backups.
The correct behaviour would be to check the medusa.ini on the node it sshd into and use the host form there.
Project board link
There appears to be an issue with the backup-cluster command. I just installed 0.10.1 via pip3 on a 3 node cluster running Cassandra 3.11.9 on Centos 7.9. There appears to be an issue with backup-cluster, whereby instead of each node running a nodetool snapshot on its own node, each node is attempting to execute a remote snapshot on the node from which the backup-cluster command was executed.
In my case, the node on which medusa backup-cluster was executed is 10.254.254.81. This is the log snippet from the failed operation:
medusa.log
In the above run, nodetool_host was set in each of the nodes to point to its own IP address. Commenting out the nodetool_host parameter allowed the snapshots to take place.
Therefore, I don't think this is so much a functional issue, and rather one of documentation.
┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: MED-57