Bug 1401237 - unable to preview hosts to be executed on when query is too long (e.g. after "rerun failed" with 233 failed jobs)
Summary: unable to preview hosts to be executed on when query is too long (e.g. after ...
Keywords:
Status: CLOSED DUPLICATE of bug 1590522
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.2.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-03 20:30 UTC by Jan Hutař
Modified: 2018-06-19 10:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-19 10:54:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17665 0 Low New unable to preview hosts to be executed on when query is too long (e.g. after "rerun failed" with 233 failed jobs) 2021-01-24 11:29:55 UTC

Description Jan Hutař 2016-12-03 20:30:35 UTC
Description of problem:
I'm unable to preview hosts to execute the job on when query is too long (e.g. after "rerun failed" with 233 failed jobs as it generates query like "name = ... or name = ... or ...")


Version-Release number of selected component (if applicable):
satellite-6.2.4-1.0.el7sat.noarch


How reproducible:


Steps to Reproduce:
1. Have very long search query when scheduling new job. In my case it was 9910 characters of query like "name = docker18container107.example.com or name = docker8container103.example.com or ..."
2. Click "Preview" button


Actual results:
Empty window appears with no indication that something went wrong (BAD). Only FF network console shows that request returned "414 Request-URI Too Long" (well, BAD as well)


Expected results:
Either proper error message with explanation or it should work.


Additional info:
This made ma a bit confused as "Refresh" button seemed to work and sumber shown 233 hosts and when launched, job was really scheduled on 233 systems.

Comment 4 Ivan Necas 2016-12-13 20:21:02 UTC
Created redmine issue http://projects.theforeman.org/issues/17665 from this bug


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