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.
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:
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.
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: