octplane/mongo-ec2-consistent-backup — Issue #1: ec2.instances returns empty collection
Author: niketkumar
Created: 2012-01-26 08:20:39+00:00
State: open

I am not sure whether it is mongo-ec2-consistent-backup issue. But this command fails:

./lock_and_snapshot --hostname --devices /dev/sda1 --type daily --limit 2 --access-key-id --secret-access-key

mongo-ec2-consistent-backup/lib/ec2-consistent-backup.rb:246:in `get_instance': (InstanceNotFoundException)
from ./lock_and_snapshot:31:in `

'

I tried to debug the issue and found that this AWS::EC2.new('access_key_id' => aki, 'secret_access_key' => sak).instances is returning a collection with no elements.

Is it a configuration issue on EC2 side?

Thanks.