-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Pod filesystem not resized while volume gets succesfully expanded #1626
Comments
@petarvranesevic: Thank you for submitting this issue! The issue is currently awaiting triage. Please make sure you have given us as much context as possible. If the maintainers determine this is a relevant issue, they will remove the needs-triage label and respond appropriately. We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at container.storage.modules@dell.com. |
Hi @petarvranesevic. Could you paste the yaml of the |
powermax storageclass yaml
PVC description
We also tested it with a storageclass named powermax-xfs with the paramater: csi.storage.k8s.io/fstype: xfs, which also didn't work. |
We also tried restarting the pod, but the FS was still not resized after restarting (tested both with ext4 and xfs FS). |
/sync |
link: 30973 |
Hi @petarvranesevic , I wanted to provide you with an update on the issue you reported. I tried to reproduce the issue on both a Kubernetes cluster and an OCP cluster with PowerMax, but was unsuccessful. The volume expansion test passed in both environments, and the volume size in the pod expanded to 15G without any problems. I ran the test multiple times, and all attempts were successful. One difference I noticed is that you have the Authorization module enabled. Could you please confirm if the issue is observed only with the Authorization module enabled, or if it also occurs with just the PowerMax driver? Please let me know if there are any additional steps or specific conditions under which you observed the issue, so I can try to replicate it more accurately. Thank you for your patience and cooperation. |
Hi @AkshaySainiDell. Yes we are testing it with the Authorization module enabled. We can't test without the Authorization module. The issue appears to be a missing filesystem resize inside the pod, as the pvc as well as the volume in PowerMax are showing 15G. Could you try it with the Authorization module enabled? |
When starting the test:
On step "expanding the volume"
Powermax volume info |
Thanks @petarvranesevic for sharing the info. I'll try with Authorization enabled. |
Thank you @AkshaySainiDell . The test stays in the processing state and we had to manually stop it. We let it run for ~30 min. |
Hey @AkshaySainiDell - why do you think this is related to Authorization component? Since the volume is resized successfully on storage, and also visible as the resized disk volume inside container(via lsblk), the only thing missing is the online filesystem resize operation, which iirc should be done by the CSI driver on the node, no? |
Since we could not reproduce the issue with both authorization enabled( (though this seems unlikely since the auth module shouldn't affect volume expansion)/disabled and this could be issue related to customers environment. Could you please capture the driver logs from the customer environment so that we can analyse if any issues from the driver side. Another approach would be trying volume expansion manually. |
We added the driver logs to the Dell SR: SR#202405925 |
@petarvranesevic Thanks for sharing the logs. I reviewed the multipath and system logs but didn't find any errors related to node expansion. However, the driver logs show an inconsistency in the volume identifier. The expected format is As per my analysis, this prefix is not added by the driver. Could you let me know the source of this prefix? Is there any configuration that adds this prefix to the volume identifier/name? |
Bug Description
While expanding a pvc, the pvc gets successfully expanded and the volume is showing the resize in Unisphere on Powermax. When inspecting mounted pvc inside the pod, it is still showing the size from before the resize. When inspecting the block device, inside the pod, the disk is resized correctly.
Logs
Output of volumexpansiontest.sh
Output of oc get events
Output of df -h inside pod
Output of lsblk inside pod
Screenshots
No response
Additional Environment Information
Openshift 4.16.9
Powermax 8000
Unisphere for Powermax 10.1.0.0
Steps to Reproduce
Run volumexpansiontest.sh from https://github.com/dell/csi-powermax/tree/main/test/helm
Expected Behavior
Filesystem inside pod gets successfully expanded to the same size as pvc.
CSM Driver(s)
CSM Operator 1.7.0
CSI v2.12.0 for Powermax
Installation Type
Operator
Container Storage Modules Enabled
CSM for Authorization v2.0.0
Container Orchestrator
Openshift 4.16.9
Operating System
RHEL CoreOS
The text was updated successfully, but these errors were encountered: