Merge "[Pure Storage] Fix QoS setting for cloned volumes" into stable/2023.2
This commit is contained in:
commit
a0648aaf51
@ -765,6 +765,12 @@ class PureBaseVolumeDriver(san.SanDriver):
|
||||
vol_name,
|
||||
src_vref["size"],
|
||||
volume["size"])
|
||||
# Check if the volume_type has QoS settings and if so
|
||||
# apply them to the newly created volume
|
||||
qos = None
|
||||
qos = self._get_qos_settings(volume.volume_type)
|
||||
if qos:
|
||||
self.set_qos(current_array, vol_name, qos)
|
||||
|
||||
return self._setup_volume(current_array, volume, vol_name)
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Pure Storage driver `bug #2100547
|
||||
<https://bugs.launchpad.net/cinder/+bug/2100547>`_: Fixed issue where
|
||||
volumes created as clones from a source image volume do get
|
||||
the defined QoS settings associated with the volume type used.
|
Loading…
x
Reference in New Issue
Block a user