Bug 597210
| Summary: | Multiple entitlement Subscribe process got terminated at the point of already subscribed pool. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | spandey |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED ERRATA | QA Contact: | wes hayutin <whayutin> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | bkearney, kbanerje, shaines, spandey, whayutin |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:37:06 UTC | Type: | --- |
| 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: | 568421 | ||
|
Description
spandey
2010-05-28 11:47:44 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. QE's suggestion is to raise an error that addresses each attempted pool id. For example: OLD ERROR: Msg displayed already subscribe for pool id “3” Client not subscribed for pool id 4, 5 NEW ERROR: Already subscribed to productID that matches pool 3 Already subscribed to productID that matches pool 4 Already subscribed to productID that matches pool 5 Developer Comment:
-----------------
The change has been incorporated. The following shows the output when user tries to subscribe to pool [645,643, 644] all of which he is already subscribed to.
[ajay@localhost src{master}]$ sudo ./subscription-manager-cli subscribe --pool=645 --pool=643 --pool=644
This consumer is already subscribed to the product matching pool with id '645'
This consumer is already subscribed to the product matching pool with id '643'
This consumer is already subscribed to the product matching pool with id '644'
sha: 839f4b495d62f744578d33217d549cf83257d285
Verified On following setup Candlepin : on-premises Client : Rhel6 with sm version 76 [root@sachrhel6 ~]# subscription-manager-cli list --available | grep Pool PoolId: 1 PoolId: 2 PoolId: 3 PoolId: 5 PoolId: 6 PoolId: 7 PoolId: 8 PoolId: 10 PoolId: 11 [root@sachrhel6 ~]# subscription-manager-cli subscribe --pool=2 [root@sachrhel6 ~]# ls /etc/pki/entitlement/product/ 3.pem [root@sachrhel6 ~]# subscription-manager-cli subscribe --pool=1 --pool=2 --pool=3 --pool=5 This consumer is already subscribed to the product matching pool with id '2' [root@sachrhel6 ~]# ls /etc/pki/entitlement/product/ 3.pem 4.pem 5.pem 6.pem Working fine Moving defect status from Modified to Verified An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |