Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-28460 "No hosts matched search, or action unauthorized for selected hosts" error comes while using the filter box in Content Host Errata Management in Satellite 6.15
  3. SAT-28765

[DEV] "No hosts matched search, or action unauthorized for selected hosts" error comes while using the filter box in Content Host Errata Management in Satellite 6.15

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Errata Management, Search
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Phoenix - Content
    • Sprint 140

      Description of problem:

      "No hosts matched search, or action unauthorized for selected hosts" error comes while using the filter box in Content Host Errata Management in Satellite 6.15

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Navigate to Satellite Web UI > Hosts > Content Hosts > Select the Checkbox of any host which shows having installable updates.

      2. Click on Select Action > Manage Errata > Filter the type in the search box as 'bugfix' or 'security' or 'enhancement' and click on search.

      Actual behavior:
      It is not getting filtered like the older versions, instead it is throwing the error of "Error - No hosts matched search, or action unauthorized for selected hosts."

      Logs in /var/log/foreman/production.log:

      "user"=>{"id"=>4, "login"=>"admin"}, "purpose_addons"=>[]}, "reported_data"=>"[FILTERED]", "uptime_seconds"=>19668838, "infrastructure_facet"=>{"foreman_instance"=>false, "smart_proxy_id"=>2}, "selected"=>true}], "search"=>nil, "params"=>{"organization_id"=>"1", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "paged"=>true, "page"=>1, "per_page"=>"20"}}, "excluded"=>{"ids"=>[]}, "all"=>false, "paged"=>true, "page"=>1, "per_page"=>"20", "search"=>"bugfix", "organization_id"=>"1"}}
      2024-10-01T02:25:16 [I|app|8d578af2]   Rendered api/v2/errors/custom_error.json.rabl within api/v2/layouts/error_layout (Duration: 2.9ms | Allocations: 2764)
      2024-10-01T02:25:16 [I|app|8d578af2]   Rendered layout api/v2/layouts/error_layout.json.erb (Duration: 5.4ms | Allocations: 5411)
      2024-10-01T02:25:16 [I|app|8d578af2] Filter chain halted as :find_editable_hosts rendered or redirected
      2024-10-01T02:25:16 [I|app|8d578af2] Completed 403 Forbidden in 81ms (Views: 6.4ms | ActiveRecord: 35.3ms | Allocations: 22931)

       

      Expected behavior:
      It should filter the search by it's type and show the relevant erratas.

      Business Impact / Additional info:

      Customer wants to filter the type as he used to do on Satellite 6.11 and then push the erratas accordingly.

      DEV Tracker for https://issues.redhat.com/browse/SAT-28460

              Unassigned Unassigned
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: