Merge "Dell EMC PS: Fix extend volume creating unmanaged snapsots"

This commit is contained in:
Jenkins 2017-10-09 23:38:58 +00:00 committed by Gerrit Code Review
commit f645cdab36
2 changed files with 8 additions and 2 deletions

View File

@ -139,10 +139,11 @@ class PSSeriesISCSIDriver(san.SanISCSIDriver):
1.4.3 - Report total_volumes in volume stats
1.4.4 - Fixed over-subscription ratio calculation
1.4.5 - Optimize volume stats information parsing
1.4.6 - Extend volume with no-snap option
"""
VERSION = "1.4.5"
VERSION = "1.4.6"
# ThirdPartySytems wiki page
CI_WIKI_NAME = "Dell_Storage_CI"
@ -613,7 +614,7 @@ class PSSeriesISCSIDriver(san.SanISCSIDriver):
"""Extend the size of the volume."""
try:
self._eql_execute('volume', 'select', volume['name'],
'size', "%sG" % new_size)
'size', "%sG" % new_size, 'no-snap')
LOG.info('Volume %(name)s resized from '
'%(current_size)sGB to %(new_size)sGB.',
{'name': volume['name'],

View File

@ -0,0 +1,5 @@
---
fixes:
- Dell EMC PS Series Driver was creating unmanaged snapshots
when extending volumes. Fixed it by adding the missing
no-snap parameter. This changes fixes bug 1720454.