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 1085298

Summary: applying update to system produces hidden ISE: NoMethodError: undefined method `key?' for #<JSON::Ext::Generator::State:0x00000009878378>
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: cwelton, mmccune, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:09:05 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:
Attachments:
Description Flags
Part of /var/log/foreman/production.log
none
UI shows success on package update none

Description Jan Hutař 2014-04-08 10:29:19 UTC
Created attachment 883966 [details]
Part of /var/log/foreman/production.log

Description of problem:
Applying update to system produces hidden ISE: NoMethodError: undefined method `key?' for #<JSON::Ext::Generator::State:0x00000009878378>


Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140404.0


How reproducible:
always


Steps to Reproduce:
1. Subscribe system with some packages outdated:
   # yum list updates
   [...]
   augeas-libs.x86_64   1.0.0-5.el6_5.1   rhel-6-server-rpms
   [...]
2. Go to Hosts -> Registered Systems -> <your_system> -> Packages
3. In "Package Actions" choose "Package update" in drop-down menu
   and insert "augeas-libs" into input-box
4. Press "Perform" button


Actual results:
Nothing happens in webUI. ISE generated in the log.


Expected results:
Should work, no ISE should be generated

Comment 1 RHEL Program Management 2014-04-08 10:55:24 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Brad Buckingham 2014-06-09 21:04:35 UTC
I'm unable to reproduce this issue; however, the package update functionality was moved to dynflow after this BZ was created.  As a result, the issue may have been addressed by that work.

I am going to move this BZ to ON_QA for verification.

Comment 4 Sachin Ghai 2014-06-10 07:53:35 UTC
Verified with sat6 beta snap8 (Satellite-6.0.3-RHEL-6-20140604.0).

I tried package update with same steps as defined in defect description. And I didn't see any error/exception in logs and selected package was updated with it dependencies. I tried with "rpm" package.

Before update, installed package version on client:
=====================================

[root@vodka ~]# rpm -qa | grep rpm
rpm-libs-4.8.0-32.el6.x86_64
rpm-4.8.0-32.el6.x86_64
rpm-python-4.8.0-32.el6.x86_64
python-pulp-rpm-common-2.4.0-0.18.beta.el6sat.noarch
pulp-rpm-handlers-2.4.0-0.18.beta.el6sat.noarch
[root@vodka ~]# 


After update, installed package version on client:
====================================================

[root@vodka ~]# rpm -qa | grep rpm
rpm-libs-4.8.0-37.el6.x86_64
rpm-python-4.8.0-37.el6.x86_64
python-pulp-rpm-common-2.4.0-0.18.beta.el6sat.noarch
rpm-4.8.0-37.el6.x86_64
rpm-build-4.8.0-37.el6.x86_64
pulp-rpm-handlers-2.4.0-0.18.beta.el6sat.noarch
rpm-devel-4.8.0-37.el6.x86_64
[root@vodka ~]#

Comment 5 Sachin Ghai 2014-06-10 07:54:39 UTC
Created attachment 907088 [details]
UI shows success on package update

Comment 6 Bryan Kearney 2014-07-02 14:09:04 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 7 Bryan Kearney 2014-07-02 14:09:05 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.