Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1023

Facter timeout on ec2 facts is too small

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: FACT 2.4.3
    • Fix Version/s: None
    • Component/s: Community
    • Labels:
      None
    • Template:

      Description

      ..for a busy Openstack Nova controller.

      The reachable test only waits 0.2 seconds. Suggest:

      --- facter-2.4.3.orig/lib/facter/ec2/rest.rb    2015-04-02 20:40:49.000000000 +0200
      +++ facter-2.4.3/lib/facter/ec2/rest.rb 2015-06-01 10:36:47.000000000 +0200
      @@ -20,7 +20,7 @@
       
           class Base
             def reachable?(retry_limit = 3)
      -        timeout = 0.2
      +        timeout = 1.0
               able_to_connect = false
               attempts = 0
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gmccance Gavin McCance
            QA Contact:
            Eric Thompson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support