Change in ovirt-engine[master]: core: upgrade issue

yzaslavs at redhat.com yzaslavs at redhat.com
Mon Feb 11 16:47:55 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: upgrade issue
......................................................................


core: upgrade issue

Patch addresses the following problem
taskcleaner needs dbfunctions and dbcustomfunctions
taskcleaner and dbfunctions*.sh are in dbscripts rpm, which is
locked, and downloaded only AFTER we clean the tasks during upgrade.

The ONLY viable option is to separate taskcleaner and its SP installing
from dbscripts, and move it into the setup rpm, in that way, it will be
always available.
In order to do so, we need to do the following:
1. Make taskcleaner a standalone script (e.g, remove the dependency on
dbfunctions)
2. Move it outside of dbscripts folder (to tools/dbutils)
3. Alter the rpm spec file to include the standalone taskcleaner in
rhevm-setup rpm, and deploy it outside of dbscripts.
(will be done in a separate patch)

Change-Id: I82e9ccd3f621f1b524d4f7ed587fe9f266ffa8de
Signed-off-by: Eli Mesika <emesika at redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=909097
---
R backend/manager/tools/dbutils/taskcleaner.sh
R backend/manager/tools/dbutils/taskcleaner_sp.sql
2 files changed, 11 insertions(+), 6 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I82e9ccd3f621f1b524d4f7ed587fe9f266ffa8de
Gerrit-PatchSet: 4
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: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Ohad Basan <obasan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list