Change in ovirt-engine[master]: core: fix a regression on import image as template

Code Review gerrit at ovirt.org
Sun Mar 19 11:38:54 UTC 2017


>From Arik Hadas <ahadas at redhat.com>:

Arik Hadas has submitted this change and it was merged.

Change subject: core: fix a regression on import image as template
......................................................................


core: fix a regression on import image as template

Recent changes in the add-template flow, to support sealing of the template, caused
a regression in the flow of importing an image from glance as a template.

Previously, the AddVmTemplate command was not async in this flow (as the images
already exist in the storage domain). Now, we create a callback anyway which exposes
a bug in the detection of whether the VM that the template is based on exists in
the database or not.

This patch provides a fix for this.

Change-Id: I3c61c28be70c1b394b94fac985ce840777035962
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Arik Hadas: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c61c28be70c1b394b94fac985ce840777035962
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list