Closed munichandra-nageti closed 1 year ago
@kqzh any clue on why the s3 post got 405?
Hi @munichandra-nageti , I think it's your s3 setting or br args wrong which you input cause the problem, can you show your br args and check something in your s3 bucket
Hi @kqzh , There was an issue with br args(s3.epndpoint) and I have corrected it but now getting some permission errors.
BR command : sudo ./bin/br backup full --meta "127.0.0.1:9559" --s3.endpoint "http://nebula-s3-kg.s3.us-east-2.amazonaws.com/" --storage="s3://nebula-s3-kg/nebula-backup-restore/" --s3.access_key=<acc-key> --s3.secret_key=<sec-key> --s3.region=us-east-2
Error : Cleanup backup BACKUP_2022_09_26_12_34_43 successfully after backup failed.Error: upload file by agent failed: rpc error: code = Unknown desc = upload from /usr/local/nebula/data/meta/nebula/0/checkpoints/BACKUP_2022_09_26_12_34_43/disk_parts.sst to nebula-backup-restore/BACKUP_2022_09_26_12_34_43/meta/disk_parts.sst failed: upload from /usr/local/nebula/data/meta/nebula/0/checkpoints/BACKUP_2022_09_26_12_34_43/disk_parts.sst to nebula-backup-restore/BACKUP_2022_09_26_12_34_43/meta/disk_parts.sst failed: AccessDenied: Access Denied status code: 403, request id: NZV44P0AQ7YQY642, host id: ZwLRYLYwkP9KRHNaZetVGppQ4LF9TOFfoBjbIKemvXHqjVXQG6sAyTH76VEd3m3BklJ2+sIFiaY=
Hi @kqzh , it looks like we need to assume certain IAM role inorder to access the s3 bucket mentioned above, so is there anyway to assume a specific role for nebula-br command, or do you have any plans to provision this in nebula-br command (add one more parameter something like --s3.role=<role-name>
) in your upcoming releases. Thanks.
hi @munichandra-nageti , thank you for your reply, now we can confirm that the problem lies in the permission of s3 bucket, you can check whether your access key has permission to access s3, you also can config your iam permissions in aws console like https://us-east-1.console.aws.amazon.com/iamv2/home#/users
@munichandra-nageti hi, I have noticed that the issue you created hasn’t been updated for nearly a month, is this issue been resolved? If not resolved, can you provide some more information? If solved, can you close this issue?
Thanks a lot for your contribution anyway 😊
I am trying to backup my nebula-cluster data to s3 using nebula-br but facing the below issues.
Please note that, I am able to backup the data to local storage with the same cluster setup. (edited)