shwstppr commented on issue #3473: vmware: fix volume stats logic
URL: https://github.com/apache/cloudstack/pull/3473#issuecomment-512731291
 
 
   From vCenter,
   ![Screenshot from 2019-07-18 
13-42-50](https://user-images.githubusercontent.com/153340/61442032-6fdba480-a964-11e9-9901-93129a750243.png)
   ![Screenshot from 2019-07-18 
13-53-04](https://user-images.githubusercontent.com/153340/61442042-75d18580-a964-11e9-9ff3-a0cb240d60e5.png)
   ![Screenshot from 2019-07-18 
14-30-41](https://user-images.githubusercontent.com/153340/61444276-addac780-a968-11e9-9ce7-1f7a41bf9ea9.png)
   
   From storage,
   ![Screenshot from 2019-07-18 
14-28-35](https://user-images.githubusercontent.com/153340/61444174-81bf4680-a968-11e9-9b87-9d2c93c5c8e6.png)
   
   I've verified with debugging 
https://github.com/apache/cloudstack/blob/master/vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java#L2597-L2609,
 VirtualDisk points to `ROOT-5.vmdk` and not to `ROOT-5-delta.vmdk`. Therefore 
only two vmdk files in the chain,
   
`{"diskDeviceBusName":"ide0:1","diskChain":["[b5fe57d739a33733bdd825fa62e86d4d] 
i-2-5-VM/ROOT-5.vmdk","[b5fe57d739a33733bdd825fa62e86d4d] 
9b41f3d52a7f36678e302280f7ca2bbb/9b41f3d52a7f36678e302280f7ca2bbb.vmdk"]}`
   
   Even with `ROOT-5.vmdk` file size is different from vCenter and storage. Do 
we need to explore a different method to get volume usage on VMware?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to