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

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

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

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

(cherry picked from commit 4b4c52ea77aedde663cd0238b774aa243c856f42)
Signed-off-by: Rohit Yadav <[email protected]>

Conflicts:
        
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java


> 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