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 1311767

Summary: Hostgroup not storing Activation Keys
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, cwelton, kbidarka, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13861
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:02:14 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:
Attachments:
Description Flags
associting of selected ak getting erased as soon as you submit the hostgroup form
none
hostgroup storing activation-keys none

Description Partha Aji 2016-02-24 23:15:05 UTC
* Configure -> Host Groups -> New Host Group
* Create a new HG with environment, cv and activation key

Notice that the activation key parameter gets erased.

Comment 1 Partha Aji 2016-02-24 23:15:06 UTC
Created from redmine issue http://projects.theforeman.org/issues/13861

Comment 2 Partha Aji 2016-02-24 23:15:09 UTC
Upstream bug assigned to paji

Comment 3 Partha Aji 2016-02-24 23:18:17 UTC
Note this has been resolved upstream -> https://github.com/Katello/katello/pull/5806

Comment 5 Bryan Kearney 2016-02-25 01:09:50 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13861 has been closed
-------------
Partha Aji
Applied in changeset commit:katello|6c315ca0420769847c30202b93e5be9d02860bda.

Comment 8 Sachin Ghai 2016-03-02 06:44:36 UTC
Its still reproducible with Satellite 6.2 Snap1. Association of selected activation-key getting erased from hostgroup as soon as you submit the hostgroup form.

Comment 9 Sachin Ghai 2016-03-02 06:46:01 UTC
Created attachment 1132153 [details]
associting of selected ak getting erased as soon as you submit the hostgroup form

Comment 10 Brad Buckingham 2016-03-02 18:11:22 UTC
*** Bug 1313330 has been marked as a duplicate of this bug. ***

Comment 11 Brad Buckingham 2016-03-02 18:12:24 UTC
Moving to POST since the upstream issue is merged.

Comment 12 Partha Aji 2016-03-02 22:04:53 UTC
Need to cherry pick commit 6c315ca0420769847c30202b93e5be9d02860bda from upstream again ...

Comment 13 Sachin Ghai 2016-03-10 10:49:15 UTC
Verified with sat6.2 snap3. Associated activation-key doesn't get erased on submitting the host-group form.

Comment 14 Sachin Ghai 2016-03-10 10:52:01 UTC
Created attachment 1134797 [details]
hostgroup storing activation-keys

Comment 17 errata-xmlrpc 2016-07-27 09:02:14 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:1500