Bug 1919291
Summary: | [Cinder-csi-driver] Filesystem did not expand when volume resize | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Wei Duan <wduan> |
Component: | Storage | Assignee: | Mike Fedosin <mfedosin> |
Storage sub component: | OpenStack CSI Drivers | QA Contact: | Wei Duan <wduan> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | aos-bugs, m.andre, mbooth, piqin, pprinett |
Version: | 4.7 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: During resizing in Cinder CSI Driver "findmnt" command got several volume mounts and couldn't pick up the right one. So, it stopped the resizing.
Consequence: After PV resizing filesystem on the volume had the same size, so users had to extend it manually.
Fix: Use the first mount for "findmnt" command.
Result: Filesystem is resized along with the PV.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-27 22:36:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wei Duan
2021-01-22 14:23:31 UTC
Is this a regression from 4.6? Was volume resizing available in 4.6? We might not be able to fix within 4.7; targeting 4.8 and definitely planning on backporting. It is not a regression as we just have the cinder-csi-driver. Maybe you want to ask about cinder in-tree, it doesn't support on-line expandtion, so agree to change targeting 4.8 and backporting. Thanks. It is an upstream issue, the fix is on review *** Bug 1906391 has been marked as a duplicate of this bug. *** Verified pass on 4.8.0-0.nightly-2021-03-30-160509. $ oc get pvc -w NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE mypvc Bound pvc-c2cbf54e-07df-4e14-870e-ec1de20175b5 2Gi RWO standard-csi 22m mypvc Bound pvc-c2cbf54e-07df-4e14-870e-ec1de20175b5 3Gi RWO standard-csi 23m # df -h Filesystem Size Used Avail Use% Mounted on ... /dev/vdb 2.9G 1.9G 1008M 66% /mnt/local ... 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.8.2 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:2438 |