Humble Devassy Chirammal
2cb9fdf578
volume: fix incorrect error and log messages across volume plugins
...
Fix several incorrect error and log messages in volume plugins that
produce confusing or incomplete output during troubleshooting:
- Fix "MountMount.NodeExpandVolume" to "MountVolume.NodeExpandVolume"
in node_expander.go (2 occurrences)
- Fix "MountVolume.NodeExapndVolume" to "MountVolume.NodeExpandVolume"
in node_expander.go and operation_generator.go (2 occurrences)
- Fix iscsi mkdir error log that prints literal "error" instead of the
actual error value
- Fix "error ummounting" to "error unmounting" in subpath handling
- Fix malformed "with :" in teardown error messages in configmap,
secret, projected, and downwardapi volume plugins
- Fix duplicated "is is" in operation_generator.go comment
Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2026-04-02 14:31:47 +05:30
Jordan Liggitt
45900a1deb
Fix vet error
2026-03-05 18:11:02 -05:00
Hemant Kumar
96b5ae792b
Add code for not expanding volume if it has NodeExpansionNotRequired annotation
2025-05-28 13:07:34 -04:00
Hemant Kumar
4654496c39
Add code to not expand certain types of volumes
2025-05-28 10:22:35 -04:00
Hemant Kumar
5da12b5aee
Add tests that validate the return value of resize operation
2025-05-16 08:16:24 -04:00
carlory
dddfeb4a0e
Handle unsupported node expansion for RWX volumes
...
Co-authored-by: Hemant Kumar <gnufied@users.noreply.github.com>
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-04-29 00:19:47 +08:00
Hemant Kumar
70ebe90b13
Also change final status by removing featuregate check
2025-04-23 16:05:56 -04:00
Hemant Kumar
2d58d4ef52
Fix unit tests and feature gate stuff
2024-10-30 15:17:59 -04:00
Hemant Kumar
a9d71bd6e6
Move RecoverVolumeExpansionFailure feature to beta
2024-10-25 13:39:43 -04:00
Abhishek Kr Srivastav
95860cff1c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-09-20 12:36:38 +05:30
Hemant Kumar
26798d24c2
Fix linter hints etc
2024-08-14 12:54:40 -04:00
Hemant Kumar
97eddc8f65
commiting uncommited changes on 2024-08-14 12:46:00 -0400
2024-08-14 12:46:00 -04:00
Hemant Kumar
99fc7cc7b1
Use new size returned by nodeExpander for recording in ASOW
2024-08-14 09:24:53 -04:00
Hemant Kumar
de5e4963c1
Use allocatedResources as new size for finishing volume expansion
...
on the node.
Also add new tests for node only expansion modes
2024-08-14 09:24:48 -04:00
Hemant Kumar
f7f1a6c81a
Address review comments and return nicer errors
2024-07-22 10:43:38 -04:00
Hemant Kumar
099cb71a53
Ensure that all options are correctly set when calling node-expand-during-mount
2024-07-16 10:04:19 -04:00
Hemant Kumar
785e68a626
Add code for testing final errors
2024-07-15 15:41:31 -04:00
Hemant Kumar
e011187114
Update code to use new generic allocatedResourceStatus field
2023-07-17 15:30:35 -04:00
Hemant Kumar
6bc8275677
Add node name to NodeExpand events
2022-03-28 12:58:59 -04:00
Hemant Kumar
7a43406138
Do not update PVC if it already has updated size
2022-03-28 11:32:49 -04:00