[Pure Storage] Fix QoS setting for cloned volumes
Volumes created from glance images on the source FlashArray using volume cloning are not being assigned the correct QoS specifications associated with the requested volume type. This patch resolves that issue. This patch is standalone for 2024.1 as the codebase changed for 2024.2 and this bug is addressed in a seperate patch for that release. Partial-Bug: #2100547 Change-Id: Ic3bc26eee419ecae7377f05e9488b809cd3b843a
This commit is contained in:
parent
a54442aef0
commit
7b571e5f54
@ -762,6 +762,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