Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-4357

Sentry: TooManyRequestsException when calling the ListOrganizationalUnitsForParent operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Normal Normal
    • None
    • None
    • None
    • 5
    • False
    • None
    • False

      Sentry link: https://red-hat-it.sentry.io/issues/4575098630/?referrer=slack&notification_uuid=a57dfbc6-f20c-4c49-b553-371864ff2fe0&alert_rule_id=930641&alert_type=issue

       

      An error occurred (TooManyRequestsException) when calling the ListOrganizationalUnitsForParent operation (reached max retries: 4): AWS Organizations can't complete your request because another request is already in progress. Try again later.
       

      suggestion: add exponential backoff here, https://github.com/project-koku/koku/blob/a0a244486c8efade36272e32aefcfe5cbbbdbf90/koku/masu/external/accounts/hierarchy/aws/aws_org_unit_crawler.py#L90, to handle the rate limitation 

       

            Unassigned Unassigned
            rh-ee-dnakabaa David Nakabaale
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: