Change in ovirt-engine[master]: core: Set unmanaged commands status on engine start

Liron Aravot has submitted this change and it was merged. Change subject: core: Set unmanaged commands status on engine start ...................................................................... core: Set unmanaged commands status on engine start When the engine is shutdown when there are running commands, when the engine starts again the status of those commands will remain as 'ACTIVE' forever as they aren't managed by the ATM or by the Coco framework. This may cause to their parent commands to never end. This patch adds that responsibllity to the CommandsRepository, as soon as its initiated it'll update the status of those commands to be ENDED_WITH_FAILURE. Change-Id: Ib1da52c611fc4171b31d9109b599e4688e7e2b62 Signed-off-by: Liron Aravot <laravot@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/AsyncTaskManager.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandsRepository.java 2 files changed, 30 insertions(+), 0 deletions(-) Approvals: Moti Asayag: Looks good to me, approved Liron Aravot: Verified; Passed CI tests -- To view, visit https://gerrit.ovirt.org/53564 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib1da52c611fc4171b31d9109b599e4688e7e2b62 Gerrit-PatchSet: 11 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Aravot <laravot@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Liron Aravot <laravot@redhat.com> Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
laravot@redhat.com