Open
Description
At present, there is no secret
field available on NodeGetVolumeStats RPC, however this is required at times for specific storage vendor to map volumeID to the targetPath
.
As per the spec:
Condition | gRPC Code | Description | Recovery Behavior
-- | -- | -- | --
Volume does not exist | 5 NOT_FOUND | Indicates that a volume corresponding to the specified volume_id does not exist on specified volume_path. | Caller MUST verify that the volume_id is correct and that the volume is accessible on specified volume_path and has not been deleted before retrying with exponential back off.
targetpath
contains the pvc name and volumeID is generated by plugin. The mapping between the targetpath
to volumeID
(may) require the secret/credentials. For example, in Ceph, we need secret to connect to the ceph cluster to get the volumeID from volume Name.
Metadata
Metadata
Assignees
Labels
No labels