Bug #4042

VM disk saveas image size is incorrect

Added by Rolandas Naujikas almost 6 years ago. Updated over 5 years ago.

Status:ClosedStart date:10/08/2015
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Core & System
Target version:Release 4.14.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

When VM was created with increased VM disk (for e.g. 4GB when original disk size is 2GB), then its saveas image is created and really is of size 4GB, but registered as 2GB.


Related issues

Duplicated by Bug #4195: Images saved from resized disks keep originzal size and n... Closed 11/24/2015

Associated revisions

Revision f42a8d86
Added by Carlos Martín over 5 years ago

Bug #4042: Use disk size in vm saveas

Revision 23fefa02
Added by Carlos Martín over 5 years ago

Bug #4042: Use disk size in vm saveas

(cherry picked from commit f42a8d8693fbe58afa4021d4befe06afb9c0c216)

History

#1 Updated by Carlos Martín almost 6 years ago

  • Target version set to Release 4.14.2

#2 Updated by Rolandas Naujikas over 5 years ago

In case of such image reuse with smaller SIZE, there could be image corruption (not all image copied or resized to smaller).

#3 Updated by Carlos Martín over 5 years ago

  • Status changed from Pending to Closed
  • Assignee set to Carlos Martín
  • Resolution set to fixed

It will be fixed in the next maintenance release.
Thank you for reporting it.

#4 Updated by Carlos Martín over 5 years ago

  • Duplicated by Bug #4195: Images saved from resized disks keep originzal size and not the resized added

Also available in: Atom PDF