Commit Graph

2465 Commits

Author SHA1 Message Date
Hemant Kumar
4d481a0f29 Fix flake associated with time out volumes
This test is suspectible to flakes because sometimes
while we verify if volume is attached to a node, reconciler
loop can turn second time and it can confirm the volume as attached.
2019-05-23 13:33:37 -04:00
Kubernetes Prow Robot
b533613233 Merge pull request #77851 from andyzhangx/azuredisk-max-count
remove vmsizelist call in azure disk GetVolumeLimits
2019-05-23 03:28:26 -07:00
Kubernetes Prow Robot
d5876954e1 Merge pull request #76178 from humblec/endpoint
Create endpoint/service early to avoid unwanted create/delete volume transaction.
2019-05-22 09:58:09 -07:00
Hemant Kumar
0ab6bdfa36 Wait for waitforattach goroutine before exiting
This test suite fails in weird ways without waiting for the
goroutine
2019-05-21 09:57:47 -04:00
andyzhangx
b962361536 remove vmsizelist call in azure disk
add one comment

add comments

use a new way to generate vm size list
2019-05-18 03:41:34 +00:00
Kubernetes Prow Robot
fad34e404e Merge pull request #76188 from humblec/csi-in-m
csi: Implement NodeServiceCapability_RPC_GET_VOLUME_STATS rpc call
2019-05-17 20:26:09 -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
Kubernetes Prow Robot
da4d6f5829 Merge pull request #77883 from gnufied/mat-expand-workqueue
Use workqueues for volume expansion
2019-05-17 02:04:18 -07:00
Hemant Kumar
4886e8782c name the queue properly and use lower case for error message 2019-05-16 21:34:57 -04:00
Hemant Kumar
673773cbde check for pvc objects 2019-05-16 12:23:52 -04:00
Kubernetes Prow Robot
6a9ecf71fd Merge pull request #77912 from andyzhangx/fix-azuredisk-lun-error
Fix incorrect azuredisk lun error
2019-05-16 08:48:54 -07:00
andyzhangx
4213f4d797 fix azure disk lun error 2019-05-15 08:32:03 +00:00
Matthew Wong
c16a555654 Use workqueue model in expand controller
Add a test for patch creation
2019-05-14 16:42:06 -04:00
Mike Crute
7d62316f8f Migrate fake cloud provider to staging 2019-05-14 13:32:18 -07:00
Humble Chirammal
e47a7897ea Fail early if driver cant get kubeclient
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-14 10:29:59 +05:30
Ted Yu
2001feead2 Move the array of plugin names to inside the last if block in VolumePluginMgr#FindPluginBySpec 2019-05-14 05:48:24 +08:00
Kubernetes Prow Robot
ed239cefa6 Merge pull request #77483 from andyzhangx/azuredisk-waitforattach
remove VM API call dependency in azure disk WaitForAttach
2019-05-08 23:07:01 -07:00
Kubernetes Prow Robot
c2966f7c29 Merge pull request #77537 from cwdsuzhou/use_key_in_lugins
Use key in probedPlugin
2019-05-08 20:13:01 -07:00
Andrew Kim
c919139245 update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
291f2f863a Merge pull request #77415 from Fedosin/allow_define_kubeconfig
Allow to define kubeconfig file for OpenStack cloud provider
2019-05-07 23:38:32 -07:00
Kubernetes Prow Robot
7aa57df279 Merge pull request #77374 from cheftako/gce-staging
Staging the GCE Cloud Provider
2019-05-07 17:52:32 -07:00
Kubernetes Prow Robot
2a7eaa30da Merge pull request #77385 from humblec/gluster-error
Avoid duplicate error reporting in glusterfs
2019-05-07 14:31:28 -07:00
Walter Fender
796097ae40 Staging the GCE Cloud Provider
**What type of PR is this?**
/kind cleanup

**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.

**Which issue(s) this PR fixes**:
Fixes #

**Special notes for your reviewer**:

**Does this PR introduce a user-facing change?**:

```
NONE
```

Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Kubernetes Prow Robot
e332051416 Merge pull request #77433 from cwdsuzhou/common_func_for_ad
Add common func for NewAttacher and NewDetacher
2019-05-07 09:51:56 -07:00
Kubernetes Prow Robot
2e6f58ddf8 Merge pull request #77431 from cwdsuzhou/Add_detacher_assert_check
Add detacher assertion for csiAttacher
2019-05-07 09:51:44 -07:00
caiweidong
cf1eeed30c Use key in probedPlugin 2019-05-07 18:43:26 +08:00
andyzhangx
9a8f07dd9f remove VM API call dep in azure disk WaitForAttach
add comment

add unit test for WaitForAttach fnc

add unit test for WaitForAttach Func
2019-05-07 06:21:44 +00:00
Kubernetes Prow Robot
a8787dac30 Merge pull request #76927 from mrkm4ntr/unnecessary-goroutine
Do not generate unnecessary goroutines
2019-05-06 21:31:53 -07:00
Kubernetes Prow Robot
56ceba5e30 Merge pull request #77352 from mcrute/move-aws-provider
Staging legacy AWS cloud provider
2019-05-06 15:30:19 -07:00
Kubernetes Prow Robot
e0d39be7b5 Merge pull request #76785 from dims/typo-extra-space-in-fatalf-format-string
typo - extra space - in Fatalf format string
2019-05-06 14:01:39 -07:00
Mike Crute
6f5cf1a6e0 Staging legacy AWS cloud provider 2019-05-06 09:34:13 -07:00
danielqsj
bdd5c15dee refer to constant to guarantee constant behavior 2019-05-05 11:17:42 +08:00
Mike Fedosin
bac2291141 Allow to define kubeconfig file for OpenStack cloud provider
Now, to build a kubernetes client, provider uses only in-cluster config,
but if kubelet is not running as a pod, then it doesn't work.

This commit adds an ability to specify a path to the kubeconfig file if
necessary. If no value was provided, then the provider falls back to
in-cluster config.
2019-05-05 00:31:14 +02:00
caiweidong
62fe5fe7b8 add common func for NewAttacher and NewDetacher 2019-05-04 11:08:28 +08:00
caiweidong
5d89ab26e9 Add detacher assert for csiAttacher 2019-05-04 10:43:46 +08:00
Jordan Liggitt
63ddfc1db9 Lock GCERegionalPersistentDisk feature on 2019-05-03 14:21:34 -04:00
Humble Chirammal
427df38c6b Avoid duplicate error reporting in glusterfs
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-03 13:42:36 +05:30
Kubernetes Prow Robot
ca21efd1c5 Merge pull request #76983 from humblec/rotate
Shuffle addresslist for random mount server and cleanup error messages.
2019-05-03 01:02:47 -07:00
Humble Chirammal
745f12837f Rename createEndpointService() to createOrGetEndpointService()
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-02 21:06:54 +05:30
Kubernetes Prow Robot
b07f311322 Merge pull request #76882 from SataQiu/fix-golint-controller-20190422
Fix golint failures of pkg/controller/certificates/approver, etc
2019-05-02 03:16:18 -07:00
Kubernetes Prow Robot
9e52832c52 Merge pull request #77317 from gnufied/fix-block-volume-resizing
Fix block volume expansion
2019-05-01 20:42:56 -07:00
SataQiu
d76f1a8fd6 fix golint failures of pkg/volume/util/recyclerclient 2019-05-02 10:27:56 +08:00
Kubernetes Prow Robot
b5c34d0c43 Merge pull request #74734 from codenrhoden/move-mountspath
Move MountsInGlobalPDPath from mount pkg to volume
2019-05-01 17:28:18 -07:00
Hemant Kumar
0eb68c5a22 Fix blockvolume expansion 2019-05-01 18:25:54 -04:00
Kubernetes Prow Robot
2b561456ce Merge pull request #77101 from davidz627/feature/migrationTest
Add testing infra for checking whether an in-tree plugin is using backend that is shimmed to CSI
2019-05-01 14:32:30 -07:00
David Zhu
1271237d23 Add migration metrics checking to all test suites 2019-05-01 11:24:03 -07:00
Humble Chirammal
a3c1a6da02 Error message corrections
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-01 13:36:52 +05:30
Kubernetes Prow Robot
9466118e8f Merge pull request #77229 from tedyu/csi-node-expansion
Return early when node expansion is determined
2019-04-30 17:31:25 -07:00
Kubernetes Prow Robot
55a052481d Merge pull request #76944 from SataQiu/fix-golint-volume-20190423
Fix golint failures of pkg/volume/nfs
2019-04-30 17:31:12 -07:00
Kubernetes Prow Robot
a69702e83a Merge pull request #76755 from ping035627/k8s-190418
delete some unused code for awsebs
2019-04-30 07:05:39 -07:00