On Monday, November 2, 2015 at 10:51:06 AM UTC+1, Daniel Farina wrote:
>
> On Mon, Nov 2, 2015 at 1:14 AM Sébastien Lardière <[email protected]
> <javascript:>> wrote:
>
>> On Monday, November 2, 2015 at 2:01:25 AM UTC+1, Daniel Farina wrote:
>>
>>> On Sun, Nov 1, 2015 at 4:10 AM Sébastien Lardière <[email protected]>
>>> wrote:
>>>
>>>> What I mean : the dry-run message actually disapear from the output
>>>> with the --confirm option, so I thought that the delete is done, but It's
>>>> not, and i don't know why.
>>>>
>>>
>>> That's probably a bug.
>>>
>>
>> Using last version (from git) on a fresh install (Debian 8), how can I
>> debug this ?
>>
>> We're using gpg to encrypt backups.
>>
>
> Probably by inspection, and then instrumentation. I don't understand how
> this bug can come and go given this code:
>
>
> https://github.com/wal-e/wal-e/blob/98b81d0080a772fe26f4bb0e70bed04f9ecdb490/wal_e/worker/base.py#L212-L218
>
Trying to understand and check, there is something wrong :
$ touch test.txt
$ s3cmd ls s3://wal-e-prod-eu/db1/
DIR s3://wal-e-prod-eu/db1/basebackups_005/
DIR s3://wal-e-prod-eu/db1/wal_005/
$ s3cmd put test.txt
s3://wal-e-prod-eu/db1/test.txt
'test.txt' -> 's3://wal-e-prod-eu/db1/test.txt' [1 of 1]
0 of 0 0% in 0s 0.00 B/s done
'test.txt' -> 's3://wal-e-prod-eu/db1/test.txt' [1 of 1]
0 of 0 0% in 0s 0.00 B/s done
$ s3cmd ls s3://wal-e-prod-eu/db1/
DIR s3://wal-e-prod-eu/db1/basebackups_005/
DIR s3://wal-e-prod-eu/db1/wal_005/
2015-11-02 10:41 0 s3://wal-e-prod-eu/db1/test.txt
$ s3cmd del s3://wal-e-prod-eu/db1/test.txt
ERROR: S3 error: 403 (AccessDenied): Access Denied
$ s3cmd ls s3://wal-e-prod-eu/db1/
DIR s3://wal-e-prod-eu/db1/basebackups_005/
DIR s3://wal-e-prod-eu/db1/wal_005/
2015-11-02 10:41 0 s3://wal-e-prod-eu/db1/test.txt
So, I can put some file, but delete It, maybe a settings in AWS ? Is wal-e
testing the return code ?
--
Sebastien
--
You received this message because you are subscribed to the Google Groups
"wal-e" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.