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

tnisan at redhat.com tnisan at redhat.com
Mon Aug 18 23:39:11 UTC 2014


Tal Nisan 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 at redhat.com>
Bug-Url: https://bugzilla.redhat.com/1128776
---
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/31635
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icfa0843d3cad69682f6030ed47ec1699c106447a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list