Commit Graph

233 Commits

Author SHA1 Message Date
2888640157 update readme and correct linter errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-16 14:33:12 +05:30
2f1317ff1d Merge pull request #126 from Madhu-1/dep-vendor
use dep  ensure -vendor-only
2019-01-15 15:09:27 -05:00
07d26e6403 Merge pull request #125 from Madhu-1/update-toml
vendor cleanup
2019-01-15 15:07:47 -05:00
7b5b9772ee Merge pull request #124 from Madhu-1/fix-eff
Fix golint issues
2019-01-15 15:07:15 -05:00
b10ba188e7 vendor cleanup: remove unused,non-go and test files 2019-01-16 00:19:28 +05:30
227dec63e0 Fix golint issues 2019-01-16 00:17:01 +05:30
dda983e6bb use dep ensure -vendor-only 2019-01-16 00:09:21 +05:30
52cf4aa902 Merge pull request #121 from rootfs/dev
fix cache persistent default for cephfs
2019-01-09 16:35:31 +01:00
0459c94f1a fix cache persistent default for cephfs
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-09 15:31:41 +00:00
c029072ef0 Merge pull request #120 from rootfs/dev
fix cache persistent default
2019-01-09 10:18:49 -05:00
a0600d2cc7 fix cache persistent default
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-09 15:12:04 +00:00
87dd3622fb Merge pull request #118 from mickymiek/add-snapshotter-yamls
Added snapshotter deployments files + instuctions to deploy
2019-01-09 09:39:11 -05:00
7a063beb51 add hyperlink to snapshotter yamls 2019-01-09 15:06:24 +01:00
1a6ee717b6 added snapshotter yamls, doc 2019-01-09 12:34:18 +01:00
3170ec455c Merge pull request #110 from pohly/block-volume-mode-check
rbd: refuse to create block volumes
2019-01-09 08:49:20 +01:00
a099834763 Merge pull request #116 from mickymiek/rbac-cm-issue
fix rbac rules for configmaps
2019-01-08 12:14:34 -05:00
60ea2b29c3 fix rbac rules for configmaps 2019-01-08 18:07:47 +01:00
2ed11269b0 Merge pull request #114 from plnordquist/rbd-chart-docs
Added docs for deploying rbd driver with Helm
2019-01-07 13:57:05 -05:00
36c51007ac Added docs for deploying rbd driver with Helm
Signed-off-by: Peter Nordquist <peter.nordquist@pnnl.gov>
2019-01-07 08:27:01 -08:00
101b15e4be Merge pull request #113 from mickymiek/metadata-cm
Collect metadata in k8s cm
2019-01-07 10:20:38 -05:00
a0f923fca7 make k8s_configmap default metadatastorage for k8s deployments 2019-01-07 15:21:35 +01:00
f2fa6907a8 add POD_NAMESPACE doc 2018-12-20 10:45:42 +01:00
95f35c7602 remove useless comment 2018-12-19 15:42:51 +01:00
65a50f2b4a edit cephfs docs 2018-12-19 15:38:18 +01:00
51485ffac3 gofmt 2018-12-19 15:33:37 +01:00
1497bfee00 modified cephfs deployment 2018-12-19 15:31:26 +01:00
8ee6bc4b91 added vendors 2018-12-19 15:29:25 +01:00
12e6881669 cm metadata persist for rbd and cephfs 2018-12-19 15:26:16 +01:00
0f9c9061ce rbd: refuse to create block volumes
Without this check, the driver fails one of the E2E storage tests in
Kubernetes 1.13: provisioning a block volume is expected to fail in
e689d515f7/test/e2e/storage/testsuites/volumemode.go (L329-L330)
2018-12-13 10:53:16 +01:00
27fa8a28b8 Merge pull request #108 from plnordquist/rbd-chart
Added Helm chart for RBD plugin
2018-12-12 07:30:12 -08:00
ccf5f49ae6 Changed version to 0.1 2018-12-11 11:03:45 -08:00
0d0b224f69 Added Helm chart for RBD plugin
Signed-off-by: Peter Nordquist <peter.nordquist@pnnl.gov>
2018-12-10 11:25:34 -08:00
9a7ef258fc Merge pull request #103 from gman0/cephfs-zeroquota
cephfs: don't set quotas for zero-sized volumes
2018-12-03 09:16:03 -05:00
ed811e0506 cephfs: don't set quotas for zero-sized volumes 2018-12-01 10:39:09 +01:00
088cfc5538 Merge pull request #100 from rootfs/base-image
switch to centos base image
2018-11-20 09:49:30 -05:00
b2459574ee switch to centos base image 2018-11-20 14:46:29 +00:00
47a7b1ff8e Merge pull request #92 from pohly/concurrency
rbd: protect against concurrent gRPC calls
2018-10-26 10:05:23 -04:00
720ad4afeb rbd: protect against concurrent gRPC calls
The timeout value in external-provisioner is fairly low. It's not
uncommon that it times out and retries before the rbdplugin is done
with CreateVolume. rbdplugin has to serialize calls and ensure that
they are idempotent to deal with this.
2018-10-26 15:29:48 +02:00
188cdd1d68 Merge pull request #89 from rootfs/containerized
support nsmounter when running in containerized mode
2018-10-15 20:25:40 -04:00
b93418815f Merge pull request #90 from rootfs/master
fix golint
2018-10-15 11:08:39 -04:00
eda167ca0d fix golint
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-10-15 15:06:21 +00:00
3436a094f7 support nsmounter when running in containerized mode
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-10-15 14:59:41 +00:00
de114550d9 Merge pull request #88 from Cynerva/gkk/rbd-xfs
csi-rbdplugin: Install xfsprogs to support fsType: xfs
2018-10-12 13:22:38 -04:00
b43108f35b csi-rbdplugin: Install xfsprogs to support fsType: xfs 2018-10-12 11:35:34 -05:00
e761d69ce8 Merge pull request #84 from pohly/delete-idempotency
rbdplugin: idempotent DeleteVolume
2018-10-09 11:04:45 -04:00
25e3a961c3 rbdplugin: idempotent DeleteVolume
When the initial DeleteVolume times out (as it does on slow clusters
due to the low 10 second limit), the external-provisioner calls it
again. The CSI standard requires the second call to succeed if the
volume has been deleted in the meantime. This didn't work because
DeleteVolume returned an error when failing to find the volume info
file:

  rbdplugin: E1008 08:05:35.631783       1 utils.go:100] GRPC error: rbd: open err /var/lib/kubelet/plugins/csi-rbdplugin/controller/csi-rbd-622a252c-cad0-11e8-9112-deadbeef0101.json/open /var/lib/kubelet/plugins/csi-rbdplugin/controller/csi-rbd-622a252c-cad0-11e8-9112-deadbeef0101.json: no such file or directory

The fix is to treat a missing volume info file as "volume already
deleted" and return success. To detect this, the original os error
must be wrapped, otherwise the caller of loadVolInfo cannot determine
the root cause.

Note that further work may be needed to make the driver really
resilient, for example there are probably concurrency issues.
But for now this fixes: #82
2018-10-09 12:08:56 +02:00
239f295dd1 Merge pull request #79 from rootfs/rbd-nbd
allow monitors be embedded in credential secret
2018-09-24 08:58:09 -04:00
d5b7543565 allow monitors be embedded in credential secret
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-09-21 14:43:01 +00:00
2982fbd79f Merge pull request #78 from nak3/typo
Fix misspelling of "successfully"
2018-09-21 16:18:24 +02:00
c1e072de0b Fix misspelling of "successfully" 2018-09-21 23:08:23 +09:00