Bug 906550
Summary: | Any local-only certificates have been deleted. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | candlepin-bugs |
Status: | CLOSED WORKSFORME | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | bkearney, mreid, seceng-idm-qe-list, skallesh, wpoteat |
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-10-15 17:51:13 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-01-31 21:26:01 UTC
This sounds like it should be associated with 'subscription-manager clean', but we already had a string for that. Running clean on sub-man 1.1.11-1.git returns 'All local data removed'. WHY ARE YOU YELLING????? (In reply to comment #2) > WHY ARE YOU YELLING????? I'm not consciously yelling. I'm just trying to distinguish my commentary from the traces of input/output. I'll stop the excessive capitalization. The feedback message for this bug has changed with committed work https://bugzilla.redhat.com/show_bug.cgi?id=895447#c8 "Any local-only certificates have been deleted." => changed to => "%d local certificate has been deleted. "%d local certificates have been deleted. Here is a case that demonstrates why this new feedback is misleading... Subscribe to a modifier pool and then subscribe to the pool it modifies... [root@jsefler-7 ~]# subscription-manager list --avail +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Server Bundled SKU: awesomeos-server Pool ID: 8a90f81d3d45ba3f013d45bb4494027f Quantity: 5 Service Level: Premium Service Type: Level 3 Multi-Entitlement: No Ends: 03/06/2014 System Type: Physical Subscription Name: Awesome OS Modifier SKU: awesomeos-modifier Pool ID: 8a90f81d3d45ba3f013d45bb441e0273 Quantity: 10 Service Level: Service Type: Multi-Entitlement: No Ends: 03/06/2014 System Type: Physical [root@jsefler-7 ~]# subscription-manager subscribe --pool 8a90f81d3d45ba3f013d45bb441e0273 Successfully attached a subscription for: Awesome OS Modifier [root@jsefler-7 ~]# subscription-manager subscribe --pool 8a90f81d3d45ba3f013d45bb4494027f Successfully attached a subscription for: Awesome OS Server Bundled 1 local certificate has been deleted. [root@jsefler-7 ~]# ^^ Notice that two subscribes occurred and after the second subscribe, I got feedback that "1 local certificate has been deleted." This is counter intuitive. Under the covers, the modifier entitlement required an update to expose additional content sets after subscribing to the modifiee pool. As a result, the second subscribe actually layed down two entitlements and the original one was deleted. Hence the feedback is technically correct, but creates confusion for the user. So its confusing to not tell them at all, its confusing to tell them something was removed, and it is confusing to tell them how many. This all got started to cover the scenario of importing certs into a system that is connected to a candlepin server. If there is a solution that covers all cases, I'm all ears. There are certs that are removed at the server and certs that are removed locally. It is done in 2 separate and independent processes. There is no way to consolidate messages unless we significantly alter the process. The functionality discussed in this bug was introduced as a solution to bug 895447. Moving to CLOSED/WORKSFORME |