Details
Description
The size of the volume created from a snapshot is not shown correctly in the ACS GUI. I've reproduced it by doing:
1. Create a snapshot from an rbd volume of 24576M
2. Create volume from the snapshot created in point 1 above
3. Volume size in GUI is shown as 12.90 GB
4. Volume size on storage is shown as 24576M
The same behaviour happens when creating a template from a snapshot:
1. Create a snapshot from an rbd volume of 24576M
2. Create a template from the snapshot created in point 1 above
3. Template size in GUI is shown as 9.17 GB
4. Volume size on storage is shown as 9.2 GB
5. template.properties file show:
#
#Tue Feb 03 17:26:30 UTC 2015
filename=71e7a0c9-6b83-42b2-b943-8426f44411d9.raw
id=1
public=true
raw.filename=71e7a0c9-6b83-42b2-b943-8426f44411d9.raw
uniquename=3f8935532-a5a8-34b7-9439-c5ec6ae09b49
virtualsize=9843769344
raw.virtualsize=9843769344
raw.size=9843769344
raw=true
size=9843769344