Project

General

Profile

Actions

Bug #12269

closed

"rerun failed" does not populate the search query

Added by Thomas McKay about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Clicking rerun failed button returns UI to the "new job invocation" page but does not fill search query text area with the search for the failed hosts (it is blank).

Clicking submit on this page displays stack trace in UI of

ERF42-5279 [Foreman::Exception]: Cannot resolve hosts without a bookmark or search 
query/home/vagrant/code/foreman_remote_execution/app/models/targeting.rb:24:in `resolve_hosts!'
/home/vagrant/code/foreman_remote_execution/app/lib/actions/remote_execution/run_hosts_job.rb:15:in `plan'

Suggest that if all hosts were successful that the "rerun failed" be disabled.

Actions

Also available in: Atom PDF