diff --git a/cinder/volume/drivers/pure.py b/cinder/volume/drivers/pure.py index e4f066e1954..526208538ee 100644 --- a/cinder/volume/drivers/pure.py +++ b/cinder/volume/drivers/pure.py @@ -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) diff --git a/releasenotes/notes/pure_clone_qos_fix-a2a13311e94247db.yaml b/releasenotes/notes/pure_clone_qos_fix-a2a13311e94247db.yaml new file mode 100644 index 00000000000..84f6467a99a --- /dev/null +++ b/releasenotes/notes/pure_clone_qos_fix-a2a13311e94247db.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Pure Storage driver `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.