The nodes managed by VMware VCDriver driver can have multiple
datastores (disk abstraction) attached to it. The driver currently
reports the disk usage of a datastore that has the largest capacity.
But it doesn't report a consolidated disk usage. As a result, the
node's storage capability is under-reported in many occassions.
This patch fixes this issue by aggregating the disk freespace,
capacity from all attached datastores.
Reviewed: https:/ /review. openstack. org/52557 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9adba6727bb ec051c1437ee953 67ecb97b207f35
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9adba6727bbec05 1c1437ee95367ec b97b207f35
Author: Sabari Kumar Murugesan <email address hidden>
Date: Thu Oct 17 16:53:29 2013 -0700
VMware Driver update correct disk usage stat
The nodes managed by VMware VCDriver driver can have multiple
datastores (disk abstraction) attached to it. The driver currently
reports the disk usage of a datastore that has the largest capacity.
But it doesn't report a consolidated disk usage. As a result, the
node's storage capability is under-reported in many occassions.
This patch fixes this issue by aggregating the disk freespace,
capacity from all attached datastores.
Closes-Bug: #1220459
Change-Id: I818a041f33a045 773fc799de2c696 28064ef8cbf