When I am running the following command to backup cassandra:
medusa backup --backup-name dc2-test-backup --mode full
the following error is coming up, can anyone help with the configuration if I am doing smting wrong?
[2023-12-22 18:42:16,121] WARNING: The CQL_USERNAME environment variable is deprecated and has been replaced by the MEDUSA_CQL_USERNAME variable
[2023-12-22 18:42:16,121] WARNING: The CQL_PASSWORD environment variable is deprecated and has been replaced by the MEDUSA_CQL_PASSWORD variable
[2023-12-22 18:42:16,142] INFO: Registered backup id dc2-test-backup
[2023-12-22 18:42:16,142] INFO: Monitoring provider is noop
[2023-12-22 18:42:16,152] INFO: Using credentials CensoredCredentials(access_key_id=A..K, secret_access_key=*****, region=us-west-2)
[2023-12-22 18:42:16,152] INFO: Connecting to s3 with args {}
--- Logging error ---
Traceback (most recent call last):
File "/home/cassandra/.local/lib/python3.10/site-packages/medusa/storage/s3_base_storage.py", line 310, in _stat_blob
resp = self.s3_client.head_object(Bucket=self.bucket_name, Key=object_key)
File "/home/cassandra/.local/lib/python3.10/site-packages/botocore/client.py", line 553, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/cassandra/.local/lib/python3.10/site-packages/botocore/client.py", line 1009, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
During handling of the above exception, another exception occurred:
[2023-12-22 18:42:16,297] ERROR: Error getting object from s3://nova-medusa-operator-dev/dc2/10-xxx-x-240.prometheus-ethtool-exporter.monitoring.svc.cluster.local/dc2-test-backup/meta/schema.cql
[2023-12-22 18:42:16,297] INFO: Starting backup using Stagger: None Mode: full Name: dc2-test-backup
[2023-12-22 18:42:16,297] INFO: Updated from existing status: -1 to new status: 0 for backup id: dc2-test-backup
[2023-12-22 18:42:16,298] INFO: Saving tokenmap and schema
[2023-12-22 18:42:16,578] ERROR: An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.