Allon Mureinik has submitted this change and it was merged. Change subject: core: Fix import from glance storage allocation check ......................................................................
core: Fix import from glance storage allocation check The storage allocation check uses the DiskImage.getActualDiskWithSnapshotsSizeInBytes() method to evaluate the disk's size according to it's snapshots' sizes. In this case, the disk image is not created with an active image (which is considered as a snapshot for the aforementioned method), which resulted in a disk size of 0. This patch adds the image to the snapshots. Change-Id: I02d1cfb30c64a7d7b7b4c0386b134583faee190d Bug-Url: https://bugzilla.redhat.com/1178012 Bug-Url: https://bugzilla.redhat.com/1053750 Signed-off-by: Vered Volansky <vvola...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCommand.java 1 file changed, 5 insertions(+), 2 deletions(-) Approvals: Allon Mureinik: Looks good to me, approved Freddy Rolland: Looks good to me, but someone else must approve Vered Volansky: Verified -- To view, visit http://gerrit.ovirt.org/37505 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I02d1cfb30c64a7d7b7b4c0386b134583faee190d Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vered Volansky <vvola...@redhat.com> Gerrit-Reviewer: Ala Hino <ah...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Amit Aviram <aavi...@redhat.com> Gerrit-Reviewer: Freddy Rolland <froll...@redhat.com> Gerrit-Reviewer: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches