Change in ovirt-engine[ovirt-engine-4.1]: core: Fix import of VMs with memory snapshot from domain

Code Review gerrit at ovirt.org
Mon Apr 24 07:52:11 UTC 2017


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: core: Fix import of VMs with memory snapshot from domain
......................................................................


core: Fix import of VMs with memory snapshot from domain

The stored procudure used to delete the entities from the storage domain
referred to a view that does not contain memory images resulting in those
remaining in the database after detaching a domain.
When trying to import a VM that contains memory snapshots to a setup
which the same domain was detached from that included those stale entities
it resulted in a unique constraint violation preventing the import of the
VM.

Change-Id: I6b30ca71d7ed7a390961cbc0ed32c03d6e8b8c01
Bug-Url: https://bugzilla.redhat.com/1434917
Signed-off-by: Tal Nisan <tnisan at redhat.com>
---
M packaging/dbscripts/storages_sp.sql
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Tal Nisan: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6b30ca71d7ed7a390961cbc0ed32c03d6e8b8c01
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list