NetApp ONTAP cannot resize a volume LUN with sub-clone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Felipe Rodrigues |
Bug Description
Steps to reproduce:
1. Deploy a queens release
2. Configure ONTAP 9.3
3. Create a volume smaller than 64G (e.g. openstack volume create --size 4 test)
4. Try to extend the volume to larger than 64G (e.g. openstack volume set test --size 65)
Expected result:
Volume is extended to the specified size (e.g. volume 'test' would be 65G)
Actual result:
Volume is in error_extending state, and c-vol logs an error: http://
Notes:
1) The bug only is reached with releases rocky or older, given that the patch [1] solves the issue of resizing with ONTAP version lower than 9.5. This patch guarantees that the resize using LUN sub-clone is never reached. All volume LUNs are created to be possible to extend without sub-clone.
2) The bug comes from the fact that the sub-clone operation must not use the `reserve-space`. The API does not accept `reserve-space` together with `block-ranges`.
Changed in cinder: | |
assignee: | nobody → Felipe Rodrigues (felipefutty) |
status: | New → In Progress |
Changed in cinder: | |
importance: | Undecided → Low |
tags: | added: netapp ontap |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/798208
Review: https:/