[ https://issues.apache.org/jira/browse/CLOUDSTACK-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731687#comment-13731687 ]
Sateesh Chodapuneedi commented on CLOUDSTACK-3782: -------------------------------------------------- Tested in VMware setup. After attaching volume DB is updated with INCORRECT value. See below query result showing volume size as 1024 bytes but it's really 1GB. mysql> select id,name,size from volumes; +----+--------+------------+ | id | name | size | +----+--------+------------+ | 1 | ROOT-1 | 0 | | 2 | ROOT-2 | 0 | | 3 | ROOT-3 | 0 | | 4 | ROOT-4 | 0 | | 5 | ROOT-4 | 0 | | 6 | ROOT-5 | 2147483648 | | 7 | ROOT-6 | 2097152000 | | 8 | ROOT-7 | 2147483648 | | 9 | v1 | 1024 | +----+--------+------------+ > Data disk size is modified to KB from GB after it is attached to the instance > ------------------------------------------------------------------------------ > > Key: CLOUDSTACK-3782 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3782 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller > Affects Versions: 4.2.0 > Environment: Cloudstack build : 257 > [http://repo-ccp.citrix.com/releases/ASF/rhel/6.3/4.2/CloudPlatform-4.2-257-rhel6.3.tar.gz] > Hypervisor: Vmware Esxi 5.1 > Storage: NFS for both primary and secondary > Reporter: Pavan Kumar Bandarupally > Assignee: Sateesh Chodapuneedi > Priority: Critical > Fix For: 4.2.0 > > Attachments: apilog.log, DATADISK.sql, management-server.log, > screenshot-1.jpg > > > Data disk size is shown as 5 kb when the actual size is 5 GB. API response in > firebug traces gives 5 GB but in the CS UI it is shown as 5 kb. > Attached screenshot of the same. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira