b85cc49588
Currently the VMDK driver picks a datastore for volume creation based on space utilization. The shadow VM corresponding to the volume is migrated to a different host and datastore if the volume is attached to an instance created in a host which cannot access the volume's current datastore. To reduce these migrations, this fix selects a datastore which is connected to maximum number of hosts, provided there is enough space to accommodate the volume. Ties are broken based on space utilization; datastore with low space utilization is preferred. Closes-Bug: #1250816 Change-Id: I5ecf22d782857fca0889799229465c49afe188a0 |
||
---|---|---|
.. | ||
__init__.py | ||
api.py | ||
error_util.py | ||
io_util.py | ||
read_write_util.py | ||
vim.py | ||
vim_util.py | ||
vmdk.py | ||
vmware_images.py | ||
volumeops.py |