Project

General

Profile

Bug #26516

Update syspurpose status handling to match Candlepin

Added by Jonathon Turel over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Candlepin has been updated to change reporting around syspurpose status: https://github.com/candlepin/candlepin/pull/2194/files

- Invalid is now Mismatched
- Valid is now Matched

Above two changes affect host search ie "sla_status = invalid" is now "sla_status = mismatched" same for purpose_status, role_status, usage_status, addons_status

- Not Specified (new)

New hosts will no longer show "Matched" on content host details but rather "Not Specified" Hosts without any purpose attributes set will show Not Specified

Summary of what the statuses mean, from Candlepin code:

/*
 * The status is 'Matched' if at least one syspurpose attribute (SLA, role, addons, usage) is specified,
 * and all of those that are specified are satisfied by the consumer's entitlements.
 *
 * The status is 'Mismatched' if at least one syspurpose attribute (SLA, role, addons, usage)
 * is specified, and from those specified, at least one is not satisfied by the consumer's entitlements.
 * (This includes the scenario of multiple addons being specified, where only some but not all of them
 * are satisfied)
 *
 * The status is 'Not Specified' when NONE of the attributes were specified by the consumer at all.
*/

Associated revisions

Revision 4401f8cf (diff)
Added by Jonathon Turel over 2 years ago

Fixes #26516 - Update syspurpose status

History

#1 Updated by Jonathon Turel over 2 years ago

  • Bugzilla link set to 1695379

#2 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8061 added

#3 Updated by Jonathon Turel over 2 years ago

  • Triaged changed from No to Yes

#4 Updated by Jonathon Turel over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF