ceph-csi/internal
Madhu Rajanna e54a97ba85 rbd: discover if StagingTargetPath in NodeExpandVolume
The StagingTargetPath is an optional entry in
NodeExpandVolumeRequest, We cannot expect it to be
set always and at the same time cephcsi depended
on the StaingTargetPath to retrieve some metadata
information.

This commit will check all the mount ref and identifies
the stagingTargetPath by checking the image-meta.json
file exists and this is a costly operation as we need to
loop through all the mounts and check image-meta.json
in each mount but this is happens only if the
StaingTargetPath is not set in the NodeExpandVolumeRequest

fixes #3623

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-01-31 08:20:36 +00:00
..
cephfs cephfs: skip expand for BackingSnapshot volume 2022-12-21 12:29:06 +00:00
controller cleanup: ReconcilePersistentVolume consider passing it by pointer 2022-06-28 19:12:53 +00:00
csi-addons rbd: ignore stdErr for ceph osd blocklist when there is no error 2022-11-12 04:20:14 +00:00
csi-common util: make inode metrics optional in FilesystemNodeGetVolumeStats() 2022-10-13 19:02:47 +00:00
journal rbd: update namespace name in rados object 2022-10-28 15:50:01 +00:00
kms kms: Add GetSecret() to KMIP KMS 2022-10-17 17:33:52 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs util: make inode metrics optional in FilesystemNodeGetVolumeStats() 2022-10-13 19:02:47 +00:00
rbd rbd: discover if StagingTargetPath in NodeExpandVolume 2023-01-31 08:20:36 +00:00
util util: Add EncryptionTypeNone and unit tests 2022-10-17 17:33:52 +00:00