cassandra-medusa
cassandra-medusa copied to clipboard
Node hostname differs when invoking backup on commandline vs via gRPC client - K8s
Hi, I have Medusa 0.21 running in gRPC mode alongside Cassandra in a pod and when I invoke backup directly from the terminal of the Medusa container, the hostname is resolved and it creates and uploads to the corresponding node directory. But when I use a Medusa client to take a backup, it instead uses the node name and does not resolve to the correct hostname.
# LOGS WHEN INVOKED VIA MEDUSA GRPC CLIENT, Node hostname picked up - ip-192-168-125-141
[2024-05-22 23:50:06,658] DEBUG: [S3 Storage] Uploading object from stream -> s3://cassandra-medusa/index/latest_backup/ip-192-168-125-141/backup_name.txt
[2024-05-22 23:50:06,665] INFO: Backup done
# LOGS WHEN INVOKED FROM THE MEDUSA CONTAINER. Node hostname picked up - cassdata-dc1-0
[2024-05-23 00:03:40,645] DEBUG: [S3 Storage] Uploading object from stream -> s3://cassandra-medusa/index/latest_backup/cassdata-dc1-0/backup_name.txt
[2024-05-23 00:03:40,652] INFO: Backup done
I did not set storage.fqdn in medusa.ini hoping it to resolve on its own.
Can someone guide me get this behavior corrected?
thanks, Pradeep
┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: MED-8