Change in ovirt-engine[ovirt-engine-3.4]: core: Set image format correctly when creating template imag...

Oved Ourfali has submitted this change and it was merged. Change subject: core: Set image format correctly when creating template image on block domain ...................................................................... core: Set image format correctly when creating template image on block domain When creating a template from a VM with a disk on an NFS domain without snapshots (Raw+Sparse) on a block domain, the copy operation will fail since this image configuration is not supported on block domains, this patch causes the format to be changed from raw to cow in this situations to avoid that problem Change-Id: Icfa0843d3cad69682f6030ed47ec1699c106447a Signed-off-by: Tal Nisan <tnisan@redhat.com> Bug-Url: https://bugzilla.redhat.com/1131294 --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateImageTemplateCommand.java 1 file changed, 27 insertions(+), 3 deletions(-) Approvals: Tal Nisan: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/31637 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Icfa0843d3cad69682f6030ed47ec1699c106447a Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
oourfali@redhat.com