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

From Piotr Kliczewski <piotr.kliczewski@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@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@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski@gmail.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <didi@redhat.com>
participants (1)
-
Code Review