Bug 1034329
Summary: | [RFE] bind requests that do not specify a quantity should automatically use max(suggested,instance_multiplier,1) for instance-based subscriptions | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> |
Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.9 | CC: | 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: | 2014-09-29 19:04:54 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: | 863175 |
Description
John Sefler
2013-11-25 15:51:26 UTC
commit a121556d1039400c483d8414fcdb1f5374f31df6 Author: ckozak <ckozak> Date: Wed Oct 23 15:00:53 2013 -0400 ActKeys can take null quantity, pick quantity upon activation Verifying Version... [root@jsefler-7 ~]# subscription-manager version server type: Red Hat Subscription Management <========== candlepin-0.9.3 subscription management server: Unknown subscription-manager: 1.10.14-3.el7 python-rhsm: 1.10.12-1.el7 [root@jsefler-7 ~]# subscription-manager facts | grep cpu_socket cpu.cpu_socket(s): 4 [root@jsefler-7 ~]# subscription-manager facts | grep is_guest virt.is_guest: false [root@jsefler-7 ~]# subscription-manager register --username=rhel7beta --serverurl=subscription.rhn.stage.redhat.com:443/subscription Password: The system has been registered with ID: 37caf6f0-df99-4507-b61c-a9ae948da9fc [root@jsefler-7 ~]# subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Server Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00069 Contract: 10299492 Pool ID: 8a99f9844228f57b014233437f345c4d Available: 918 Suggested: 4 Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00073 Contract: 10299496 Pool ID: 8a99f9844228f57b0142334889e65cc4 Available: 930 Suggested: 8 Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical Subscription Name: All Add-on Beta Provides: SKU: RH00075 Contract: 10299498 Pool ID: 8a99f9844228f57b0142334d24145d06 Available: 983 Suggested: 4 Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical Subscription Name: Red Hat Enterprise Linux Workstation Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00074 Contract: 10299497 Pool ID: 8a99f9844228f57b0142334975185cde Available: 926 Suggested: 4 Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical Subscription Name: Red Hat Enterprise Linux 7 High Touch Beta Provides: Red Hat Enterprise Linux 7 for IBM System z High Touch Beta Red Hat Enterprise Linux 7 Desktop High Touch Beta Red Hat Enterprise Linux 7 High Availability High Touch Beta Red Hat Enterprise Linux 7 for HPC Compute Node High Touch Beta Red Hat Enterprise Linux 7 for IBM POWER High Touch Beta Red Hat Enterprise Linux 7 Server High Touch Beta Red Hat Enterprise Linux 7 Workstation High Touch Beta Red Hat Enterprise Linux 7 Load Balancer High Touch Beta Red Hat Enterprise Linux 7 Resilient Storage High Touch Beta SKU: RH00076 Contract: 10299499 Pool ID: 8a99f9844228f57b0142334d243f5d17 Available: 605 Suggested: 4 Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server Beta for HPC Compute Node Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00072 Contract: 10299495 Pool ID: 8a99f9844228f57b01423348142a5cac Available: 936 Suggested: 2 Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical [root@jsefler-7 ~]# subscription-manager subscribe --pool=8a99f9844228f57b014233437f345c4d --pool=8a99f9844228f57b0142334889e65cc4 --pool=8a99f9844228f57b0142334d24145d06 --pool=8a99f9844228f57b0142334975185cde --pool=8a99f9844228f57b0142334d243f5d17 --pool=8a99f9844228f57b01423348142a5cac Successfully attached a subscription for: Red Hat Enterprise Linux Server Beta Successfully attached a subscription for: Red Hat Enterprise Linux Desktop Beta Successfully attached a subscription for: All Add-on Beta Successfully attached a subscription for: Red Hat Enterprise Linux Workstation Beta Successfully attached a subscription for: Red Hat Enterprise Linux 7 High Touch Beta Successfully attached a subscription for: Red Hat Enterprise Linux Server Beta for HPC Compute Node [root@jsefler-7 ~]# subscription-manager list --consumed | grep "Quantity" Quantity Used: 4 Quantity Used: 8 Quantity Used: 4 Quantity Used: 4 Quantity Used: 4 Quantity Used: 2 VERIFIED: Without specifying a quantity during the bind request, the needed quantity to achieve compliance for each instance-based pool was attached. Additional Info about the Instance Based subscriptions... [root@jsefler-7 ~]# curl --stderr /dev/null --insecure --user ***:*** --request GET http://rubyvip.web.stage.ext.phx2.redhat.com:80/clonepin/candlepin/owners/7074055/pools | python -m simplejson/tool | egrep "instance_multiplier|sockets" -A4 | grep -v updated "name": "sockets", "productId": "RH00074", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00074", "value": "2" }, -- "name": "sockets", "productId": "RH00073", "value": "1" }, -- "name": "instance_multiplier", "productId": "RH00073", "value": "2" }, -- "name": "sockets", "productId": "RH00074", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00074", "value": "2" }, -- "name": "sockets", "productId": "RH00074", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00074", "value": "2" }, -- "name": "sockets", "productId": "RH00069", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00069", "value": "2" }, -- "name": "sockets", "productId": "RH00070", "value": "8" }, -- "name": "instance_multiplier", "productId": "RH00070", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00071", "value": "2" }, -- "name": "sockets", "productId": "RH00072", "value": "8" }, -- "name": "instance_multiplier", "productId": "RH00072", "value": "2" }, -- "name": "sockets", "productId": "RH00073", "value": "1" }, -- "name": "instance_multiplier", "productId": "RH00073", "value": "2" }, -- "name": "sockets", "productId": "RH00074", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00074", "value": "2" }, -- "name": "sockets", "productId": "RH00075", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00075", "value": "2" }, -- "name": "sockets", "productId": "RH00076", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00076", "value": "2" }, -- "name": "sockets", "productId": "RH00072", "value": "8" }, -- "name": "instance_multiplier", "productId": "RH00072", "value": "2" }, -- "name": "sockets", "productId": "RH00074", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00074", "value": "2" }, -- "name": "sockets", "productId": "RH00073", "value": "1" }, -- "name": "instance_multiplier", "productId": "RH00073", "value": "2" }, -- "name": "sockets", "productId": "RH00074", "value": "2" }, -- "name": "instance_multiplier", "productId": "RH00074", "value": "2" }, -- "name": "sockets", "productId": "RH00073", "value": "1" }, -- "name": "instance_multiplier", "productId": "RH00073", "value": "2" }, -- "name": "sockets", "productId": "RH00072", "value": "8" }, -- "name": "instance_multiplier", "productId": "RH00072", "value": "2" }, These bugs were fixed during 7.0 but not moved to CLOSED. They have been delivered |