Bug #18513

when job status is being updated, only failed part of the counter seems to be updated before it finishes

Added by Adam Ruzicka 9 months ago. Updated 8 months ago.

Status:Closed
Priority:High
Assigned To:Adam Ruzicka
Category:Usability
Target version:Foreman - Team Ivan Iteration 12
Difficulty: Pull request:https://github.com/theforeman/foreman_remote_execution/pull/228
Bugzilla link:1417537
Story points-
Velocity based estimate-

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1417537

Description of problem:
When we are running remote execution (ReX) job at scale, even when number of sub-tasks passes, cake graph on a job detail page still shows only red bar.

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

How reproducible:
always

Steps to Reproduce:
1. Run a ReX job on 6138 hosts ("Evaluated at: 2017-01-30 00:00:37 +0100")
2. Check the status of the job in cake graph: it shows "2% failed, 98% failing"
3. Check the status on "Hosts" tab. There is:
3860 in success state
2133 in pending state
145 in failed state

Actual results:
Although there is a big bunch of systems passing the ReX command, cake graph only shows these failing. Will attach screenshot.

Expected results:
Cake graph should show also passing sub-tasks even before job finishes.

Additional info:
In my experience, green part of the graph will start growing once job is close to finish.


Related issues

Blocked by foreman-tasks - Bug #18963: use the new batch processing feature for bulk tasks Closed 03/21/2017

Associated revisions

Revision fdb0330c
Added by adamruzicka 8 months ago

Fixes #18513 - Redraw job invocation status graph properly (#228)

History

#1 Updated by Adam Ruzicka 9 months ago

  • Category set to Usability
  • Target version set to Team Ivan backlog

#2 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/228 added

#3 Updated by Ivan Necas 9 months ago

  • Priority changed from Low to High

#4 Updated by Ivan Necas 9 months ago

  • Target version changed from Team Ivan backlog to Team Ivan Iteration 11

#5 Updated by Adam Ruzicka 8 months ago

  • Blocked by Bug #18963: use the new batch processing feature for bulk tasks added

#6 Updated by Anonymous 8 months ago

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

#7 Updated by Ivan Necas 8 months ago

  • Target version changed from Team Ivan Iteration 11 to Team Ivan Iteration 12

Also available in: Atom PDF