Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1321710

Summary: Can't modify frozen Hash error when trying to reregister a content-host after subscription-manager clean
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: ehelms, jmatthew, jmontleo, mmccune, omaciel, sghai
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14354
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.17-1,gofer-2.7.6-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:29:31 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: 1212602    

Description Justin Sherrill 2016-03-29 01:48:46 UTC
To reproduce:

1. Register a content host.

2. Run subscription-manager clean on the content host.

3. Then try to register the content host again.

The error that will come back in the command like will be: https://paste.fedoraproject.org/344740/88402101/

Expected Results:

It reregisters the content-host.

Comment 1 Justin Sherrill 2016-03-29 01:48:48 UTC
Created from redmine issue http://projects.theforeman.org/issues/14354

Comment 3 Jason Montleon 2016-03-29 15:17:14 UTC
I see this even when trying to register hosts for the first time. The fix above seems to fix it as well.

Comment 4 Mike McCune 2016-04-14 05:00:42 UTC
resolved via:

https://github.com/Katello/katello/pull/5831

Comment 5 Sachin Ghai 2016-04-18 10:03:32 UTC
verified with sat6.2 beta snap8.2

Reported issue has been fixed.

~]# subscription-manager register --activationkey ak_rhel7 --org Default_Organization
The system has been registered with ID: 95e16a1a-db36-4658-bed5-0d98c2ccf899 

Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Not Subscribed

Unable to find available subscriptions for all your installed products.


 ~]# subscription-manager clean
All local data removed


 ~]# subscription-manager register --activationkey ak_rhel7 --org Default_Organization
The system has been registered with ID: 59c1cc69-2273-4a8b-bb8c-81ad50fea3d2 

Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Not Subscribed


I don't see any stacktrace while running any of these commands.

Comment 7 errata-xmlrpc 2016-07-27 09:29:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501