[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586240#comment-14586240
 ] 

ASF subversion and git services commented on CLOUDSTACK-8560:
-------------------------------------------------------------

Commit 4b4c52ea77aedde663cd0238b774aa243c856f42 in cloudstack's branch 
refs/heads/master from [~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4b4c52e ]

CLOUDSTACK-8560: Stat the resulting image after copying from template and 
return the size

This way we update the DB with the actual size of the disk after deployment 
from template


> Images deployed from template do not have the correct size in database
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8560
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8560
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: Future, 4.6.0, 4.4.4, 4.5.2
>            Reporter: Wido den Hollander
>            Assignee: Wido den Hollander
>
> When a Template from S3/Swift is deployed to RBD the resulting size in the 
> database could be eg 500MB.
> I encountered this today, I uploaded a 50GB (virtual) QCOW2 image which was 
> 526MB in file size.
> The resulted RBD disk was 500GB disk, but in the database it was stored as 
> 526MB.
> We should return the resulting disk size to the management server so it can 
> update the database properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to