Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-32151

Issue with Parameter Comparison Behavior in Satellite (true vs t)

XMLWordPrintable

    • False
    • Low
    • None
    • None
    • None
    • None

      Environment:

      • Satellite 6.15

      Description of problem:

      • Parameter search query i.e, booleans like "true" vs "t" are showing different behaviour.
      • Inconsistent behavior in Red Hat Satellite when comparing parameter values. Specifically:
        ---------------------------------------------------------------------------------------------------------------
        not params.parametername=t excludes hosts with the parameter set to true correctly.

      not params.parametername=true fails to exclude hosts where the parameter is explicitly set to true, which seems incorrect.
      ----------------------------------------------------------------------------------------------------------------

       

      How reproducible:

        Assign the parameter parametername as true (boolean) for some hosts and don't define the parameter for other hosts.

      Use the Hammer CLI or Satellite UI to query:

      not params.parametername=t

      not params.parametername=true

      Inconsistent behavior in Red Hat Satellite when comparing parameter values will be observed.
      -------------------------------------------------------------------------------------------------------------------
      not params.parametername=t --> excludes hosts with the parameter set to true.

      not params.parametername=true --> fails to exclude hosts with the parameter set to true.
      -------------------------------------------------------------------------------------------------------------------

      Actual behavior:
      Inconsistent behavior in Red Hat Satellite when comparing a parameter (boolean)
      Values will be observed.
      -------------------------------------------------------------------------------------------------------------------
      not params.parametername=t --> excludes hosts with the parameter set to true.

      not params.parametername=true --> fails to exclude hosts with the parameter set to true.
      -------------------------------------------------------------------------------------------------------------------

      Expected behavior:
      Inconsistent behavior in Red Hat Satellite when comparing a parameter (boolean)
      Values will be observed.
      -------------------------------------------------------------------------------------------------------------------
      not params.parametername=t --> excludes hosts with the parameter set to true.

      not params.parametername=true --> excludes hosts with the parameter set to true.
      -------------------------------------------------------------------------------------------------------------------

      Business Impact / Additional info:

      Significantly affects ability to manage and query hosts effectively in Red Hat Satellite. Accurate parameter-based filtering is critical for environment, as customer rely on it for:

      Operational Efficiency: Inconsistent search behavior complicates administrative tasks, leading to additional time spent verifying query results and manually identifying the correct hosts.

      Compliance and Risk Management: Failure to accurately filter and identify hosts based on parameters could result in misconfigured systems, posing potential risks to compliance and security requirements.

              Unassigned Unassigned
              rhn-support-bgajjava Bharti Gajjavarapu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: