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 860952

Summary: undefined method `with_indifferent_access' for #<Array:0x7f2bcbfc2440>
Product: Red Hat Satellite Reporter: Miroslav Suchý <msuchy>
Component: APIAssignee: Miroslav Suchý <msuchy>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: aali, lzap, mmccune
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: 2013-09-19 18:09:52 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:

Description Miroslav Suchý 2012-09-27 07:49:04 UTC
Description of problem:
see steps to reproduce, we are very probably miss somewhere 
require 'active_support/core_ext/hash'

Version-Release number of selected component (if applicable):
katello-1.1.12-1.git.257.32bf70e.fc16.noarch

How reproducible:
alway

Steps to Reproduce:
1. /usr/share/katello/script/cli-tests/cli-system-test all
2. there is in "undefined method `with_indifferent_access' for #<Array:0x7f2bcbfc2440>" in /var/log/katello/client.log

2012-09-27 03:34:30,854 [ERROR][MainThread] main() @ base.py:418 - error: Successfully created provider [ yum_JedmRC96tIR5 ]
2012-09-27 03:34:43,701 [ERROR][MainThread] error() @ base.py:206 - error: undefined method `with_indifferent_access' for #<Array:0x7f2bcbfc2440>
2012-09-27 03:34:44,154 [ERROR][MainThread] main() @ base.py:418 - error: Successfully created changeset [ changeset_JedmRC96tIR5 ] for environment [ env_rhsm_JedmRC96tIR5 ]

Comment 2 Miroslav Suchý 2012-10-11 18:22:39 UTC
https://github.com/Katello/katello/pull/840

Comment 3 Miroslav Suchý 2012-10-12 10:25:23 UTC
Commit:
860952 - do not call with_indifferent_access on Array … 	3e34f2e

Comment 5 Ajmal Ali 2012-10-17 19:37:32 UTC
*** Bug 867140 has been marked as a duplicate of this bug. ***

Comment 6 Lukas Zapletal 2012-10-19 12:00:34 UTC
Backported into K 1.1

[KATELLO-1.1 34a63da] 860952 - update Pool::find to not treat response as an array

Comment 7 Mike McCune 2013-09-19 18:09:52 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.