Bug 807300

Summary: failed registration of a system with an activation key leaves client in unregistered state (though it is registered in katello)
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Content ManagementAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney, dgoodwin, lzap
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 16:18:49 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:

Description Tom McKay 2012-03-27 13:11:33 UTC
Description of problem:

When registering a system through an activation key (sub-mgr --activationkey=foo) that has a problem in it (eg. Pool with id ff80808 could not be found) leaves the system itself thinking it is not registered. Katello, however, lists the system as registered (though w/o any subscriptions, even the valid ones, in the activation key).

Further attempts to register the system will result in "Validation failed: Name has already been taken" errors from sub-mgr.

Comment 2 Lukas Zapletal 2012-03-27 15:44:17 UTC
Just a quick note - for activation keys there is a transaction implemented for subscriptions. If anything fails Katello tries to unsubscribe already subscribed entitlements. But activation is out of this transaction, so it does not get rolled out.

Comment 4 Tom McKay 2012-03-27 16:18:49 UTC

*** This bug has been marked as a duplicate of bug 803814 ***