vmware: volume utilisation is always zero#4225
Conversation
This fixes issues of virtual size to be twice in case the disk is a linked-clone root disk. The virtual size of root disk (first in chain) must be used. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1615 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
@rhtyd I had a look at this, the physical size is reflecting correctly, but that utilization field is a bit strange on the front end, seems like the value should be multiplied by 100? |
|
Trillian test result (tid-2227)
|
|
@Spaceman1984 historically the volume utilisation has been a ratio of physical size by virtual size. But it makes sense to show it as a more human readable percentage. Fixed it cc @borisstoyanov |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1624 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2239)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
code makes sense but i have no idea on the consequences and accuracy, So I'm trusting @borisstoyanov 's assement in that respect.

After the fix utilisation is seen as below:

Logs also show valid values like:
Types of changes