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

Domain fact cannot be resolved on travis without ffi

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 4.0.52
    • Fix Version/s: FACT 4.1.0
    • Component/s: None
    • Template:
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2021-03-31
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Fixed a bug that prevented FQDN facts to be resolved in certain situations where FFI is not installed.
      Show
      Fixed a bug that prevented FQDN facts to be resolved in certain situations where FFI is not installed.
    • QA Risk Assessment:
      Needs Assessment

      Description

      https://github.com/puppetlabs/facter/pull/2315 changed the way we resolve hostname on domain, also relying on FFI.
      When FFI is not installed, Facter will not continue to search for hostname and domain and it will not resolve the facts.

      This was noticed in puppetserver-ca-cli pipeline.

      A fix was done in https://github.com/puppetlabs/facter/pull/2318 but this is not sufficient.
      If FFI cannot be loaded, we must log a debug message and continue the search.

        Attachments

          Activity

            People

            Assignee:
            gheorghe.popescu Gheorghe Popescu
            Reporter:
            gheorghe.popescu Gheorghe Popescu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support