Change in ovirt-engine[master]: core: fix storage pool ID association with tasks

yzaslavs at redhat.com yzaslavs at redhat.com
Wed Jul 31 14:25:52 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: fix storage pool ID association with tasks
......................................................................


core: fix storage pool ID association with tasks

The following patch fixes the association of storage
pool ID to its task after the task is created at VDSM.
Without this fix, the storage_pool_id column at async_tasks
table will have entries of EMPTY guids.

Bare in mind that when a place holder is created, the
async task creation info does not have the storage pool ID information.
IRS broker commands (i.e - CopyImage) create an async task creation info
object with storage pool ID, once the task is created at SPM and the task ID
is returned to engine.

Change-Id: I1b8f06e7c3b16504f76f6188f3d99fa5e80eedd4
Bug-Url: https://bugzilla.redhat.com/990524
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/AsyncTaskDAODbFacadeImpl.java
M packaging/dbscripts/async_tasks_sp.sql
2 files changed, 6 insertions(+), 3 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1b8f06e7c3b16504f76f6188f3d99fa5e80eedd4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list