Ted Yu
871739e4df
Check getNodeInfoError against nil
2020-02-06 10:57:43 -08:00
Hemant Kumar
4b8e552a88
Use typed errors for special casing volume progress
...
Use typed errors rather than operation status for
indicating operation progress
2019-12-04 14:48:30 -05:00
Hemant Kumar
57019e0628
Add tests for verifying in-progress state
2019-12-02 12:09:38 -05:00
caiweidong
45c52d1314
Fix potential panic in nodeGetVolumeStatsV1
2019-07-23 13:47:35 +08:00
David Zhu
831cd29f4e
Add passthrough for MountOptions for NodeStageVolume for CSI
2019-07-16 16:17:47 -07:00
Humble Chirammal
c511c90b59
csi: Implement NodeServiceCapability_RPC_GET_VOLUME_STATS rpc call
...
and implement Metrics Provider for CSI driver
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-17 17:10:53 +05:30
Vladimir Vivien
923ad369c8
CSI Inline Volume - Kubelet/Driver code impl
2019-03-08 12:40:09 -05:00
Hemant Kumar
a8f318779b
Add CSI volume resizing tests
...
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
saad-ali
aa8244beb5
Modify CSI to handle both 0.3 and 1.0
...
Modify the CSI volume plugin to handle CSI version 0.x as well as 1.x
2018-11-21 18:37:31 -08:00
saad-ali
2b44ec5e9c
Reduce csipb dependencies
...
Remove csipb dependency from everywhere except the CSI client in
preperation for supporting multiple CSI clients.
2018-11-21 18:37:31 -08:00
saad-ali
09d3dce38a
Update CSI client to pick up CSI v1.0.0 changes
2018-11-15 16:39:59 -08:00
k8s-ci-robot
56796f3bf4
Merge pull request #67898 from NetApp/csi-mount-options
...
Add support for mount options to CSI drivers
2018-10-30 19:48:20 -07:00
Hannes Hörl
6330cee9ea
Add tests for csiDriverClient
...
As #69219 outlines the unit tests in `csi_client_test.go` where not
testing the actual implementation of the `csiDriverClient` but was
testing the fake.
To fix this, we changed the `csiDriverClient` to use a
`nodeClientCreator` which is responsible for creating a new
`NodeClient`, a real one in prod and a fake one in the tests.
The setup of the gRPC connection has been pushed into that creator. The
node client uses that connection; that's transparent to the driver
client. It's the responsibility of the driver client to close the
connection when it is done with the node client. To achieve this, we
have the node client creator return a closer which handles the
connection teardown.
In the tests we now also check if the driver client actually calls
this closer, thus closing the gRPC connection.
Closes : #69219
Co-authored-by: Rosie Bloxsom <rbloxsom@pivotal.io>
Co-authored-by: Maria Ntalla <mntalla@pivotal.io>
2018-10-15 20:55:37 +01:00
Ben Swartzlander
65d3beb820
Add support for mount options to CSI drivers
2018-10-11 13:39:19 -04:00
Cheng Xing
7fa120c18c
CSI plugin now calls NodeGetInfo() to get driver's node ID
2018-08-08 13:15:43 -07:00
Vladimir Vivien
d6d396215e
CSI fix for gRPC conn leak, test updates
2018-05-31 23:05:41 -04:00
hzxuzhonghu
70e45eccf2
Replace "golang.org/x/net/context" with "context"
2018-03-22 20:57:14 +08:00
David Zhu
cbd18965fd
Added MountDevice/UnmountDevice pass-through to NodeStageVolume/NodeUnstageVolume for CSI Volume Plugin. Added related unit tests. Vendored CSI Spec to HEAD
2018-02-26 14:50:32 -08:00
Serguei Bezverkhi
c8956fa93c
CSI code changes
2018-02-24 16:30:17 -05:00
Serguei Bezverkhi
a6ca466859
k8s csi code change
2018-02-23 16:50:43 -05:00
Serguei Bezverkhi
348a02395d
Fixing CSI E2E test
2018-02-17 18:13:06 -05:00
Luis Pabón
4abcb12296
csi: Update version comparison model
...
If our supported version is still at 0.X.X, then check
also the minor number. If our supported version is >= 1.X.X
then check only the major number.
Closes #58813
2018-01-26 12:51:10 -05:00
zhangxiaoyu-zidif
0209ce9137
fix csi attach ut print
2018-01-08 12:03:55 +08:00
Vladimir Vivien
23d59cbe54
CSI - Multiple bug fixes for NodeProbe, vol data file, mount dir create
...
- NodeProbe rpc before node attach
- Teardown fix using volume info data file stored on node
- Pre-create the mount prior to calling nodepublish
2017-12-08 15:24:28 -05:00
Vladimir Vivien
fa519069d9
CSI - Extract volume attributes from PV annotations"
...
csi - code review fixes
2017-12-03 18:10:09 -05:00
Vladimir Vivien
dd08d1b489
CSI - API source code implementation
...
This commit tracks source code update for the CSI volume plugin implementation.
2017-11-21 20:20:58 -05:00