basak / glacier-cli

Command-line interface to Amazon Glacier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FreeBSD glacier-cli empty archive list

rdkgit opened this issue · comments

Hi!

I've used glacier-cli on Linux and its working great. I'm now trying to use glacier-cli on FreeBSD (FreeNAS 9.2) and glacier-cli will correctly list vaults but when I try to list archives in a vault, I get nothing. I wiresharked traffic and I see no web traffic for 'glacier-cli archive list valuename' but I do capture traffic for 'glacier-cli vault list'.

On my FreeNAS system, I have python 2.7.6, lastest glacier-cli, iso8601 0.1.11, and I've tried various versions of boto downloaded from github.

Is there a way to debug boto and/or glacier-cli to see why its not connecting to Glacier AWS when I ask it to query archives?

Thanks,

Bobby

glacier archive list ... is a cache-only operation. Have you tried sync to update the cache?

If this behaviour isn't documented well, I'd appreciate any suggestions to improve it.

Interesting. At the same time I run glacier-cli on FreeBSD and get an empty list, I run it on a linux system and get a list of archives. Is the sync operation something I should do via the Glacier AWS console?

Thanks,

Bobby

Where does the cache get written? Perhaps I'm having local system config problems and the cache is not being written.

[OK, RTFM; I see where the cache location is documented. Will go inspect. Hopefully, this issue (or non-issue) will help document sync operations.]

Thanks,

Bobby

Hi!

I re-read the man page and am waiting on a sync operation to complete. I'll then re-run and see what I get.

Thanks,

Bobby

Hi!

OK, did a sync operation on FreeBSD/FreeNAS. When I 'glacier-cli.py archive list vault' I still get empty output. /root/.cache/glacier-cli/db is 3072 bytes but its time/date stamp is 9/10/2014 not today when I did the sync operation.

Are there any tip/suggestions for debugging the cache and sync operation?

Thanks,

Bobby

Hi!

After the first sync returned, I did another vault sync operation with --fix and now my archive list correctly returns.

Closing issue.

Bobby