Browse Source

[XtremIO] Remove provisioning factor when reporting

'free_capacity_gb' is incorrectly reported cause the real
size has been multiplied by max_over_subscription_ratio

Change-Id: I9804b580f90ecfca764a205c46a02ca73d32adcc
Closes-Bug: #1773725
(cherry picked from commit c157b54706)
changes/62/710762/1
TommyLike 2 years ago
committed by Rajat Dhasmana
parent
commit
121515cf59
2 changed files with 5 additions and 2 deletions
  1. +1
    -2
      cinder/volume/drivers/dell_emc/xtremio.py
  2. +4
    -0
      releasenotes/notes/bug-1773725-xtremio-remove-provisioning-factor-y7r5uy3489yd9pbf.yaml

+ 1
- 2
cinder/volume/drivers/dell_emc/xtremio.py View File

@@ -606,8 +606,7 @@ class XtremIOVolumeDriver(san.SanDriver):
'driver_version': self.VERSION,
'storage_protocol': self.protocol,
'total_capacity_gb': physical_space,
'free_capacity_gb': (free_physical *
self.provisioning_factor),
'free_capacity_gb': free_physical,
'provisioned_capacity_gb': actual_prov,
'max_over_subscription_ratio': self.provisioning_factor,
'thin_provisioning_support': True,


+ 4
- 0
releasenotes/notes/bug-1773725-xtremio-remove-provisioning-factor-y7r5uy3489yd9pbf.yaml View File

@@ -0,0 +1,4 @@
---
fixes:
The XtremIO driver has been fixed to correctly report the
"free_capacity_gb" size.

Loading…
Cancel
Save