Bug 1652737 - role & addons should not affect entitlement compliance status
Summary: role & addons should not affect entitlement compliance status
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Nikos Moumoulidis
QA Contact: Katello QA List
Depends On:
Blocks: 1652738 1654445
TreeView+ depends on / blocked
Reported: 2018-11-22 18:25 UTC by Nikos Moumoulidis
Modified: 2019-01-23 16:56 UTC (History)
2 users (show)

Fixed In Version: candlepin-2.6.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1652738 1654445 (view as bug list)
Last Closed: 2019-01-23 16:56:08 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github candlepin candlepin pull 2165 0 None closed [M] Patch critical syspurpose fixes [ENT-930] 2020-03-06 14:54:18 UTC

Description Nikos Moumoulidis 2018-11-22 18:25:49 UTC
Description of problem:
When syspurpose role or addon(s) are specified on the client, and the system is attached to a subscription that happens to have mismatched roles/addons with those of the consumer, the Entitlement Compliance status is wrongly reported as invalid or insufficient. role/addon attributes should only have an effect on the Syspurpose Compliance status, and not on the Entitlement Compliance status.

Version-Release number of selected component (if applicable):
candlepin 2.3, 2.5 and master

How reproducible:

Steps to Reproduce:
1. Set your system syspurpose role to 'my_role'.
2. Have an installed product called 'product1'.
3. Attach the system to a subscription that provides product1, but the only role it has is 'provided_role'.
4. Run 'subscription-manager status' to see the Overall Status

Actual results:
The Overall Status is either 'invalid' or 'partial'.

Expected results:
The Overall Status should be 'valid', because product1 is covered, and roles/addons should have no effect on it.

Additional info:

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