Bug 986292
| Summary: | Displaying wrong count of local certificates when removing a subscription | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Rehana <redakkan> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED NOTABUG | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.10 | CC: | bkearney, ckozak, fsharath, jmolet, jsefler, skallesh, spandey |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-22 15:38:27 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
Rehana
2013-07-19 10:51:10 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. This is working as intended. This happens because there is a modifier subscription installed, and the modified subscription is removed (which means we must remove the modifier as well) The modifier subscription is actually replaced. If you list --consumed afterward, you'll notice that the serial has changed. [root@ckozak-desktop ckozak]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Server Basic Provides: Awesome OS Server Bits SKU: awesomeos-server-basic Contract: 13 Account: 12331131231 Serial: 4239246919217791088 Pool ID: ff8080813ff291c6013ff292e5990442 Active: True Quantity Used: 1 Service Level: None Service Type: Self-Support Status Details: Starts: 07/17/2013 Ends: 07/17/2014 Subscription Name: Awesome OS Modifier Provides: Awesome OS Modifier Bits SKU: awesomeos-modifier Contract: 1 Account: 12331131231 Serial: 4280917935826958276 Pool ID: ff8080813ff291c6013ff292e52f03f5 Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Starts: 07/17/2013 Ends: 07/17/2014 [root@ckozak-desktop ckozak]# subscription-manager remove --serial 4239246919217791088 Serial numbers successfully removed at the server: 4239246919217791088 deleting ff8080814006a36c01400702a7c800e1 deleting ff8080814006a36c014007032ad100e4 2 local certificates have been deleted. [root@ckozak-desktop ckozak]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Modifier Provides: Awesome OS Modifier Bits SKU: awesomeos-modifier Contract: 1 Account: 12331131231 Serial: 5168308126033982552 Pool ID: ff8080813ff291c6013ff292e52f03f5 Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Starts: 07/17/2013 Ends: 07/17/2014 |