Bug 1669994
| Summary: | syspurpose Status on a future date is displayed as mismatched when you attach a future subscription though subscription matches the sla set on the system | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Shwetha Kallesh <skallesh> |
| Component: | subscription-manager | Assignee: | Nikos Moumoulidis <nmoumoul> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | cdonnell, csnyder, nmoumoul, redakkan, skallesh |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.25.6-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-05 22:15:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Verification:
[root@kvm-01-guest17 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.7.1-1
subscription management rules: 5.37
subscription-manager: 1.25.11-1.el8
[root@kvm-01-guest17 ~]# subscription-manager list --avail --ondate 2020-07-29
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Instance_product_test
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-product-test
Contract: 610068
Pool ID: 8ac6a3a96b7500f9016b751962f20d0e
Provides Management: No
Available: 40
Suggested: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Subscription Type: Other
Starts: 07/09/2020
Ends: 07/18/2021
Entitlement Type: Physical
Subscription Name: Instance_product_test
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-product-test
Contract: 610068
Pool ID: 8ac6a3a96b7500f9016b75197fe60d10
Provides Management: No
Available: 40
Suggested: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Subscription Type: Other
Starts: 07/09/2020
Ends: 07/18/2021
Entitlement Type: Physical
Subscription Name: Syspurpose_test
Provides: Awesome OS Instance Server Bits
SKU: Status-test
Contract: 610068
Pool ID: 8ac6a3a96b7500f9016b752332580d13
Provides Management: No
Available: 40
Suggested: 1
Service Type:
Roles:
Service Level: Premium
Usage:
Add-ons:
Subscription Type: Other
Starts: 07/09/2020
Ends: 07/18/2021
Entitlement Type: Physical
[root@kvm-01-guest17 ~]# syspurpose set-sla Premium
service_level_agreement set to "Premium".
[root@kvm-01-guest17 ~]# subscription-manager attach --pool 8ac6a3a96b7500f9016b752332580d13
Successfully attached a subscription for: Syspurpose_test
[root@kvm-01-guest17 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Awesome OS Instance Server Bits
Product ID: 32060
Version: 6.1
Arch: ALL
Status: Future Subscription
Status Details: Not supported by a valid subscription.
Starts:
Ends:
[root@kvm-01-guest17 ~]# subscription-manager status --ondate 2020-07-29
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Current
System Purpose Status: Matched
[root@kvm-01-guest17 ~]# subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Invalid
Awesome OS Instance Server Bits:
- Not supported by a valid subscription.
System Purpose Status: Mismatched
- The service level preference "Premium" is not provided by a currently consumed subscription.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3561 |
Description of problem: syspurpose Status on a future date is displayed as mismatched when you attach a future subscription though subscription matches the sla set on the system Version-Release number of selected component (if applicable): [root@kvm-04-guest04 product]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 2.6.0-1 subscription management rules: 5.31 subscription-manager: 1.24.2-1.git.182.7dde37c.el8 How reproducible: Steps to Reproduce: [root@kvm-04-guest04 product]# syspurpose set-sla Premium service_level_agreement set to Premium System purpose successfully sent to subscription management server. [root@kvm-04-guest04 product]# syspurpose show { "service_level_agreement": "Premium" } System purpose successfully sent to subscription management server. [root@kvm-04-guest04 product]# subscription-manager list --avail --ondate 2020-02-29 +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Instance_product_test Provides: SP Addon 1 bits SKU: syspurpose-test Contract: 610068 Pool ID: 8acce3466893570e0168938533a20080 Provides Management: No Available: 40 Suggested: 1 Service Level: Premium Service Type: Subscription Type: Other Starts: 02/28/2020 Ends: 07/18/2020 System Type: Physical Subscription Name: Instance_product_test Provides: SP Addon 1 bits SKU: syspurpose-test Contract: 610068 Pool ID: 8acce3466893570e01689384ee61007d Provides Management: No Available: 40 Suggested: 1 Service Level: Premium Service Type: Subscription Type: Other Starts: 02/28/2020 Ends: 07/18/2020 System Type: Physical [root@kvm-04-guest04 product]# subscription-manager attach --pool 8acce3466893570e0168938533a20080 Successfully attached a subscription for: Instance_product_test [root@kvm-04-guest04 product]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: SP Addon 1 bits Product ID: 99003 Version: 3.11 Arch: x86_64 Status: Future Subscription Status Details: Not supported by a valid subscription. Starts: Ends: [root@kvm-04-guest04 product]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Instance_product_test Provides: SP Addon 1 bits SKU: syspurpose-test Contract: 610068 Account: 2222222 Serial: 1761789315571476228 Pool ID: 8acce3466893570e0168938533a20080 Provides Management: No Active: False Quantity Used: 1 Service Level: Premium Service Type: Status Details: Subscription has not begun Subscription Type: Other Starts: 02/28/2020 Ends: 07/18/2020 System Type: Physical [root@kvm-04-guest04 product]# subscription-manager status --ondate 2020-02-29 +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current System Purpose Status: Mismatched Actual results: System Purpose Status: Mismatched Expected results: System Purpose Status: Matched Additional info: