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

How to disable Querying Ec2 metadata

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • FACT 4.0.47
    • None
    • Night's Watch
    • 1
    • ghost-9.12
    • Needs Assessment
    • Not Needed
    • Needs Assessment

    Description

      In non-cloud environment, issuing the request to http://169.254.169.254/latest/meta-data   causes delay in execution:

      Facter: Querying Ec2 metadata
      Facter: Trying to connect to http://169.254.169.254/latest/meta-data/ but got: execution expired

      How to disable this query (don't need it in a non-cloud environment)?

      Tried setting the environment variable FACTER_virtual=generic but that does not suppress this query in non-cloud environment.

      Attachments

        Activity

          People

            florin.dragos Florin Dragos
            sstripathi Sanjay Tripathi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support