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 1861192 - Lifecycle Environment does not prompt for selecting Organization
Summary: Lifecycle Environment does not prompt for selecting Organization
Keywords:
Status: CLOSED DUPLICATE of bug 1861970
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Lifecycle Environments
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-28 03:26 UTC by Anand Agrawal
Modified: 2020-08-03 13:07 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-03 13:07:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Anand Agrawal 2020-07-28 03:26:45 UTC
Description of problem:
Lifecycle Environment should not load in Any Organization, rather it should ask for selecting Organization.

It throws below error in Production.log

2020-07-28T08:45:58 [E|app|a1631d2f] Katello::HttpErrors::NotFound: Couldn't find organization ''
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.rc4.1/app/controllers/katello/api/v2/api_controller.rb:161:in `find_optional_organization'
/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:428:in `block in make_lambda'
/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:181:in `block (2 levels) in halting_and_conditional'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'


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


How reproducible:
Always

Steps to Reproduce:
1. Create lifecycle environment 'LC-1' in Organization 1
2. Create lifecycle environment 'LC-2' in Organization 2
3. Now select the Organization from the top bar as 'Any Organization'

Actual results:
It shows blank page with no lifecycle and fails with above error in log

Expected results:
It should ask to select the Organization

Additional info:

Comment 1 Brad Buckingham 2020-08-03 13:07:32 UTC

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


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