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

Facter 4 calls deprecated xen-toolstack script when resolving xen fact

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 4.2.0
    • Component/s: None
    • Template:
    • Team:
      Night's Watch
    • Sprint:
      ready for triage
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Previously, Facter would call the `xen-toolstack` script everytime when resolving the xen fact. This script is now deprecated, and Facter will only call it if multiple xen stacks are installed. Fix contributed by community member lollipopman.
    • QA Risk Assessment:
      Needs Assessment

      Description

      PR: https://github.com/puppetlabs/facter/pull/2357

      Description from PR:

      xen-toolstack is deprecated and so on Puppet runs in Debian buster you
      receive this nettlesome message:

      warning: something called deprecated script /usr/lib/xen-common/bin/xen-toolstack

      Prior to this change we used xen-toolstack if it is present, but that is
      only necessary if more than one stack is installed. Instead check if we
      have multiple tool stacks and if we do use xen-toolstack if it is
      present.

      Additional context from bugs.debian.org: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912381#39


      This is not breaking, but we should avoid calling deprecated scripts in our resolvers.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gabriel.nagy Gabriel Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support