[
https://issues.apache.org/jira/browse/CLOUDSTACK-8199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Mikhailovsky updated CLOUDSTACK-8199:
--------------------------------------------
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
was:
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
Summary: Incorrect size when volumes and templates created from image
snapshots (was: Incorrect size when volumes created from image snapshots)
> Incorrect size when volumes and templates created from image snapshots
> ----------------------------------------------------------------------
>
> Key: CLOUDSTACK-8199
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8199
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM, Snapshot
> Affects Versions: 4.4.2
> Environment: Ubuntu 14.04 LTS Server on MS and agents. Primary
> storage - ceph rbd. Secondary storage NFS.
> Reporter: Andrei Mikhailovsky
> Priority: Minor
> Labels: kvm, rbd, snapshot, volumes
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)