Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-2516

[RFE] Add System Profile information to the `status` command

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • rhel-9.3.0
    • rhc
    • None
    • subs-client-tools
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      Description of the feature:
      `rhc connect` retrieves the system profile configuration of the features enabled for insights, such as remediations or compliance.

      The status command tries to print status of system. It means that it gives answer on following questions:
      1. Is system registered to Red Hat Subscription Management?
      2. Is system connected to Red Hat Insights?
      3. Is rhcd.service running?
      Status can be printed as human-readable text or machine-readable JSON document.
      Format is influenced by --format json CLI option stored in CLI context

      This System Profile information can be part of the status command output of rhc.

      Actual results:

      Expected results:
      >>> rhc status
      rhc status --json
      {
      "hostname": "rhel9",
      "rhsm_connected": true,
      "insights_connected": false,
      "insights_error":

      { "Op": "fork/exec", "Path": "/usr/bin/insights-client", "Err": 2 }

      ,
      "rhcd_running": false
      "system profile": ["remediations", "compliance"]
      }

              jira-bugzilla-migration RH Bugzilla Integration
              ahitacat@redhat.com Alba Hita Catala
              RH Bugzilla Integration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: