Change in ovirt-engine[master]: hosted-engine: add a DB cleaner utility
sbonazzo at redhat.com
sbonazzo at redhat.com
Wed Oct 12 06:28:03 UTC 2016
Sandro Bonazzola 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/1240466
Bug-Url: https://bugzilla.redhat.com/1235200
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
--
To view, visit https://gerrit.ovirt.org/64966
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id61ae0b05a75018ded532d7a0c38c15b4b885803
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list