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 1335850 - ISE while accessing Content -> Red Hat Repositories in Any Context
Summary: ISE while accessing Content -> Red Hat Repositories in Any Context
Keywords:
Status: CLOSED DUPLICATE of bug 1335481
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.2.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2016-05-13 11:48 UTC by Ashish Humbe
Modified: 2016-05-24 19:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-24 19:42:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ashish Humbe 2016-05-13 11:48:56 UTC
Description of problem:

Below error message is seen while accessing Content ->  Red Hat Repositories in "Any Context" in webui: 

=================
We're sorry, but something went wrong.

If you are the application owner check the logs for more information.
=================

Error message in production.log: 


2016-05-13 17:10:48 [app] [E] User does not belong to an organization. (Katello::Errors::SecurityViolation)
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/controllers/katello/application_controller.rb:254:in `require_org'
 | /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:160:in `call'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:160:in `block in halting'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
.
.
.

 | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2016-05-13 17:10:48 [app] [I] Completed 500 Internal Server Error in 26ms
2016-05-13 17:10:48 [app] [F] 
 | ActionView::MissingTemplate (Missing template katello/common/403 with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
 |   * "/usr/share/foreman/app/views"
 |   * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.3.4/app/views"


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 -> Red Hat Repositories


Actual results:
ISE 

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

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

Additional info:

Comment 1 Ashish Humbe 2016-05-13 11:59:33 UTC
Small correction:


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

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

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

Comment 5 Brad Buckingham 2016-05-24 19:42:23 UTC

*** This bug has been marked as a duplicate of bug 1335481 ***


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