Commit Graph

2589 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4ce69dd32e Merge pull request #80848 from cwdsuzhou/Aug/fix_ut
Fix some unreasonable places int csi ut
2019-08-01 03:30:14 -07:00
caiweidong
7b5dac03ce Fix some unreasonable places int csi ut 2019-08-01 14:19:11 +08:00
Kubernetes Prow Robot
3a4cda9def Merge pull request #80522 from ethan-daocloud/patch-3
cleanup: remove duplicated logging error message in csi_mounter.go, also some typos.
2019-07-31 22:36:39 -07:00
ethan
ec2c5dff43 fix some log typos in csi_mounter.go
cleanup: remove logging duplicated error message
fix error msg, include err in new returned errors.
Signed-off-by: ethan <guangming.wang@daocloud.io>
2019-08-01 02:39:32 +00:00
Kubernetes Prow Robot
fde94e931f Merge pull request #78941 from jsafrane/fix-iscsi-logout
Fix iscsi logout issues
2019-07-31 08:54:23 -07:00
Kubernetes Prow Robot
dcf1eff767 Merge pull request #80612 from AllenZMC/patch-1
fix typos in csi_attacher.go
2019-07-30 10:09:18 -07:00
Kubernetes Prow Robot
de73f62336 Merge pull request #80495 from adityadani/update_openstorage_to_v1.0.0
pkg/volume/portworx: Update vendor for libopenstorage/openstorage to v1.0.0
2019-07-26 03:23:59 -07:00
AllenZMC
8833e4072c fix typos in csi_attacher.go 2019-07-26 09:48:51 +08:00
Kubernetes Prow Robot
a3750501b0 Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
Aditya Dani
ab72c09937 Update pkg/volume/portworx OWNERs 2019-07-25 14:39:24 -07:00
Kubernetes Prow Robot
0e3b593ded Merge pull request #79851 from jparklab/master
Fix nil pointer dereference error in volume_stat_calculator
2019-07-25 14:33:58 -07:00
Patrick Ohly
555ff7ef10 CSI: allow drivers that can handle persistent and ephemeral volumes
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.

Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.

The sanity check whether a CSI driver is being used correctly still
needs to be implemented.

Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Kubernetes Prow Robot
7aa5f9727b Merge pull request #80347 from humblec/metrics
Remove unwanted string converstion in metrics errors
2019-07-25 07:35:55 -07:00
Jan Safranek
cdcd2e2821 Report error when iscsiadm fails during detach
Kubernetes should retry detaching iSCSI volumes on error. In addition, it
should not report an error when detaching a disk while the disk is already
detached.
2019-07-25 10:10:01 +02:00
Kubernetes Prow Robot
9c903376f3 Merge pull request #80091 from bertinatto/iscsi_ref_counter
Add new iSCSI refcounter
2019-07-24 13:49:52 -07:00
Kubernetes Prow Robot
030274eba3 Merge pull request #80443 from davidz627/fix/verifyMigration
Add migration shim for verifyvolumeattachment and bulk verify
2019-07-24 05:30:15 -07:00
Fabio Bertinatto
44d7510ee0 Add unit test for iSCSI refcounter 2019-07-24 14:21:36 +02:00
Fabio Bertinatto
0007c2abd4 Add new refcounter for iSCSI volumes 2019-07-24 13:40:10 +02:00
Kubernetes Prow Robot
da3daf2e8a Merge pull request #80451 from cwdsuzhou/July/fix_error_override
Fix error override when saveVolumeData occurs error
2019-07-24 02:02:15 -07:00
caiweidong
a5bf98a43e Fix error overrided when saveVolumeData occurs error 2019-07-24 10:19:22 +08:00
Kubernetes Prow Robot
60c2d44129 Merge pull request #79552 from wongma7/windows-ebs
Add support for AWS EBS on windows
2019-07-23 17:14:28 -07:00
David Zhu
290a7f12ce Add migration shim for VerifyVolumesAreAttached and BulkVolumeVerify 2019-07-23 12:57:47 -07:00
Matthew Wong
51615f691d Add support for windows to AWS EBS 2019-07-23 19:28:14 +00:00
caiweidong
45c52d1314 Fix potential panic in nodeGetVolumeStatsV1 2019-07-23 13:47:35 +08:00
caiweidong
8789143062 Fix csi attacher unit tests using t.Run() 2019-07-22 15:42:31 +08:00
Hantao (Will) Wang
7ee5861fb9 add ability for gce to bulk verify attached disks 2019-07-19 10:41:46 -07:00
Humble Chirammal
3ccaeef758 Remove unwanted string converstion in metrics errors
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-07-19 11:29:47 +05:30
Kubernetes Prow Robot
748849bbb9 Merge pull request #75805 from brahmaroutu/nfs_metrics
Adding metrics to nfs driver
2019-07-18 08:34:13 -07:00
Kubernetes Prow Robot
4b2c96c952 Merge pull request #79977 from bertinatto/fix_iscsi_cleanup
Fix iSCSI storage plugin cleanup in block volumes
2019-07-17 12:20:25 -07:00
David Zhu
831cd29f4e Add passthrough for MountOptions for NodeStageVolume for CSI 2019-07-16 16:17:47 -07:00
Fabio Bertinatto
80652c8d37 Fix iSCSI storage plugin cleanup in block volumes 2019-07-16 15:41:11 +02:00
Jeremy Xu
d8fc13791a Avoid RbdDiskManager's DetachDisk never execute again 2019-07-16 18:13:38 +08:00
Kubernetes Prow Robot
10a1d1f5bd Merge pull request #79920 from cwdsuzhou/July/block_not_support_attach
Bugfix: csi plugin supporting raw block that does not need attach mounted failed
2019-07-15 08:39:21 -07:00
caiweidong
0c628e101a Bugfix: csi raw block that does not need attach mounted failed
Add unit test

fix verify-test-featurefates failed
2019-07-15 10:34:12 +08:00
Kubernetes Prow Robot
2bf8ab13c4 Merge pull request #80048 from davidz627/fix/tests
Fixes mount/unmount paths for migrated inline volumes
2019-07-12 20:19:17 -07:00
Davanum Srinivas
7fa6fc7226 Add explicit warning for deprecation of Cinder and ScaleIO volume providers
We have had a warning for OpenStack in-tree cloud provider, Here we are
adding more fine grained WARNING for OpenStack cinder volume provider in
addition to that.

Also identified ScaleIO as something that has not had activity or
updates for a while, So we should deprecate that as well
2019-07-12 10:29:09 -04:00
Kubernetes Prow Robot
b67acd3706 Merge pull request #79415 from choury/patch-2
Use Join instead of concat it manually in cephfs.
2019-07-12 06:31:31 -07:00
Kubernetes Prow Robot
9915047d3d Merge pull request #79113 from tedyu/stop-w-detach
Close watcher early for volume detachment
2019-07-12 06:31:18 -07:00
Kubernetes Prow Robot
4423ff5fdd Merge pull request #79656 from humblec/heketi-error
If volume in delete request does not exist, return success.
2019-07-12 05:15:06 -07:00
David Zhu
2820c1d8c8 Add davidz627 (David Zhu) to Approvers for OperationExecutor and GCE PD 2019-07-11 13:14:31 -07:00
David Zhu
93d6356d2f Fixes mount/unmount paths for migrated inline volumes. Some minor fixes for GCE specific inline migrated volumes 2019-07-11 11:51:43 -07:00
Kubernetes Prow Robot
514a157adf Merge pull request #74691 from cpuguy83/epoll_use_cloexec
Use EPOLL_CLOEXEC to prevent fd leaks.
2019-07-10 21:38:55 -07:00
Kubernetes Prow Robot
8a1c9e2b41 Merge pull request #79924 from cwdsuzhou/July/projected_test_cleanup
Fix projected volume test clean up
2019-07-10 18:49:44 -07:00
Kubernetes Prow Robot
021ad88ac4 Merge pull request #79894 from odinuge/csi-client-dead-code
Remove dead code from csi_client
2019-07-10 06:20:25 -07:00
caiweidong
94a2a42412 Fix projected volume test clean up 2019-07-10 10:14:36 +08:00
Kubernetes Prow Robot
d59a603f1b Merge pull request #78267 from mucahitkurt/cleanup/operation-generator-migration-scenarios-unit-tests
unit tests for operationGenerator.GenerateUnmapVolumeFunc
2019-07-09 18:20:25 -07:00
Brian Goff
0051db89a7 Use O_CLOEXEC for volume subpath util
This prevents fd's from leaking to subprocesses.
2019-07-09 10:03:59 -07:00
Humble Chirammal
c22cc06b90 If volume in delete request does not exist, return success.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-07-09 19:43:40 +05:30
Odin Ugedal
542c335fca Remove dead code from csi_client
When removing a feature flag in
35bc5dc6b6, a few of the lines were
removed, resulting in some dead code.
2019-07-08 17:53:52 +02:00
Ji-Young Park
528521cfae Return MetricsError with ErrCodeNotSupported code
GetMetrics function expects MetricsError error
with ErrCodeNotSupported code when driver for the volume
does not support metrics
Updated csi_metrics to return error when underlying csi
driver does not have GET_VOLUME_STATS capability
2019-07-06 10:49:06 -04:00