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.
Created attachment 1459204[details]
foreman_production.log
Description of problem:
once we try to access content -> subscriptions page with any organization, we get " Couldn't find organization '' " error message and it does not go away, even after changing to the Default_Organization.
Version-Release number of selected component (if applicable):
Satellite 6.4 snap 12
# rpm -q satellite
satellite-6.4.0-10.beta.el7sat.noarch
How reproducible: always
Steps to Reproduce:
1.Change to "Any organization" context and go to Content -> Subscriptions
2.change organization into to any other organization (from the same page)
3.error message " Couldn't find organization '' " appears
4.Try to remove the error
5.Change the organization again and still the error message does not disappear
Actual results: Error showing "Couldn't find organization ''" and production.log shows:
Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.rc1.4/app/views/katello/api/v2/organizations/index.json.rabl within api/v2/layouts/index_layout (2.2ms)
2018-07-16T10:49:03 [E|app|851ce] Katello::HttpErrors::NotFound: Couldn't find organization ''
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.rc1.4/app/controllers/katello/api/v2/api_controller.rb:162:in `find_optional_organization'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:413:in `block in make_lambda'
Expected results: The error message should be disappeared
Created attachment 1459204 [details] foreman_production.log Description of problem: once we try to access content -> subscriptions page with any organization, we get " Couldn't find organization '' " error message and it does not go away, even after changing to the Default_Organization. Version-Release number of selected component (if applicable): Satellite 6.4 snap 12 # rpm -q satellite satellite-6.4.0-10.beta.el7sat.noarch How reproducible: always Steps to Reproduce: 1.Change to "Any organization" context and go to Content -> Subscriptions 2.change organization into to any other organization (from the same page) 3.error message " Couldn't find organization '' " appears 4.Try to remove the error 5.Change the organization again and still the error message does not disappear Actual results: Error showing "Couldn't find organization ''" and production.log shows: Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.rc1.4/app/views/katello/api/v2/organizations/index.json.rabl within api/v2/layouts/index_layout (2.2ms) 2018-07-16T10:49:03 [E|app|851ce] Katello::HttpErrors::NotFound: Couldn't find organization '' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.rc1.4/app/controllers/katello/api/v2/api_controller.rb:162:in `find_optional_organization' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:413:in `block in make_lambda' Expected results: The error message should be disappeared