Change in ovirt-engine[ovirt-engine-4.0]: hosted-engine: add a DB cleaner utility

Code Review gerrit at ovirt.org
Thu Feb 23 10:40:00 UTC 2017


>From Piotr Kliczewski <piotr.kliczewski at gmail.com>:

Piotr Kliczewski has submitted this change and it was merged.

Change subject: hosted-engine: add a DB cleaner utility
......................................................................


hosted-engine: add a DB cleaner utility

Hosted-engine auto-import procedure is not going to work
if the engine DB already contains  hosted-engine entities and,
on the other side, they cannot be removed from the
engine to avoid breaking a working environment.
This was preventing the user from migration an hosted-engine env
from one storage device to another via backup/restore.

Change-Id: Id61ae0b05a75018ded532d7a0c38c15b4b885803
Bug-Url: https://bugzilla.redhat.com/1422470
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
---
M packaging/bin/engine-backup.sh.in
A packaging/setup/dbutils/hecleaner.sh
A packaging/setup/dbutils/hecleaner_sp.sql
A packaging/setup/dbutils/hecleaner_sp_drop.sql
4 files changed, 225 insertions(+), 0 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Verified
  Jenkins CI: Passed CI tests
  Yedidyah Bar David: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/72804
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id61ae0b05a75018ded532d7a0c38c15b4b885803
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>


More information about the Engine-commits mailing list