Merge "[Pure Storage] Fix CG cloning crash when very long volume names"
This commit is contained in:
commit
81f2aaeea9
@ -1804,9 +1804,9 @@ class PureBaseVolumeDriver(san.SanDriver):
|
||||
elif snapshot.cgsnapshot:
|
||||
group_snap = snapshot.cgsnapshot
|
||||
|
||||
pg_vol_snap_name = "%(group_snap)s.%(volume_name)s-cinder" % {
|
||||
pg_vol_snap_name = "%(group_snap)s.%(volume_name)s" % {
|
||||
'group_snap': self._get_pgroup_snap_name(group_snap),
|
||||
'volume_name': snapshot.volume_name
|
||||
'volume_name': self._get_vol_name(snapshot.volume)
|
||||
}
|
||||
return pg_vol_snap_name
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Pure Storage FlashArray driver `bug #1936663
|
||||
<https://bugs.launchpad.net/cinder/+bug/1936663>`_: Fixes issue where
|
||||
cloning a consistency group containing volumes with very long names
|
||||
causes a crash - Required for PowerVC support
|
Loading…
Reference in New Issue
Block a user