Uploaded image for project: 'Red Hat Insights Engineering'
  1. Red Hat Insights Engineering
  2. RHINENG-14959

Unnecessary output that it wants to 'Starting to collect Insights data' while retrieving the compliance polices

XMLWordPrintable

    • 1
    • Insights Rule Dev 202412

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      Description of Problem

      Unnecessary output that it wants to 'Starting to collect Insights data' while retrieving the compliance polices.

      #  insights-client --compliance-policies
      Starting to collect Insights data for example.redhat.com
      Assigned     ID                                       Title
      False        1f515277-d835-4c66-ba18-669561bc6c51     DISA STIG for Red Hat Enterprise Linux 9

      How reproducible

      Always

      Steps to Reproduce

      1. Register a RHEL 9.5 host with Insights
      2. Run the `insights-client --compliance-policies` command on it.

      Actual Behavior

      The unnecessary  'Starting to collect Insights data' message is seen that is the same as the Core Colelction to get the system info for the Advisor. It is observed for '--compliance-policies, --compliance-assign, --compliance-unassign' commands.

      Expected Behavior

      The 'Starting to collect Insights data' message should not be printer while running the '--compliance-policies, --compliance-assign, --compliance-unassign' commands.

              rhn-support-xialiu Xiangce Liu
              rhn-support-ngupta Nikhil Gupta
              Qianqian Zhang Qianqian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: