Bug #4540

Some imported images have SIZE 0

Added by Carlos Martín over 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:06/09/2016
Priority:NormalDue date:
Assignee:Miguel Ángel Álvarez Cabrerizo% Done:

0%

Category:vCenter
Target version:Release 5.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 5.2

History

#1 Updated by Tino Vázquez over 4 years ago

  • Status changed from Pending to New
  • Target version deleted (Release 5.0)

#2 Updated by Miguel Ángel Álvarez Cabrerizo over 3 years ago

  • Status changed from New to Closed
  • Assignee changed from Tino Vázquez to Miguel Ángel Álvarez Cabrerizo
  • Target version set to Release 5.4
  • Resolution set to fixed
  • Affected Versions OpenNebula 5.2 added

Fixed in branch 4913 - commit: 993a5e8e630e4b8be269fd713205cbfc3cf4d66c

OpenNebula uses SearchDatastoreSubFolders_Task to find images in datastores. The file size provided by this task may be 0 as the disk has been provisioned as a thin disk but the real size would be the one that the VM expect to see, because of this the capacityKb is also queried and used when available instead of the fileSize property hence the values should not be 0 any more.

Also available in: Atom PDF