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 1483241 - Navigating first to products page and then setting the org context throws 500 ISE
Summary: Navigating first to products page and then setting the org context throws 500...
Keywords:
Status: CLOSED DUPLICATE of bug 1387528
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Organizations and Locations
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-19 14:45 UTC by Kedar Bidarkar
Modified: 2019-08-12 14:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-18 12:57:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
the error when first navigating first to products page (20.22 KB, text/plain)
2017-08-19 15:27 UTC, Kedar Bidarkar
no flags Details
log in production.log file (25.46 KB, text/plain)
2017-09-17 09:21 UTC, Nikhil Kathole
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1487227 0 unspecified CLOSED Internal server error while switching from "Any organization" 2021-02-22 00:41:40 UTC

Internal Links: 1487227

Description Kedar Bidarkar 2017-08-19 14:45:17 UTC
Description of problem:

Navigating first to products page and then setting the org context throws 500 ISE

2017-08-19 10:38:38 f76308e1 [app] [I] Current user: admin (administrator)
2017-08-19 10:38:38 f76308e1 [app] [W] Action failed
 | ActionView::MissingTemplate: Missing template bastion/layouts/application with {:locale=>[:en], :formats=>[:json, :text, "version=2; */*"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
 |   * "/usr/share/foreman/app/views"

----

| /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
 | /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'
2017-08-19 10:38:38 f76308e1 [app] [I] Completed 500 Internal Server Error in 36ms (ActiveRecord: 3.3ms)
2017-08-19 10:38:38 f76308e1 [app] [F] 
 | ActionView::MissingTemplate (Missing template common/500 with {:locale=>[:en], :formats=>[:json, :text, "version=2; */*"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
 |   * "/usr/share/foreman/app/views"
 |   * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_virt_who_configure-0.1.4/app/views"



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

Satellite 6.3.0-snap11.0


How reproducible:


Steps to Reproduce:
1. With no "org context" set
2. Navigate to products page
3. and now select the org from the dropdown box "Please select one from the list below and you will be redirected."

Actual results:
Navigating first to products page and then setting the org context throws 500 ISE

The products page load fine , but with ISE seen from /v/l/foreman/production.log


Expected results:

Navigating first to products page and then setting the org context should not throw 500 ISE




Additional info:

Comment 2 Kedar Bidarkar 2017-08-19 15:27:06 UTC
Created attachment 1315771 [details]
the error when first navigating first to products page

Comment 4 Nikhil Kathole 2017-09-17 09:21:16 UTC
FailedQA

Version Tested:
Satellite-6.3 Snap 16

steps:
1. Change to 'Any organization"
2. Navigate to product page
3. Asked for org select > selected org
4. tail -f /var/log/foreman/production.log

500 Internal server error as
'Action failed
 | ActionView::MissingTemplate: Missing template bastion/layouts/application'

Comment 5 Nikhil Kathole 2017-09-17 09:21:41 UTC
Created attachment 1326920 [details]
log in production.log file


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