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 1102963 - System bulk package install fails with "can't convert Symbol into Integer"
Summary: System bulk package install fails with "can't convert Symbol into Integer"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 23:21 UTC by Eric Helms
Modified: 2019-09-26 17:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:05:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6120 0 None None None 2016-04-22 15:40:08 UTC

Description Eric Helms 2014-05-29 23:21:21 UTC
Description of problem:
Internal server error when performing a package install through the bulk action interface on the content hosts page.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Select at least one system
2. Click on bulk actions
3. Enter 'httpd' package
4. Click 'install'

Actual results:
TypeError: can't convert Symbol into Integer
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:94:in `[]'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:94:in `save_job'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:35:in `block in install_packages'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:88:in `perform_bulk_action'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:33:in `install_packages'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:239:in `content_action'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:120:in `install_content'


Expected results:


Additional info:

Comment 1 RHEL Program Management 2014-05-29 23:24:53 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 12:42:59 UTC
Created redmine issue http://projects.theforeman.org/issues/6120 from this bug

Comment 4 Brad Buckingham 2014-06-09 15:33:25 UTC
Notes: 
- this error would occur for the following actions:
  - pkg install/update/remove
  - pkg group install/update/remove
  - errata install
- although the error would occur, the action was actually performed on the clients


the following katello PR will address the error observed:
  https://github.com/Katello/katello/pull/4231

Comment 7 Sachin Ghai 2014-06-13 10:52:38 UTC
Verified with sat6 beta snap9 compose2.

I was able to install/remove/update package and package group via bulk actions.

However facing a different issue for seelcting errata tab. For that I logged seperate issue.

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


Note You need to log in before you can comment on or make changes to this bug.