-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.16.5.2
-
False
-
sat-proton
-
None
-
None
-
None
-
None
Description of problem:
Getting the following error in production.log when searching for the host collection name.
~~~
2025-07-29T15:18:54 [I|app|6faea92d] Started GET "/katello/api/v2/host_collections/auto_complete_search?search=" for 10.X.X.X at 2025-07-29 15:18:54 +0200
2025-07-29T15:18:54 [I|app|6faea92d] Processing by Katello::Api::V2::HostCollectionsController#auto_complete_search as JSON
2025-07-29T15:18:54 [I|app|6faea92d] Parameters: {"search"=>"", "api_version"=>"v2"}
2025-07-29T15:18:54 [E|app|6faea92d] Katello::HttpErrors::NotFound: One of parameters [ organization_id ] required but not specified.
6faea92d | /usr/share/gems/gems/katello-4.14.0.13/app/controllers/katello/api/v2/api_controller.rb:185:in `find_organization'
6faea92d | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:427:in `block in make_lambda'
~~~
How reproducible:
Always
Is this issue a regression from an earlier version:
No. can reproduce in version 6.15,6.16 and 6,17
Steps to Reproduce:
1. Create Host Collection
2. Select Organization as Any Organizaion
3. Navigate to Hosts --> All Hosts --> Click on the Host --> in Details Tab - Search for Host Collection --> Click on "Add to a host collection" --> Click on Search Tab
Actual behavior:
When searching the host collection in details tab of host its always fails with below error.
~~~
Error: Request failed with status code 404
~~~
Expected behavior:
The Search parameter in "Add host to host collections" should function correctly.
Business Impact / Additional info: