cinder/cinder/volume/drivers/vmware
hemna d987062d15 Vmware: Revert the volume stats revert.
This patch reverts the removal of the collection of volume stats
from the vCenter.   Of course there is a performance hit when
collecting volume stats against a backend as compared to doing
nothing.  The problem with not having any stats collection is that
the scheduler can't schedule properly against this driver, especially
when there are multiple of them deployed and heterogeniously against
other backends.   This revert fixes existing deployments against
this backend.

This patch includes a new vmware driver config optiont that allows one
to enable the stats collection, so that a deployment with this driver
can actually work with the scheduler.  When a driver doesn't report
any statistics, the scheduler has no way to determine the capacity
utilization of the driver and will always assume it can take a
provisioning request. This is especially problematic in a
heterogeniously deployed environment, where other drivers do report
valid stats.

This reverts commit f3ee3dbf4e.

Change-Id: Ifdd9b89e00de692a7a9e121ed421b921aa8bfc70
Closes-Bug: 1859864
2020-03-20 18:35:25 +00:00
..
__init__.py Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
datastore.py VMware: Filter out datastore with 0 capacity 2019-05-09 16:56:26 -07:00
exceptions.py VMware: Revert to snapshot 2017-10-24 13:18:42 -07:00
fcd.py Support multiple stores of Glance 2020-01-21 06:02:47 +00:00
vmdk.py Vmware: Revert the volume stats revert. 2020-03-20 18:35:25 +00:00
volumeops.py Fix some miscapitalizations of VMware 2019-02-07 13:28:16 -06:00