Browse Source

Merge "Always use new_size when extend" into stable/ussuri

stable/ussuri
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
7a765a1677
2 changed files with 8 additions and 1 deletions
  1. +1
    -1
      manila/share/drivers/generic.py
  2. +7
    -0
      releasenotes/notes/bug-1909951-fix-extend-have-wrong-size-7938eaa6591bd2ad.yaml

+ 1
- 1
manila/share/drivers/generic.py View File

@ -667,7 +667,7 @@ class GenericShareDriver(driver.ExecuteMixin, driver.ShareDriver):
server_details['instance_id'],
volume)
self._resize_filesystem(server_details, volume)
self._resize_filesystem(server_details, volume, new_size=new_size)
self._mount_device(share, server_details, volume)
helper.restore_access_after_maintenance(server_details,
share['name'])


+ 7
- 0
releasenotes/notes/bug-1909951-fix-extend-have-wrong-size-7938eaa6591bd2ad.yaml View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixed a bug that if extend a volume after shrink it under generic
driver, it may have a wrong real size. Please see
`Launchpad bug #1909951 <https://bugs.launchpad.net/manila/+bug/1909951>`_
for more details.

Loading…
Cancel
Save