andrijapanicsb opened a new issue #3416: VMware: volume statistics show wrong 
values
URL: https://github.com/apache/cloudstack/issues/3416
 
 
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   GetVolumeStatsCommand
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.11+ (tested 4.11.2 and Master)
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   NA
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   NA
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   volume size reported is wrong, and doesn't change after you write a lot of 
data to the VM's root disk (be it linked clone or full clone)
   
   ##### STEPS TO REPRODUCE
   
   ~~~
   configure "volume.stats.interval" to 60000 (these are miliseconds, not 
seconds as stated atm - I reaised separeat PR for thus).
   
   grep management-server.log for "GetVolumeStatsCommand" and observer it's 
running each minute
   write i.e. 50MB to disk, from inside the VM with 
   "dd=/dev/urandom of=ddfile bs=1M count=50; sync"
   
   wait for next run of GetVolumeStatsCommand from the mgmt logs - chech the 
size reported in the text output and also on the GUI
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Correct physical size is reported
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   0.53KB reported instead of the real size (linked clone - on image ~ 220MB
   
   
![image](https://user-images.githubusercontent.com/45762285/59966004-09ef2f00-9516-11e9-93d0-397d5db15802.png)
   
   ~~~
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to