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 #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Target version set to 87
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/67 added
  • Pull request deleted ()
Actions #2

Updated by Stephen Benjamin about 9 years ago

It does populate it if there are failures, but it does indeed show blank when there's no failed hosts, will hide the button when everything's successful.

Actions #3

Updated by Ivan Necas about 9 years ago

  • Target version changed from 87 to 92
Actions #4

Updated by Ivan Necas about 9 years ago

  • Target version changed from 92 to 87
Actions #5

Updated by Anonymous about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Ivan Necas about 9 years ago

  • Translation missing: en.field_release set to 103
Actions

Also available in: Atom PDF