Bug 975520
Summary: | content availability based on arches is currently too tolerant | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> |
Component: | candlepin | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.9 | CC: | dgregor, jesusr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-01 13:50:04 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: | |||
Bug Depends On: | |||
Bug Blocks: | 840995 |
Description
John Sefler
2013-06-18 16:51:34 UTC
ISSUE 4: Another request that is not yet implemented is that Candlepin should tolerate "noarch" on the content set "arches" attribute to behave exactly like the "ALL" alias which is already implemented. Hence if "noarch" or "ALL" is set within the content set "arches", then it will be included in the entitlement and available on any system. commit ef7bd57af96d2a4b11901a2887be88213788d339 Author: Adrian Likins <alikins> Date: Tue Jun 18 16:02:15 2013 -0400 make Content arch compares more specific Content for example, for 'i686' now only matches 'i686' machines (no longer matches as compatible with 'x86_64') Add support for Content arch of 'x86' that maps to i386,i486,i586,i686 Verified Version... [root@jsefler-f14-candlepin candlepin]# git show-ref | head -1 57ac1f8da3ad1abe463a5ec6179813bf707daa35 refs/heads/master [root@jsefler-5 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.16-1 subscription-manager: 1.8.13-1.el5 python-rhsm: 1.8.13-1.el5 The automated test coverage that originally detected this bugzilla is now passing. VerifyContentSetsEntitledFromSubscriptionPoolSatisfyTheSystemArch_Test(SubscriptionPool pool) VerifyArchRestrictedContentSetsEntitledAfterSubscribeAllSatisfiesTheSystemArch_Test() 1. Content sets with an "x86" arches value are now being granted to a consumer whose system arch is among "i386","i486","i586","i686" 2. Content sets with an arches value containing one or more "i386,i486,i586,i686,x86" are no longer being granted to a consumer whose system arch is "x86_64". 3. Content sets with a "noarch" arches value are now granted to a consumer no mater what their system arch value is. Moving to VERIFIED. |