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 1335856

Summary: Page does not load while accessing Content -> Puppet Modules in Any Context
Product: Red Hat Satellite Reporter: Ashish Humbe <ahumbe>
Component: WebUIAssignee: Walden Raines <walden>
WebUI sub component: Katello QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: bbuckingham, cwelton, kbidarka, xdmoon, zhunting
Version: 6.2.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/15083
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.34-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:25:27 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:
Bug Depends On:    
Bug Blocks: 1115190    

Description Ashish Humbe 2016-05-13 11:59:02 UTC
Description of problem:

While accessing Content -> Puppet Modules page in Satellite v 6.2Beta keeps loading.

Error message in the production.log: 

2016-05-13 17:23:57 [app] [E] Katello::HttpErrors::NotFound: Couldn't find organization ''
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/controllers/katello/api/v2/api_controller.rb:123:in `find_optional_organization'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:143:in `call'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'


Version-Release number of selected component (if applicable):
Satellite v 6.2 public Beta

How reproducible:
Always 

Steps to Reproduce:
1. Switch to "Any Context"
2. Navigate to "Content" -> "Puppet Modules"


Actual results:
ISE 

Expected results:
It should redirect to a page to select Organization: 

https://satellite.example.com/select_organization?toState=%2Fpuppet_modules

Example: When we access Content -> Red Hat Subscriptions  page in Any Context it is redirected to the select organization page.


Additional info:

Comment 2 Walden Raines 2016-05-18 15:40:54 UTC
Created redmine issue http://projects.theforeman.org/issues/15083 from this bug

Comment 3 Walden Raines 2016-05-18 15:45:47 UTC
PR: https://github.com/Katello/katello/pull/6055

Comment 4 Bryan Kearney 2016-05-18 20:20:05 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15083 has been closed

Comment 6 Kedar Bidarkar 2016-05-26 12:51:42 UTC
So, now on accessing the content -> Puppet Modules in 'Any Context' the UI takes us to the below page, https://sat6.redhat.com/select_organization?toState=%2Fpuppet_modules


VERIFIED with sat62-snap(GA)-13.1

Comment 7 Bryan Kearney 2016-07-27 11:25:27 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:1501