diff options
author | kirankv <kiran-kumar.vaddi@hp.com> | 2013-05-17 07:14:44 -0700 |
---|---|---|
committer | kirankv <kiran-kumar.vaddi@hp.com> | 2013-06-03 00:32:50 -0700 |
commit | 1985b176adff8252886c09f36c075af4144cb95f (patch) | |
tree | 5d930954f924eba6a284794fc85087f3bb1d2dd3 /nova/utils.py | |
parent | 0afcc051a99443004510458da32e507385d58873 (diff) | |
download | nova-1985b176adff8252886c09f36c075af4144cb95f.tar.gz nova-1985b176adff8252886c09f36c075af4144cb95f.tar.xz nova-1985b176adff8252886c09f36c075af4144cb95f.zip |
Fix VMwareVCdriver reporting incorrect stats
fix bug #1180779
VMware nova compute drivers VMwareESXDriver and VMwareVCDriver
currently report stats for the column local_gb in MB instead of in GB
The fix would be to modify vmwareapi/host.py to ensure the values
reported for disk space are calculated in GB instead of MB.
Fix is done by further dividing the existing MB value by 1024 to
convert to GB.
The unit tests to check for capacity and freespace have been modified
to check for GB.
Change-Id: I0610047ee2bddefe0ccb46568c0f48de4c0941af
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions