Fix prophetstor drivers report value
allocated_capacity_gb should not be reported by drivers and let the volume manager handle this. Change-Id: Ief53a578f96384ab945598b4a67337dd8b8349f8 Closes-Bug: #1746221 Signed-off-by: Kien Ha <kienha9922@gmail.com>
This commit is contained in:
parent
7ff3505a68
commit
c0a3a495f5
@ -1438,9 +1438,6 @@ class DPLCOMMONDriver(driver.CloneableImageVD,
|
||||
pool['free_capacity_gb'] = (
|
||||
self._convert_size_GB(
|
||||
int(output['metadata']['available_capacity'])))
|
||||
pool['allocated_capacity_gb'] = (
|
||||
self._convert_size_GB(
|
||||
int(output['metadata']['used_capacity'])))
|
||||
pool['QoS_support'] = False
|
||||
pool['reserved_percentage'] = 0
|
||||
pools.append(pool)
|
||||
|
Loading…
Reference in New Issue
Block a user