From a51ac666d01d5ac8da84d739efc0eaf4918675c5 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkck-Tokgfh_1Fwh6pkl69xPA_dYUgA4Tg" Date: Tue, 21 Oct 2014 22:09:47 +0000 Subject: Added a comment: autobuild test --- ...ent_6_9c8f262b3d8b37f2e68108337acbd303._comment | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 doc/bugs/get_from_glacier_fails_too_early/comment_6_9c8f262b3d8b37f2e68108337acbd303._comment diff --git a/doc/bugs/get_from_glacier_fails_too_early/comment_6_9c8f262b3d8b37f2e68108337acbd303._comment b/doc/bugs/get_from_glacier_fails_too_early/comment_6_9c8f262b3d8b37f2e68108337acbd303._comment new file mode 100644 index 000000000..48e9f5335 --- /dev/null +++ b/doc/bugs/get_from_glacier_fails_too_early/comment_6_9c8f262b3d8b37f2e68108337acbd303._comment @@ -0,0 +1,48 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawkck-Tokgfh_1Fwh6pkl69xPA_dYUgA4Tg" + nickname="Benjamin" + subject="autobuild test" + date="2014-10-21T22:09:47Z" + content=""" +Okay I managed to package the autobuild for my Arch system and installed. Here is what I get, retrieving finished glacier retrieval jobs which was started yesterday: + +Without AWS credentials as environment variables, the call fails: +[[!format sh \"\"\" +[ben@voyagerS9 annextest]$ git annex get --from=glacier mydir/myfile1 +get mydir/myfile (from glacier...) (gpg) +['/usr/local/bin/glacier', '--region=us-east-1', 'archive', 'retrieve', '-o-', 'glacier-myvault', 'GPGHMACSHA1--4286b1a121892c9e64de436725478b0bc5038e67'] +glacier: archive 'GPGHMACSHA1--4286b1a121892c9e64de436725478b0bc5038e67' not found +failed +git-annex: get: 1 failed +\"\"\"]] + +I patched the glacier-cli Python source so that it prints out the command arguments argv. +The archive _does_ exist. Executing the glacier-cli command manually is successful. So is calling +git-annex with AWS credentials exported into env: + +[[!format sh \"\"\" +[ben@voyagerS9 annextest]$ git annex get --from=glacier mydir/myfile2 +get mydir/myfile2 (from glacier...) (gpg) +['/usr/local/bin/glacier', '--region=us-east-1', 'archive', 'retrieve', '-o-', 'glacier-myvault', 'GPGHMACSHA1--c3827c03d48b4829c7cc584778652c66e2784b0f'] +ok +(Recording state in git...) +\"\"\"]] + +So I guess one bug is fixed, although I think there is a wrong error message. + +Regarding AWS credentials, I have no success in updating credentials or finding out which if any are embedded: +[[!format sh \"\"\" +[ben@voyagerS9 annextest]$ git annex info glacier +remote: glacier +description: [glacier] +uuid: b4dcf525-40c7-4f04-86cc-3850d1260680 +cost: 1050.0 +type: glacier +glacier vault: glacier-myvault +encryption: encrypted (to gpg keys: MYKEY) +chunking: none +\"\"\"]] + +When I checkout the git-annex branch and look into the remote.log I see fields for cipher, cipherkeys, datacenter, embedcreds=yes, name, s3creds, type, vault, timestamp. +The s3creds field does not look like my current AWS credentials, at least not in plaintext. +"""]] -- cgit v1.2.3