[Pure Storage] Resolve missing provider_id issue (PowerVC)
In PowerVC, cloning of multiple volumes fails due to the provider_id not being populated correctly for a volume. Change-Id: Ib08a0561aa404a7aee41b23ec5d30f9f52096687 Closes-Bug: #1938579
This commit is contained in:
parent
c2f9c84aa6
commit
f67eae51f9
@ -446,6 +446,7 @@ class PureBaseVolumeDriver(san.SanDriver):
|
|||||||
vol_updates = []
|
vol_updates = []
|
||||||
for vol in volumes:
|
for vol in volumes:
|
||||||
if not vol.provider_id:
|
if not vol.provider_id:
|
||||||
|
vol.provider_id = self._get_vol_name(vol)
|
||||||
vol_updates.append({
|
vol_updates.append({
|
||||||
'id': vol.id,
|
'id': vol.id,
|
||||||
'provider_id': self._generate_purity_vol_name(vol),
|
'provider_id': self._generate_purity_vol_name(vol),
|
||||||
|
@ -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.
|
Loading…
x
Reference in New Issue
Block a user