OlegChuev opened a new issue, #12297: URL: https://github.com/apache/cloudstack/issues/12297
### problem A regression has been identified in the volume resizing logic introduced in ACS 4.20. Following the changes in PR [#8755](https://github.com/apache/cloudstack/pull/8755), specifically at this [place](https://github.com/apache/cloudstack/pull/8755/changes#r1516093895), 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 1. Have LINSTOR Storage provider 2. Create a QCOW2 volume and assign it to the VM 3. Try to resize volume with shrink enabled ### What to do about it? Allow any storage provider to shrink volumes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
