You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/07/22 11:58:19 UTC

[GitHub] [cloudstack] andrijapanicsb opened a new issue #3416: VMware: volume statistics show wrong values

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 the 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 -->
   
   physical 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 milliseconds, not seconds as stated atm - I raised a separate PR for this).
   
   1. Grep management-server.log for "GetVolumeStatsCommand" and observe it's running each minute
   
   2. Inside the VM, write i.e. 50MB to disk  -  "dd=/dev/urandom of=ddfile bs=1M count=50; sync"
   
   3. Wait for next run of GetVolumeStatsCommand from the mgmt logs - check 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 - from image bellow is ~ 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:
users@infra.apache.org


With regards,
Apache Git Services