Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Request limit exceeded #144

@stepanstipl

Description

@stepanstipl

Hi, when trying to use this module and create single ec2 instance, I'll mostly (like 9 in 10 tries) end up with Request limit exceeded. error (I'll get /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/delegate.rb:295: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14] in the rest of the tries). The AWS environment has over 1k instances, so it's not exactly small, but I've been using 'aws-sdk-core' directly without any issues in this environment. Looks like module is making too many API calls and hitting EC2 api requests limit, let me know what would help you to debug this issue... I'm looking into it myself.

I'm running puppet like this:

puppet apply init.pp --hiera_config ./hiera.yaml --modulepath ./modules --debug

Versions used:

  • aws-sdk-core: 2.0.28
  • puppet: 3.7.4
  • puppetlabs-aws: 1.0.0
  • ruby: 2.0.0p481

Thanks, Stepan

...
Info: Applying configuration version '1428425803'
Debug: Prefetching v2 resources for ec2_instance
Debug: Storing state
Debug: Stored state in 0.00 seconds
Debug: Using settings: adding file resource 'rrddir': 'File[/Users/stepan/.puppet/var/rrd]{:path=>"/Users/stepan/.puppet/var/rrd", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Finishing transaction 70179195852760
Debug: Received report to process from stepan-mb.local
Debug: Processing report from stepan-mb.local with processor Puppet::Reports::Store
Error: Could not run: Puppet detected a problem with the information returned from AWS
when looking up ec2_instance in eu-west-1. The specific error was:

Request limit exceeded.

Rather than report on ec2_instance resources in an inconsistent state we have exited.
This could be because some other process is modifying AWS at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions