User story: As an OCP user, I want to increase the size of the persistent volume claim after it is created. Description: The CSI resize side container is now stable enough to be added to the oVirt CSI driver. The CSI external-resizer is a sidecar container that watches the Kubernetes API server for PersistentVolumeClaim object edits and triggers ControllerExpandVolume operations against a CSI endpoint if user requested more storage on PersistentVolumeClaim object. See implementing CSI notes: - Volume Expansion[1] - CSI Spec[2] - Controller Expand (Volume Resize) Secret[3] Volume Expansion CSI Spec Controller Expand (Volume Resize) Secret ** Other platforms CSI Drivers already support resizing the persistent volume. Acceptance criteria: - CSI Tests suite passes with `nodeExpansion=true` - Users can easily expand the PVC they created after creation. - Everything is deployed by default by the CSI Opearator Verification steps: - Create a PVC - After PVC is created, edit the PVC Object and increase the size - Check that the PVC disk in RHV is attached and have the correct size. Repeat the process for each storage class configuration (block, xfs,ext4 ...) Notes: See https://kubernetes-csi.github.io/docs/external-resizer.html for more info on the external resizer [1] https://kubernetes-csi.github.io/docs/volume-expansion.html?highlight=ControllerExpandVolume#volume-expansion [2] https://github.com/container-storage-interface/spec/blob/master/spec.md [3] https://kubernetes-csi.github.io/docs/secrets-and-credentials-storage-class.html?highlight=ControllerExpandVolume#controller-expand-volume-resize-secret
*** Bug 1931805 has been marked as a duplicate of this bug. ***
ocp: 4.9.0-0.nightly-2021-08-04-131508 check resize of PVC after creation.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759