-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
problem
A regression has been identified in the volume resizing logic introduced in ACS 4.20. Following the changes in PR #8755, specifically at this place, users are unable to shrink QCOW2 volumes in any state other than Allocated, unless StorPool storage is being used.
This change was introduced by the StorPool team in version 4.20 and affects the Volume Resize feature. As a result, ACS raises an error whenever a volume meets all of the following conditions:
• The volume state in ACS is not Allocated
• The volume type in ACS is QCOW2
• The storage pool in ACS is not StorPool
• A shrink operation (resizing to a smaller size) is attempted
Since we currently use LINSTOR as the storage provider with ACS, we are unable to shrink any QCOW2 volumes.
versions
4.20.2.0
The steps to reproduce the bug
- Have LINSTOR Storage provider
- Create a QCOW2 volume and assign it to the VM
- Try to resize volume with shrink enabled
What to do about it?
Allow any storage provider to shrink volumes