Kubernetes Prow Robot
2b4be7bb5f
Merge pull request #88759 from andyzhangx/csi-dir-fix
...
feat: ignore mount dir check in csi node stage/publish
2020-11-09 16:08:40 -08:00
Jan Safranek
9a765f8c2d
Restore staging path creation
...
CSI says about NodeStage (=MountDevice):
// The CO SHALL ensure [...]
// that the path is directory and that the process serving the
// request has `read` and `write` permission to that directory. The
// CO SHALL be responsible for creating the directory if it does not
// exist.
2020-11-09 19:22:29 +01:00
Jayasekhar Konduru
2a89577659
CSI: Modify VolumeAttachment check to use Informer/Cache
...
Change-Id: Ie70c8b6657c67eefbf13042f36d56ca84a2e42bb
2020-06-11 10:34:09 -07:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
andyzhangx
8d5c65b8cd
fix: comments(only create parent dir)
2020-04-21 07:15:02 +00:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
andyzhangx
b3a27c44bf
fix comments
2020-03-04 11:33:06 +00:00
andyzhangx
0c81a2f6b0
fix: ignore dir check in csi node stage/publish
2020-03-03 11:55:48 +00:00
andyzhangx
5a6435ad76
fix: corrupted mount point in csi driver
...
add test
fix build failure and bazel
fix golint
2020-02-26 09:43:51 +00:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
danielqsj
5bc0e26c19
unify alias of api errors under pkg and staging
2019-12-26 16:42:28 +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
0741f6fa29
Ensure that metadata directory is not created if secret is not found
...
To ensure that metadata directory is not created if secret is not
found, we will move fetching secrets bit more earlier in the code.
2019-12-02 12:09:38 -05:00
Hemant Kumar
db9ac38592
Change signature of MountDevice function and remove MountDeviceWithStatusTracking
2019-12-02 12:09:38 -05:00
Hemant Kumar
57019e0628
Add tests for verifying in-progress state
2019-12-02 12:09:38 -05:00
Hemant Kumar
321e99367a
Add code to handle Setup With Status tracking
2019-12-02 12:09:38 -05:00
Hemant Kumar
dc9e64c31e
Implement return status codes
2019-12-02 12:02:27 -05:00
Hemant Kumar
34a6007dfe
Add code to mark volume as uncertain
...
Update bazel files
Add tests for volume mounts in uncertain state
2019-12-02 12:01:40 -05:00
Chris Duchesne
b4e0f1b8f8
modify detach timeout to be csiTimeout
2019-10-24 07:53:16 -07:00
caiweidong
a890bf1175
Merge attach and detach common func
2019-09-30 17:36:14 +08:00
Kubernetes Prow Robot
494d4cb841
Merge pull request #79005 from cwdsuzhou/June/remove_recursion_detach
...
Remove recursion in waitForVolumeDetachmentInternal
2019-09-10 14:29:01 -07:00
caiweidong
28dc53f727
Remove recursion in waitForVolumeDetachmentInternal
2019-08-28 11:18:23 +08:00
Madhu Rajanna
ec5ff52b88
Fix logging message during unmounting
...
use errors.New() if formatting is not required
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-12 09:18:35 +05:30
Kubernetes Prow Robot
1bc3d1abde
Merge pull request #80866 from ethan-daocloud/dev-ethan-csi-log
...
cleanup: remove package csi duplicated error log
2019-08-05 18:18:19 -07:00
ethan
d26e352fe7
cleanup: remove package csi duplicated error log
...
return err directly in func; delete new line in error message
cleanup: use errors.New(log()) to uniform error message
2019-08-05 20:35:28 +08:00
Kubernetes Prow Robot
9f6ebf0feb
Merge pull request #79144 from tedyu/csi-x-recur
...
Remove recursion in csiAttacher#waitForVolumeAttachmentInternal
2019-08-03 00:05:51 -07:00
AllenZMC
8833e4072c
fix typos in csi_attacher.go
2019-07-26 09:48:51 +08:00
Ted Yu
f4fbfcb46a
Remove recursion in csiAttacher#waitForVolumeAttachmentInternal
2019-07-23 14:29:24 -07:00
David Zhu
831cd29f4e
Add passthrough for MountOptions for NodeStageVolume for CSI
2019-07-16 16:17:47 -07:00
Ted Yu
005065f8fc
Close watcher early for volume detachment
2019-06-17 15:09:43 -07:00
Kubernetes Prow Robot
e46b9ca656
Merge pull request #78754 from cwdsuzhou/June/csi_attach_close_chan
...
Avoid to keep the watcher open for too long
2019-06-17 04:36:37 -07:00
Ted Yu
de92897e26
Check correct error for cleanup
2019-06-09 21:29:28 -07:00
caiweidong
0508bea9b6
Fix keep the watcher open for too long
2019-06-07 21:40:50 +08:00
Deep Debroy
de7be9d613
Populate InlineVolumeSpec in CSI attacher and translation library
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:35:22 +00:00
caiweidong
5d89ab26e9
Add detacher assert for csiAttacher
2019-05-04 10:43:46 +08:00
Travis Rhoden
78d109e201
Always use filepath.Join instead of path.Join
...
This patch cleans up pkg/util/mount/* and pkg/util/volume/* to always
use filepath.Join instead of path.Join. filepath.Join is preferred
because path.Join can have issues on Windows.
2019-04-29 09:56:05 -06:00
Michelle Au
ab6a2530fb
return empty devicepath for csi attach
2019-03-27 17:28:21 -07:00
Vladimir Vivien
923ad369c8
CSI Inline Volume - Kubelet/Driver code impl
2019-03-08 12:40:09 -05:00
Andrew Kim
01933b02a3
replace usage of v1beta1 VolumeAttachments with v1
2019-02-27 15:42:12 -05:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
Vladimir Vivien
0a653b3b80
Adds method CanAttach() to check plugin attachability
2019-02-08 08:04:15 -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
Michelle Au
974d47ecf8
Remove devicePath dependency for CSI volumes
2018-11-16 15:40:35 -08:00
saad-ali
09d3dce38a
Update CSI client to pick up CSI v1.0.0 changes
2018-11-15 16:39:59 -08:00
Michelle Au
498cd61f41
Add volumeattachment status subresource
2018-11-14 14:01:16 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
mlmhl
2ff6b7e0d8
extract volume attachment status checking operation as a common function when attaching a CSI volume
2018-09-21 19:49:31 +08:00
Jan Safranek
c6c74d6846
Skip attach for non-attachable CSI volumes
2018-09-05 10:15:43 -04:00