Change in ovirt-engine[master]: core:remove storage pool is failing in Psql exception...

emesika at redhat.com emesika at redhat.com
Sun Mar 17 15:22:27 UTC 2013


Eli Mesika has submitted this change and it was merged.

Change subject: core:remove storage pool is failing in Psql exception...
......................................................................


core:remove storage pool is failing in Psql exception...

ovirt-engine: remove storage pool is failing in Psql exception: Failed
to run compensation on startup for Command
org.ovirt.engine.core.bll.storage.RemoveStoragePoolCommand, Com mand Id
: 076abb88-ead3-4a87-9d31-a534f41ad127, due to: DataIntegrityViolatio

Since there may be some compensation entries that are not related to
Zombie tasks left and this may cause the backend to abort when trying
to activate the compensation procedure on system startup.

This patch adds a -A flag to taskcleaner utility that enable to remove
all compensation data from the business_entity_snapshot table.

Installer should call taskcleaner with the -A flag.
instead of running taskcleaner with  -zRCJq flags, installer should
invoke taskcleaner with the -zRAq flags

Change-Id: Iea501a3da1b0fe72b4c4e95b751d51cd6efb7843
Bug-Url: https://bugzilla.redhat.com/921202
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/tools/dbutils/taskcleaner.sh
M backend/manager/tools/dbutils/taskcleaner_sp.sql
2 files changed, 53 insertions(+), 26 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iea501a3da1b0fe72b4c4e95b751d51cd6efb7843
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list