Jing Xu
9926815246
Update the dynamic volume limit in GCE PD
...
Currently GCE PD support 128 maximum disks attached to a node for all
machines types except shared-core. This PR updates the limit number to
date.
Change-Id: Id9dfdbd24763b6b4138935842c246b1803838b78
2019-04-25 11:08:19 -07:00
Kubernetes Prow Robot
88992ba185
Merge pull request #75986 from mucahitkurt/improvement/reduce-event-spam-for-GenerateAttachVolumeFunc
...
Reduce event spam for function GenerateAttachVolumeFunc
2019-04-24 18:12:44 -07:00
Kubernetes Prow Robot
e4a57b77ec
Merge pull request #76719 from bertinatto/fix_vsphere_size
...
Fix Vsphere rouding up of volume size
2019-04-24 16:50:46 -07:00
Kubernetes Prow Robot
2e96bf597e
Merge pull request #76988 from andyzhangx/azurefile-create
...
specify azure file share name in azure file plugin
2019-04-24 14:21:09 -07:00
Kubernetes Prow Robot
e53118df1b
Merge pull request #76945 from SataQiu/fix-golint-volume-2019042302
...
Fix golint failures of pkg/volume/portworx
2019-04-24 14:20:58 -07:00
Mucahit Kurt
1c1da755dc
reduce event spam for function GenerateAttachVolumeFunc
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-04-24 23:45:28 +03:00
andyzhangx
ad9d033e50
add shareName param in azure file storage class
...
skip create azure file if it exists
2019-04-24 05:48:58 +00:00
Humble Chirammal
f30b14a408
Shuffle addresslist for random mount server and cleanup error messages.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2019-04-24 09:08:15 +05:30
Andrew Sy Kim
a58942625d
staging the vsphere cloud provider under k8s.io/legacy-cloud-providers/vsphere
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-23 22:17:59 -05:00
SataQiu
a37adceadf
fix golint failures of pkg/volume/portworx
2019-04-23 23:26:41 +08:00
SataQiu
d6d329b0eb
fix golint failures of pkg/volume/nfs
2019-04-23 22:25:46 +08:00
Shintaro Murakami
f8e81337da
Do not generate unnecessary goroutine
2019-04-23 16:22:14 +09:00
Kubernetes Prow Robot
b9606bef8d
Merge pull request #76860 from SataQiu/fix-golint-volume-20190420
...
Fix golint failures of pkg/volume/local
2019-04-22 20:44:07 -07:00
Pengfei Ni
c27ff9a11e
Upgrade compute API to version 2019-03-01
2019-04-21 18:12:29 +08:00
SataQiu
1f40880615
fix golint failures of pkg/volume/local
2019-04-20 18:18:25 +08:00
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
...
Remove unused code
2019-04-19 11:09:55 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Kubernetes Prow Robot
64a0441c2b
Merge pull request #76573 from andyzhangx/disk-backoff-refactor
...
fix detach azure disk back off issue which has too big lock in failure retry condition
2019-04-18 23:39:54 -07:00
Kubernetes Prow Robot
10fc2a11a0
Merge pull request #76089 from vladimirvivien/csi-device-mount-skip
...
CSI - Skips deviceMounter.MountDevice for ephemeral volumes
2019-04-18 19:36:09 -07:00
Kubernetes Prow Robot
fc545587e4
Merge pull request #76540 from ialidzhikov/glusterfs-uneffectual-assignment
...
Remove ineffectual assignment
2019-04-18 17:17:55 -07:00
Vladimir Vivien
d564d2e74d
CSI - Prevents unsupported device mount with CanMountDevice(spec) check
2019-04-18 19:54:28 -04:00
Davanum Srinivas
22ffdc6063
typo - extra space - in Fatalf format string
...
Change-Id: Ifeff0ee29aa6ccdc4c3ebdd2a071cebfafaf937e
2019-04-18 14:42:21 -04:00
PingWang
64c84aa610
delete some unused code for awsebs
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-04-18 16:51:29 +08:00
Kubernetes Prow Robot
7e02769736
Merge pull request #75926 from cwdsuzhou/operation_generator_add_attach_detach
...
Add operation name for other volume operations
2019-04-18 00:26:08 -07:00
Kubernetes Prow Robot
32a49828fe
Merge pull request #76456 from codenrhoden/mv-exec-mounter
...
Move ExecMount to pkg/volume/util/exec
2019-04-17 12:16:20 -07:00
Fabio Bertinatto
c2fc91adc7
Fix rounding-up of Vsphere volume size
2019-04-17 14:56:39 +02:00
andyzhangx
6c70ca61be
move disk lock process to azure cloud provider
...
fix comments
fix import keymux check error
add unit test for attach/detach disk funcs
2019-04-16 05:31:18 +00:00
Kubernetes Prow Robot
d424bedc9b
Merge pull request #76341 from harsh-px/fix-concurrent-access-master
...
Fix concurrent map write access in Portworx create volume call
2019-04-15 11:46:24 -07:00
ialidzhikov
98c976ae4f
Clean ineffectual assignment
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-04-13 16:23:07 +03:00
andyzhangx
39c239c308
refactor detach azure disk retry operation
2019-04-13 12:45:32 +00:00
Vladimir Vivien
b138e6d1e2
CSI - Surfaces klog flags; common tests aggregation
2019-04-12 15:38:06 -04:00
caiweidong
7c9e567008
add operation name for other volume operations
2019-04-12 11:09:13 +08:00
Travis Rhoden
96476fd054
Fix linting issues for exec mounter
2019-04-11 13:22:14 -06:00
Travis Rhoden
f38d4938be
Move ExecMount to pkg/volume/util/exec
...
This patch moves the ExecMounter found in pkg/util/mount to
pkg/volume/util/exec. This is done in preparation for pkg/util/mount to
move out of tree. This specific implemention of mount.Interface is only
used internally to K8s and does not need to move out of tree.
2019-04-11 12:19:55 -06:00
Kubernetes Prow Robot
a2c200a57a
Merge pull request #76326 from andyzhangx/azuredisk-typo
...
fix typo in azure disk logging
2019-04-09 19:58:12 -07:00
Harsh Desai
17dd5989df
Fix concurrent map access in Portworx create volume call
...
Fixes #76340
Signed-off-by: Harsh Desai <harsh@portworx.com>
2019-04-09 12:13:19 -07:00
Kubernetes Prow Robot
454666bca8
Merge pull request #76184 from humblec/pvc
...
Use pvc uid in endpoint/service label
2019-04-09 11:21:14 -07:00
Kubernetes Prow Robot
c62cd6e3a4
Merge pull request #76047 from codenrhoden/mv-nsenter-mount
...
Move nsenter mounter to pkg/volume/util/nsenter
2019-04-09 09:55:59 -07:00
andyzhangx
8d1578370a
fix typo in azure disk logging
2019-04-09 09:01:52 +00:00
Vladimir Vivien
cfafde983b
Volume AttachablePlugin.CanAttach() now returns both bool and error
2019-04-08 16:53:22 -04:00
Travis Rhoden
2253807760
Fix pkg/volume/util/nsenter linting errors
2019-04-08 10:43:54 -06:00
Travis Rhoden
1c045a09db
Move nsenter mounter to pkg/volume/util/nsenter
...
As part of moving pkg/util/mount out of tree, the NSEnter implementation
of mount.Interface needs to be relocated out of pkg/util/mount, as it is
K8s specific. This patch relocates that mounter implementation to
pkg/volume/util/nsenter.
Since the NSEnter mounter shares a lot of its logic with the Linux
mounter implementation, many of the previously private methods of the
Linux mounter are now made public to maintain that shared code.
Additionaly, it was observed that *all* mount.Interface implemenations
were using the same common method for IsNotMountPoint, so this patch
removes that method from the mount.Interface definition and just exports
the common implementation instead.
2019-04-08 09:53:46 -06:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
Humble Chirammal
6eae6bbac5
Use pvc uid in endpoint/service label
...
If the pvc name is more than 63 chars, the endpoint creation
will fail due to the validation of objectmeta length of fields ie 63 chars at max.
This patch introduce an enhancement where if the pvc name is >=63 the pvc uid
is recorded at label instead of name. To preserve backward compatibility, the pvcname
has been kept in endpoint metadata label if length of pvc name is <63chars.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-05 20:30:57 +05:30
Michelle Au
33bf81f22a
Improve volume operation metrics
2019-04-03 11:59:21 -07:00
Kubernetes Prow Robot
60638c71bd
Merge pull request #75481 from mucahitkurt/refactor/nodeinfomanager-tests
...
Add expectedCSINode for csiNodeEnabled test cases on nodeinfomanager tests
2019-03-29 17:33:08 -07:00
Kubernetes Prow Robot
7a478a4609
Merge pull request #75844 from vladimirvivien/volume-skip-device-mount
...
Volume DeviceMountablePlugin.CanDeviceMount check when retrieving plugins
2019-03-29 13:02:13 -07:00
Mucahit Kurt
6113cd57bc
add expectedCSINode and expectedNode for test cases to compare CSINode and Node object instead of field based comparisons
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-03-29 23:01:26 +03:00
Kubernetes Prow Robot
861f1fcb2e
Merge pull request #75799 from msau42/csi-empty-devicepath
...
return empty devicepath for csi attach
2019-03-29 06:08:13 -07:00
Kubernetes Prow Robot
b1829dff0b
Merge pull request #74844 from leakingtapan/migration-raw-block
...
Implement CSI migration logic for block volume
2019-03-28 18:12:14 -07:00
Vladimir Vivien
3777514f83
Adds DeviceMountablePlugin.CanDeviceMount check when retrieving plugins
2019-03-28 10:39:32 -04:00
Michelle Au
ab6a2530fb
return empty devicepath for csi attach
2019-03-27 17:28:21 -07:00
Cheng Pan
f7050a04ce
Implement CSI migration logic for block volume
2019-03-26 22:22:03 +00:00
Kubernetes Prow Robot
055061637a
Merge pull request #75062 from Fedosin/openstack_config_from_secrets
...
Allow to read OpenStack config from the secret
2019-03-25 09:01:20 -07:00
Kubernetes Prow Robot
8da0c4af29
Merge pull request #75213 from gnufied/allow-different-operation-names-storage
...
Allow different operation names
2019-03-20 07:41:07 -07:00
Kubernetes Prow Robot
4bd421502e
Merge pull request #75211 from wongma7/csi-attacher-test-flake
...
Fix unit test volumeattachments watch not working
2019-03-20 00:55:14 -07:00
Hemant Kumar
97ec61561a
Allow different operation names
2019-03-13 14:20:45 -04:00
Kubernetes Prow Robot
517922f31a
Merge pull request #75308 from msau42/csi-beta-e2e
...
ignore kubeclient nil in csi plugin init
2019-03-13 05:49:46 -07:00
Michelle Au
398777f261
ignore kubeclient nil in csi plugin init
2019-03-12 16:29:08 -07:00
Kubernetes Prow Robot
8477c486a8
Merge pull request #74652 from cofyc/fix72500
...
Delay CSI client initialization
2019-03-11 09:39:27 -07:00
Kubernetes Prow Robot
cd9e590178
Merge pull request #74520 from casusbelli/fix-qb-usermapping
...
Adds missing user mapping option for Quobyte mounts
2019-03-11 02:45:26 -07:00
Yecheng Fu
fa926ed6e0
Delay CSI client initialization
2019-03-09 13:45:03 +08:00
Matthew Wong
cfea406c1c
Fix unit test volumeattachments watch not working
2019-03-08 15:20:31 -05:00
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
Hemant Kumar
529cd7119b
Move resize function parameters to a new ResizeOptions type
...
This enables us to pass CSI volume phase
2019-03-08 09:21:44 -05:00
Hemant Kumar
63eb25eb4b
Introduce feature gate for volume expansion
...
Update CSI library version
2019-03-08 09:21:44 -05:00
Hemant Kumar
89d1de9eb9
Rename ExandFS to NodeExpand
...
Handle resize error in online resizing
Use NodeExpandable plugin to mark volumes that require node expansion
2019-03-08 09:21:44 -05:00
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
David Zhu
34d9ee5b9b
Add CSINode initialization for CSIMigration on node startup before pod ready
2019-03-07 14:47:38 -08:00
Mike Fedosin
cf8c193b87
Allow to read OpenStack config from the secret
...
Currently OpenStack cloud provider reads user credentials from config
file, where data is stored in clear text. This approach is not recommended,
as it is a serious security issue.
This commit add an ability to read the config from secrets, if necessary.
To do so, two new parameters are added to the config: SecretNamespace and
SecretName. If they are specified, the provider will try to read config
from the secret.
2019-03-07 19:20:54 +01:00
Kubernetes Prow Robot
8dd60281ff
Merge pull request #74653 from cofyc/fix74650-CheckVolumeExistenceOperation
...
Distinguish between volume path and mount path
2019-03-06 20:35:40 -08:00
Kubernetes Prow Robot
c80e45f892
Merge pull request #73840 from adisky/cinder-intree-migration
...
Add CSI Migration feature flags for Cinder In tree Driver
2019-03-06 14:45:16 -08:00
Kubernetes Prow Robot
b82868bb7e
Merge pull request #74787 from jianglingxia/fixbugiscsi
...
fix bug iscsi volume attach failed of /sys/class/iscsi_host dir not e…
2019-03-06 09:50:51 -08:00
Kubernetes Prow Robot
5a89793f8e
Merge pull request #74612 from jingxu97/windows
...
Add GcePD windows support
2019-03-05 21:42:22 -08:00
Kubernetes Prow Robot
d31427637b
Merge pull request #74926 from ddebroy/csiprov2
...
Add new CSI translation APIs required by CSI sidecars and unit tests
2019-03-05 14:54:21 -08:00
adisky
3090b63414
Add CSI Migration feature flags for Cinder In tree Driver
2019-03-05 06:21:36 +00:00
Deep Debroy
1fb4290c4e
Update API names and references
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 19:13:05 -08:00
root
b6e8f71fe0
fix bug iscsi volume attach failed of /sys/class/iscsi_host dir not exist
2019-03-05 10:46:47 +08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Kubernetes Prow Robot
711b310389
Merge pull request #74606 from andrewsykim/cleanup-volumeattachment
...
replace usage of v1beta1 VolumeAttachments with v1
2019-02-28 00:27:36 -08:00
Jing Xu
5e04d200ee
Add GcePD windows support
...
This PR adds the support for GCEPD volume. For now, it uses a workaround
(https://github.com/pjh/gce-tools ) to get disk number in windows for a given GCE PD name.
2019-02-27 17:00:32 -08:00
Kubernetes Prow Robot
84dce4d119
Merge pull request #74393 from codenrhoden/refactor-subpath
...
Refactor subpath out of pkg/util/mount
2019-02-27 15:54:36 -08:00
Andrew Kim
01933b02a3
replace usage of v1beta1 VolumeAttachments with v1
2019-02-27 15:42:12 -05:00
Yecheng Fu
8940976602
Distinguish volume path with mount path
2019-02-27 19:31:26 +08:00
Kubernetes Prow Robot
5c528d6e40
Merge pull request #74618 from davidz627/fix/featureGates
...
Add feature gate check for migration at beginning of useCSIPlugin check
2019-02-26 19:40:26 -08:00
Travis Rhoden
2c4d748bed
Refactor subpath out of pkg/util/mount
...
This patch moves subpath functionality out of pkg/util/mount and into a
new package pkg/volume/util/subpath. NSEnter funtionality is maintained.
2019-02-26 19:59:53 -07:00
Kubernetes Prow Robot
32333b0fc7
Merge pull request #74524 from bertinatto/iscsi_iface_exists
...
Don't fail if iface is being used by iSCSI session
2019-02-26 12:44:57 -08:00
David Zhu
b0b6fd035a
Add feature gate check for migration at beginning of useCSIPlugin check
2019-02-26 11:47:20 -08:00
Travis Rhoden
766cf26897
Move original mount files back
...
Move original mount files back into pkg/util/mount. This move is done to
preserve git history.
2019-02-26 12:18:25 -07:00
Travis Rhoden
f2438cacf5
Copy mount files to pkg/volume/util/subpath
...
Files in pkg/util/mount that contain significant code implementation for
subpaths are moved to a new package at pkg/volume/util/subpath. This
move is done in order to preserve git history.
2019-02-26 12:14:55 -07:00
Fabio Bertinatto
d60d7e905f
Don't fail if iface is being used by iSCSI session
2019-02-26 17:13:29 +01:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
Kubernetes Prow Robot
b3ca8262be
Merge pull request #74499 from andyzhangx/fix-parse-devicePath-issue
...
fix parse devicePath issue on Azure Disk
2019-02-26 00:35:47 -08:00
Kubernetes Prow Robot
6c5810c495
Merge pull request #74542 from gnufied/make-cinder-limits-via-openshift-conf
...
Allow cinder volume limits to be configurable
2019-02-25 21:48:52 -08:00
Hemant Kumar
7a46b30a7a
Allow cinder volume limits to be configurable
2019-02-25 16:09:24 -05:00
Silvan Kaiser
1fd5bd7de9
Adds missing user mapping option for Quobyte mounts
2019-02-25 12:03:34 +01:00
andyzhangx
433ebe3616
fix parse devicePath issue on Azure Disk
2019-02-25 07:02:35 +00:00
Yecheng Fu
618917e210
VolumeSpec may be nil in volume reconstruction scenario
2019-02-25 13:52:21 +08:00