[
https://issues.apache.org/jira/browse/CLOUDSTACK-4019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rayees Namathponnan closed CLOUDSTACK-4019.
-------------------------------------------
Verified with latest 4.2 build
> [Automation]VMs volume size always returns 144 KB in KVM
> --------------------------------------------------------
>
> Key: CLOUDSTACK-4019
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4019
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Volumes
> Affects Versions: 4.2.0
> Environment: KVM
> 4.2 build
> Reporter: Rayees Namathponnan
> Assignee: edison su
> Priority: Blocker
> Fix For: 4.2.0
>
>
> Steps to reproduce
> Step 1 : Create VM with 5 GB storage
> Step 2 : Check volume size for new VM
> Expected result
> VM size should be 5 GB,
> Actual Result
> Volume size allways results 144.00 KB
> http://10.223.49.195:8096/?command=listVolumes&id=b7ddefac-4c21-4bb3-b0c2-9047f657507a&response=json
> { "listvolumesresponse" : { "count":1 ,"volume" : [
> {"id":"b7ddefac-4c21-4bb3-b0c2-9047f657507a","name":"ROOT-1097","zoneid":"51b4f372-61d8-476a-837c-3e789ca31240","zonename":"Adv-KVM-Zone1","type":"ROOT","deviceid":0,"virtualmachineid":"08048c4e-e0e1-4258-97e3-012a104d0bf5","vmname":"08048c4e-e0e1-4258-97e3-012a104d0bf5","vmdisplayname":"Test
> VM -With
> Disk","vmstate":"Running","size":147456,"created":"2013-07-05T10:05:24-0400","state":"Ready","account":"test-test_recurring_snapshots-2Q1UWQ","domainid":"0c676de4-e516-11e2-963b-1a6f7bb0d0a8","domain":"ROOT","storagetype":"shared","hypervisor":"KVM","storage":"PS1","destroyed":false,"serviceofferingid":"7356e067-466e-40f9-82d9-4588ba06451d","serviceofferingname":"Tiny
> Instance","serviceofferingdisplaytext":"Tiny
> Instance","isextractable":true,"tags":[],"displayvolume":false} ] } }
> Also please see the volume size after deploying the vm
> 2013-07-05 11:39:16,349 DEBUG [agent.transport.Request]
> (AgentManager-Handler-7:null) Seq 4-1845367682: Processing: { Ans: , MgmtId:
> 29066118877352, via: 4,
> Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":1176,"name":"i-770-1176-QA","type":"User","cpus":1,"minSpeed":100,"maxSpeed":100,"minRam
> ":134217728,"maxRam":134217728,"arch":"x86_64","os":"CentOS 5.5
> (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDyn
> amicallyScaleVm":false,"vncPassword":"bb38f0d317ba52ee","vncAddr":"10.223.50.66","params":{},"uuid":"f627cd3f-5e3e-489c-9882-bbb124e1b9f1","disks":[{"data":{
> "org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"a2218cdc-cab8-4bf9-8fb5-badc65d4ffb0","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.stor
> age.to.PrimaryDataStoreTO":{"uuid":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/
> rayees/SC_QA_AUTO4/primary","port":2049}},"name":"ROOT-1176","size":147456,"path":"31258995-eff5-4341-a788-59ad9a1fd6d2","volumeId":1297,"vmName":"i-770-1176
> -QA","accountId":770,"format":"QCOW2","id":1297,"hypervisorType":"KVM"}},"diskSeq":0,"type":"ROOT"},{"data":{"org.apache.cloudstack.storage.to.TemplateObject
> TO":{"id":0,"format":"ISO","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"6841f
> 5f5-0250-4224-a9da-6b11f6d3c1ad","ip":"10.1.1.161","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:59:96:00:01","dns1":"8.8.8.8","broadcastType":
> "Vlan","type":"Guest","broadcastUri":"vlan://2302","isolationUri":"vlan://2302","isSecurityGroupEnabled":false}]},"result":true,"wait":0}}]
> }
> 2013-07-05 11:39:16,349 DEBUG [agent.transport.Request]
> (Job-Executor-69:job-3737 = [ 4c1f0127-be91-4780-a0b5-fd12fb556919 ]) Seq
> 4-1845367682: Received: {
> Ans: , MgmtId: 29066118877352, via: 4, Ver: v1, Flags: 10, { StartAnswer } }
--
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