Bug 1443108
| Summary: | [RFE] Provide a way to prefer and/or block certain subscriptions from auto-attaching | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Klaas Weyermann <klaas> |
| Component: | Candlepin | Assignee: | candlepin-bugs |
| Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bbuckingham, bcourt, jcallaha, klaas, rdixon, redakkan, rjerrido, skallesh |
| Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-14 21:16:37 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: | |||
Are the RHEL & RHSCL licenses provided by the hypervisor or are they independent entitlements? Can you provide the pool details for RHEL, RHSCL, and OpenShift pools that are being used? I have the following three licenses: Red Hat Enterprise Linux Server, Standard (1-2 sockets) (Unlimited guests) Red Hat OpenShift Container Platform, Standard (1-2 Sockets) Software Collections and Developer Toolset I have some hypervisors that are exclusively for those two: Red Hat Enterprise Linux Server, Standard (1-2 sockets) (Unlimited guests) Software Collections and Developer Toolset but I also have hypervisors that have all 3 subscriptions attached During auto-attach it favors to use OpenShift licenses (because it includes RHEL+RHSCL) but I don't want it to use OpenShift because it changes the branding of my RHELs that are not really OpenShift servers. I would not care if the branding only changes once it installs packages from OpenShift but it changes with the licenses. RHEL and RHSCL show as ENTITLEMENT_DERIVED in candlepin db, OpenShift as STACK_DERIVED What additional information do you need? After a quick chat with Barnaby Court on IRC I'll change this into an RFE: Basically what I would like to have is a way to have candlepin prefer certain subscriptions and/or to block them from auto attaching. This is needed in case there are multiple subscriptions within an organization that could satisfy a host. In my case the subs that could be attached are OpenShift or RHEL+RHSCL. I want it to favor RHEL+RHSCL instead of using OpenShift. Currently the behaviour will lead to my systems being attached to a temporary openshift subscription until the host is reported on a hypervisor that only has RHEL+RHSCL licenses. If a hypervisor has all three subscriptions attached there is no automatic way to have it use the subscriptions I want at the moment. I think this feature request is a duplicate or at least closely related to https://bugzilla.redhat.com/show_bug.cgi?id=1343935 :) Hi Klaas, In reviewing that bug and also 01401106, yes, you are correct. My apologies for the duplicate. I'll attach this case to those; please feel free to close this RFE out at your convenience. Thank you! Rick *** This bug has been marked as a duplicate of bug 1401106 *** |
Description of problem: I want to attach a vm that has the following installed products: +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Software Collections (for RHEL Server) Product ID: 201 Version: 2 Arch: x86_64 Status: Subscribed Status Details: Starts: 12/21/2016 Ends: 04/19/2017 Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 12/21/2016 Ends: 04/19/2017 But instead of using the RHEL+RHSCL license it choses to use the OpenShift licenses. In general this doesn't create a major issue for me because the activated repositories are not changed but it changes the branding of my rhel to OpenShift, that creates confusion. If it selects a physical license it doesn't change to the correct ones, if it selects a temporary guest subscription it will change the correct rhel+rhscl licenses once it is reported to be running on a hypervisor that doesn't have any OpenShift licenses attached. Environment: Katello 3.3 with candlepin-0.9.54.10-1.el7.noarch installing RHEL 7.3 with subscription-manager-1.17.15-1.el7.x86_64 If I have 0 OpenShift Hypervisors: Subscription Name: Red Hat OpenShift Container Platform, Standard (1-2 Sockets) Provides: Red Hat OpenShift Container Platform Red Hat Beta Red Hat OpenShift Enterprise Application Node Red Hat Enterprise Linux Atomic Host Oracle Java (for RHEL Server) JBoss Enterprise Web Server Red Hat OpenShift Enterprise Client Tools dotNET on RHEL (for RHEL Server) dotNET on RHEL Beta (for RHEL Server) Red Hat Enterprise Linux Fast Datapath Red Hat Software Collections (for RHEL Server) Red Hat Single Sign-On Red Hat Enterprise Linux Server Red Hat Enterprise Linux Fast Datapath Beta Red Hat Software Collections Beta (for RHEL Server) SKU: MCT2863F3 Contract: 11111111 Account: 888888 Serial: 4444444444444444444 Pool ID: 8a2581945b15542b015b1a275a2a0314 Provides Management: No Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Starts: 12/21/2016 Ends: 12/21/2019 System Type: Physical or if I have OpenShift licenses on a Hypervisor: Subscription Name: Red Hat OpenShift Container Platform, Standard (1-2 Sockets) Provides: Red Hat OpenShift Container Platform Red Hat Beta Red Hat OpenShift Enterprise Application Node Red Hat Enterprise Linux Atomic Host Oracle Java (for RHEL Server) JBoss Enterprise Web Server Red Hat OpenShift Enterprise Client Tools dotNET on RHEL (for RHEL Server) dotNET on RHEL Beta (for RHEL Server) Red Hat Enterprise Linux Fast Datapath Red Hat Software Collections (for RHEL Server) Red Hat Single Sign-On Red Hat Enterprise Linux Server Red Hat Enterprise Linux Fast Datapath Beta Red Hat Software Collections Beta (for RHEL Server) SKU: MCT2863F3 Contract: 11111111 Account: 888888 Serial: 7777777777777777777 Pool ID: 8a2581945b15542b015b1a275b1f0338 Provides Management: No Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Guest has not been reported on any host and is using a temporary unmapped guest subscription. Subscription Type: Stackable (Temporary) Starts: 12/21/2016 Ends: 04/19/2017 System Type: Virtual What I would expect it to use instead: Subscription Name: Red Hat Enterprise Linux Server, Standard (1-2 sockets) (Unlimited guests) Provides: dotNET on RHEL Beta (for RHEL Server) dotNET on RHEL (for RHEL Server) Oracle Java (for RHEL Server) Red Hat Software Collections Beta (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Beta SKU: RH0192098 Contract: 10101010 Pool ID: 8a2581945578d711015578e73bb4009f Provides Management: No Available: Unlimited Suggested: 1 Service Level: Standard Service Type: L1-L3 Subscription Type: Standard (Temporary) Ends: 11/01/2018 System Type: Virtual with Subscription Name: Software Collections and Developer Toolset Provides: Red Hat Developer Toolset (for RHEL Workstation) Red Hat Software Collections (for RHEL Workstation) Red Hat Software Collections Beta (for RHEL Client) Red Hat Software Collections Beta (for RHEL Workstation) Red Hat Developer Toolset (for RHEL Server) Red Hat Software Collections Beta (for RHEL Server) Red Hat Software Collections (for RHEL Server) Red Hat Software Collections (for RHEL Client) SKU: MCT2883 Contract: 11311311 Pool ID: 8a2581945b6696a8015b801c8dfe0f53 Provides Management: No Available: Unlimited Suggested: 1 Service Level: Layered Service Type: L1-L3 Subscription Type: Standard (Temporary) Ends: 04/18/2018 System Type: Virtual How reproducible: Install a vm in an environment where you have OpenShift licenses aswell as rhel and _seperate_ rhscl licenses. Actual results: vm uses OpenShift licenses even though no openshift components are installed Expected results: vm uses RHEL and RHSCL license.