Merge "[Pure Storage] Resolve missing provider_id issue (PowerVC)"

This commit is contained in:
Zuul 2021-08-12 14:23:49 +00:00 committed by Gerrit Code Review
commit 6901d2337c
2 changed files with 7 additions and 0 deletions

View File

@ -446,6 +446,7 @@ class PureBaseVolumeDriver(san.SanDriver):
vol_updates = []
for vol in volumes:
if not vol.provider_id:
vol.provider_id = self._get_vol_name(vol)
vol_updates.append({
'id': vol.id,
'provider_id': self._generate_purity_vol_name(vol),

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Pure Storage FlashArray driver `bug #1938579
<https://bugs.launchpad.net/cinder/+bug/1938579>`_: Fixes issue when
cloning multiple volumes in PowerVC deployments.