Project

General

Profile

Bug #12269

"rerun failed" does not populate the search query

Added by Thomas McKay almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
Bugzilla link:
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.

Associated revisions

Revision 19cca837 (diff)
Added by Stephen Benjamin almost 7 years ago

fixes #12269 - only show rerun failed when there's failed tasks

Revision 4a7a0d77
Added by Stephen Benjamin almost 7 years ago

Merge pull request #67 from stbenjam/12269

fixes #12269 - only show rerun failed when there's failed tasks

History

#1 Updated by The Foreman Bot almost 7 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 ()

#2 Updated by Stephen Benjamin almost 7 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.

#3 Updated by Ivan Necas almost 7 years ago

  • Target version changed from 87 to 92

#4 Updated by Ivan Necas almost 7 years ago

  • Target version changed from 92 to 87

#5 Updated by Anonymous almost 7 years ago

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

#6 Updated by Ivan Necas almost 7 years ago

  • Legacy Backlogs Release (now unused) set to 103

Also available in: Atom PDF