Browse Source

Merge "resolve ResourceProviderSyncFailed issue" into stable/ussuri

changes/49/751349/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
8ffe7aa036
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nova/virt/vmwareapi/host.py

+ 2
- 2
nova/virt/vmwareapi/host.py View File

@@ -88,8 +88,8 @@ class VCState(object):
return data

data["vcpus"] = stats['cpu']['vcpus']
data["disk_total"] = capacity / units.Gi
data["disk_available"] = freespace / units.Gi
data["disk_total"] = capacity // units.Gi
data["disk_available"] = freespace // units.Gi
data["disk_used"] = data["disk_total"] - data["disk_available"]
data["host_memory_total"] = stats['mem']['total']
data["host_memory_free"] = stats['mem']['free']


Loading…
Cancel
Save