Closed shaylang closed 9 years ago
Hi, I'm running the latest version on ubuntu 14 and c* 2.0.8. i run the command: ubuntu@cas1:~$ cassandra-snapshotter --aws-access-key-id XXXXXXXXXX --aws-secret-access-key XXXXXXXXXX--s3-bucket-name anodot-cas-backup-staging --s3-base-path monitoring backup --host=cas1 --keyspace=combined --table=definition WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621121914//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621123553//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621123751//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621123806//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621124654//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621124849//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621130515//manifest.json' [cas1] Executing task 'node_start_backup' [cas1] Executing task 'upload_node_backups' [cas1] sudo: cassandra-snapshotter-agent create-upload-manifest --manifest_path=/tmp/backupmanifest --snapshot_name=20150621145211 --snapshot_keyspaces=combined --snapshot_table=definition --data_path=/var/lib/cassandra/data/ [cas1] sudo: cassandra-snapshotter-agent put --aws-access-key-id=XXXXXXXX --aws-secret-access-key=XXXXXXX--s3-bucket-name=anodot-cas-backup-staging --s3-bucket-region=us-east-1 --s3-base-path=monitoring/20150621145211/cas1 --manifest=/tmp/backupmanifest --concurrency=4 [cas1] out: lzop 1.03 [cas1] out: LZO library 2.06 [cas1] out: Copyright (C) 1996-2010 Markus Franz Xaver Johannes Oberhumer [cas1] out:
[cas1] Executing task 'clear_node_snapshot' [cas1] sudo: /usr/bin/nodetool clearsnapshot -t "20150621145211" [cas1] out: xss = -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss256k [cas1] out: Requested clearing snapshot for: all keyspaces [cas1] out:
[cas1] sudo: /usr/bin/nodetool ring
on the S3 i'm unable to see the backup directory
Thanks in advance
Shay.
The problem was with the S3 access policy. you can close this issue.
Hi, I'm running the latest version on ubuntu 14 and c* 2.0.8. i run the command: ubuntu@cas1:~$ cassandra-snapshotter --aws-access-key-id XXXXXXXXXX --aws-secret-access-key XXXXXXXXXX--s3-bucket-name anodot-cas-backup-staging --s3-base-path monitoring backup --host=cas1 --keyspace=combined --table=definition WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621121914//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621123553//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621123751//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621123806//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621124654//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621124849//manifest.json' WARNING:root:Response: u'Access Denied' manifest_path: u'monitoring/20150621130515//manifest.json' [cas1] Executing task 'node_start_backup' [cas1] Executing task 'upload_node_backups' [cas1] sudo: cassandra-snapshotter-agent create-upload-manifest --manifest_path=/tmp/backupmanifest --snapshot_name=20150621145211 --snapshot_keyspaces=combined --snapshot_table=definition --data_path=/var/lib/cassandra/data/ [cas1] sudo: cassandra-snapshotter-agent put --aws-access-key-id=XXXXXXXX --aws-secret-access-key=XXXXXXX--s3-bucket-name=anodot-cas-backup-staging --s3-bucket-region=us-east-1 --s3-base-path=monitoring/20150621145211/cas1 --manifest=/tmp/backupmanifest --concurrency=4 [cas1] out: lzop 1.03 [cas1] out: LZO library 2.06 [cas1] out: Copyright (C) 1996-2010 Markus Franz Xaver Johannes Oberhumer [cas1] out:
[cas1] Executing task 'clear_node_snapshot' [cas1] sudo: /usr/bin/nodetool clearsnapshot -t "20150621145211" [cas1] out: xss = -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1024M -Xmx1024M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss256k [cas1] out: Requested clearing snapshot for: all keyspaces [cas1] out:
[cas1] sudo: /usr/bin/nodetool ring
on the S3 i'm unable to see the backup directory
Thanks in advance
Shay.