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 890372

Summary: API - undefined method `each' for "No Credentials provided":String
Product: Red Hat Satellite Reporter: Matt W <matthew_walsh>
Component: InstallationAssignee: Martin Bacovsky <mbacovsk>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, inecas, mbacovsk, 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: 2014-05-05 17:24:48 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
undefined method `each' for "No Credentials provided":String none

Description Matt W 2012-12-26 18:39:37 UTC
Created attachment 669304 [details]
undefined method `each' for "No Credentials provided":String

Description of problem: Running katello command generates this error on katello org


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


How reproducible:
katello org list

Steps to Reproduce:
1.
2.
3.
  
Actual results:
tail /var/log/katello/thin-log.500*.log
Listening on 127.0.0.1:5000, CTRL+C to stop
!! Unexpected error while processing request: undefined method `each' for "No Credentials provided":String


Expected results:


Additional info:

Comment 1 Ivan Necas 2013-01-10 12:39:46 UTC
Thanks for reporting.

It seems like this problem occurs only on Fedora 17, I will check that the issue is still there.

To get the list of organizations, you need to provide credentials to authenticate.

By default, its:

katello org list --username admin --password admin

Comment 2 Martin Bacovsky 2013-01-23 16:28:09 UTC
Fixed in PR https://github.com/Katello/katello/pull/1450

Comment 3 Martin Bacovsky 2013-01-24 07:19:41 UTC
Fixed in commit 42a6e3bec8

Comment 4 Bryan Kearney 2014-01-21 19:07:57 UTC
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.

Comment 7 Mike McCune 2014-05-05 17:24:48 UTC
fixed upstream, no need for specific sat6 testing