Steve Frank
2013-08-19 15:16:19 UTC
I'm having a very odd intermittent issue:
NoMethodError: undefined method `describe_snapshots' for
#<Fog::AWS::RDS::Real:0xc1bbb9e>
notable lines from backtrace:
[GEM_ROOT]/gems/fog-1.14.0/lib/fog/aws/models/compute/snapshots.rb:26:in
`all'
[GEM_ROOT]/gems/fog-1.14.0/lib/fog/core/collection.rb:141:in `lazy_load'
[GEM_ROOT]/gems/fog-1.14.0/lib/fog/core/collection.rb:22:in `each'
[GEM_ROOT]/bundler/gems/cht_aws-a57b46c52309/lib/cht_aws/rds/snapshots.rb:5:in
`rds_snapshots'
options = {
:region => region['regionName'],
:aws_access_key_id => aws_access_key_id,
:aws_secret_access_key => secret_access_key
}
rds_api = Fog::AWS::RDS.new(options)
*rds_api.snapshots.each do |snap|*
This also happens for describe_instances for RDS.
It only happens for RDS. I am performing similar queries for many other aws
services. Only RDS does this every now and then. And when it does, it
happens for all our accounts.
Thoughts on a good way to debug this? I do suspect it is our code, but we
aren't using any global/static vars, so I just can't see how the rds_api
object is turning into a Fog:Compute instance.
Thanks!
NoMethodError: undefined method `describe_snapshots' for
#<Fog::AWS::RDS::Real:0xc1bbb9e>
notable lines from backtrace:
[GEM_ROOT]/gems/fog-1.14.0/lib/fog/aws/models/compute/snapshots.rb:26:in
`all'
[GEM_ROOT]/gems/fog-1.14.0/lib/fog/core/collection.rb:141:in `lazy_load'
[GEM_ROOT]/gems/fog-1.14.0/lib/fog/core/collection.rb:22:in `each'
[GEM_ROOT]/bundler/gems/cht_aws-a57b46c52309/lib/cht_aws/rds/snapshots.rb:5:in
`rds_snapshots'
options = {
:region => region['regionName'],
:aws_access_key_id => aws_access_key_id,
:aws_secret_access_key => secret_access_key
}
rds_api = Fog::AWS::RDS.new(options)
*rds_api.snapshots.each do |snap|*
This also happens for describe_instances for RDS.
It only happens for RDS. I am performing similar queries for many other aws
services. Only RDS does this every now and then. And when it does, it
happens for all our accounts.
Thoughts on a good way to debug this? I do suspect it is our code, but we
aren't using any global/static vars, so I just can't see how the rds_api
object is turning into a Fog:Compute instance.
Thanks!
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.