Change in ovirt-engine[master]: core: Template stuck in Locked status ...(#846324)

emesika at redhat.com emesika at redhat.com
Thu Sep 20 08:12:59 UTC 2012


Eli Mesika has submitted this change and it was merged.

Change subject: core: Template stuck in Locked status ...(#846324)
......................................................................


core: Template stuck in Locked status ...(#846324)

core: Template stuck in Locked status after restart of VDSM during template import(#846324)

https://bugzilla.redhat.com/846324

Problem was that stop task command was sent to VDSM even if the status
of the task is unknown or aborting causing VDSM to stop the task without
cleaning and leave garbage behind.

The patch adds a condition to SPMAsyncTask:stopTask that checks if the
task is not in unknown or aborting state before attempting to send a
StopTask command.

Change-Id: I75947f44448ce07f36e295a520e373ad6e7546fe
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SPMAsyncTask.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/8057
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I75947f44448ce07f36e295a520e373ad6e7546fe
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list