
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@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@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <didi@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>