Change in vdsm[master]: lib: executor: report worker status in __repr__

nsoffer at redhat.com nsoffer at redhat.com
Wed Dec 16 13:33:42 UTC 2015


Nir Soffer has submitted this change and it was merged.

Change subject: lib: executor: report worker status in __repr__
......................................................................


lib: executor: report worker status in __repr__

To make the troubleshooting of stuck workers
easier, we extend Worker.__repr__.
The new method reports now the task being performed,
or 'waiting' if the worker is idle; furthermore,
stuck workers are clearly marked as such, reporting
'discarded' next to the task.

Change-Id: I558787e006d8c9cbbbff6b3dfbd744311ab31e42
Backport-To: 3.6
Signed-off-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/49722
Continuous-Integration: Jenkins CI
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-by: Piotr Kliczewski <piotr.kliczewski at gmail.com>
---
M lib/vdsm/executor.py
1 file changed, 7 insertions(+), 2 deletions(-)

Approvals:
  Piotr Kliczewski: Looks good to me, but someone else must approve
  Nir Soffer: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Francesco Romani: Verified



-- 
To view, visit https://gerrit.ovirt.org/49722
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I558787e006d8c9cbbbff6b3dfbd744311ab31e42
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list