Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1694729 - [RFE] System Purpose Status needs a list of reasons to explain why it is "Mismatched"
Summary: [RFE] System Purpose Status needs a list of reasons to explain why it is "Mis...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: vijsingh
URL:
Whiteboard:
Depends On: 1673662
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-01 13:34 UTC by Rich Jerrido
Modified: 2019-04-03 03:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1673662
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Rich Jerrido 2019-04-01 13:34:10 UTC
+++ This bug was initially created as a clone of Bug #1673662 +++


In Satellite, since we expose System Purpose data on the 'content hosts' page, we'd want to expose any reasons for Mismatch there as well. 


Description of problem:
With the introduction of setting system purpose attributes, a new "System Purpose Status" value is reported by "subscription-manager status" as implemented by RFE Bug 1602847.

The possible values are...
  Matched
  Mismatched
  Not Specified

When "Mismatched" is reported, that means that the user has set a system purpose attribute value that for some unknown reason is not currently being satisfied.  The goal of this RFE is to help the user understand the reasons behind a "Mismatched" system purpose status. 


Version-Release number of selected component (if applicable):
[root@kvm-01-guest03 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.12-1
subscription management rules: 5.30.1
subscription-manager: 1.23.8-19.el8


How reproducible:
easily

Steps to Reproduce:
1. After registration and auto-attaching with some syspurpose attributes set, I can easily get this "Mismatched" result...

[root@kvm-01-guest03 ~]# subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current

System Purpose Status: Mismatched

[root@kvm-01-guest03 ~]# 



Actual results:
  above - no reasons to explain the "Mismatched"


Expected results:
  something like this...

+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current

System Purpose Status: Mismatched
  The service level preference "Premium" is not provided by a currently consumed subscription.
  The requested role "Red Hat Enterprise Linux Server" is not provided by a currently consumed subscription.
  The requested usage preference "Production" is not provided by a currently consumed subscription.
  The requested add-on "High Availability" is not provided by a currently consumed subscription.


Additional Info:


Note You need to log in before you can comment on or make changes to this bug.