Commit Graph

3479 Commits

Author SHA1 Message Date
Huamin Chen
27fa8a28b8
Merge pull request #108 from plnordquist/rbd-chart
Added Helm chart for RBD plugin
2018-12-12 07:30:12 -08:00
Peter Nordquist
ccf5f49ae6 Changed version to 0.1 2018-12-11 11:03:45 -08:00
Peter Nordquist
0d0b224f69 Added Helm chart for RBD plugin
Signed-off-by: Peter Nordquist <peter.nordquist@pnnl.gov>
2018-12-10 11:25:34 -08:00
Huamin Chen
d0715f7c3d
Merge pull request #107 from mcronce/csi-1.0-ci
More CI fixes for csi-v1.0
2018-12-10 11:13:01 -05:00
Mike Cronce
b20f4184ba deploy.sh: Exit if branch is not on whitelist 2018-12-10 11:06:08 -05:00
Mike Cronce
78750b2dd5 .travis.yml: Run deploy.sh on all branches 2018-12-10 11:05:25 -05:00
Huamin Chen
0316ebecbe
Merge pull request #106 from mcronce/csi-1.0-ci
CI for csi-v1.0 branch
2018-12-10 10:28:00 -05:00
Mike Cronce
5cfa6685b0 deploy.sh: Select image versions based on $TRAVIS_BRANCH; push images for both master and csi-v1.0 2018-12-10 09:25:17 -05:00
Mike Cronce
656a1ce902 .travis.yml: Also build csi-v1.0 branch 2018-12-10 09:24:04 -05:00
Huamin Chen
3fd0557550
Merge pull request #105 from mcronce/csi-v1.0.0
[WIP] Updated to CSI v1.0.0
2018-12-05 19:14:11 -05:00
Mike Cronce
2c3961b960 pkg/rbd/rbd.go: Fix "go vet" errors 2018-12-04 21:54:00 -05:00
Mike Cronce
23a4126aed pkg/rbd/controllerserver.go: gofmt 2018-12-04 21:44:04 -05:00
Mike Cronce
d9fbdeb517 pkg/cephfs: Use request name to generate deterministic volume names 2018-12-04 21:39:00 -05:00
Mike Cronce
04872e5ebf Merge branch 'master' of github.com:ceph/ceph-csi into csi-v1.0.0 2018-12-04 16:28:37 -05:00
Mike Cronce
d5c6f889c5 deploy/rbd/kubernetes: Use CSI 1.x plugin directory 2018-12-04 15:38:16 -05:00
Mike Cronce
82b7904542 deploy/cephfs/kubernetes: Use CSI 1.x plugin directory 2018-12-04 15:38:10 -05:00
Mike Cronce
22e23640a4 pkg/rbd/rbd.go: Updated PluginFolder to use new CSI 1.x directory 2018-12-04 15:38:09 -05:00
Mike Cronce
37caeb5b2c pkg/cephfs/driver.go: Updated PluginFolder to use new CSI 1.x directory 2018-12-04 15:38:09 -05:00
Huamin Chen
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
gman
ed811e0506 cephfs: don't set quotas for zero-sized volumes 2018-12-01 10:39:09 +01:00
Mike Cronce
560f917a78 README.md: Updated version to 1.0.0 2018-11-29 13:16:37 -05:00
Mike Cronce
c552b24c49 deploy/rbd: Updated all image tags from v0.3.0 to v1.0.0 2018-11-29 13:16:25 -05:00
Mike Cronce
d46dc33611 deploy/cephfs: Updated all image tags from v0.3.0 to v1.0.0 2018-11-29 13:16:19 -05:00
Mike Cronce
af3083f717 pkg: Updated "version" variables from 0.3.0 to 1.0.0 2018-11-29 13:15:52 -05:00
Mike Cronce
c8d835e512 Makefile: Change image tags from v0.3.0 to v1.0.0 to reflect new CSI version 2018-11-29 13:07:47 -05:00
Mike Cronce
407478ab9a Fresh dep ensure 2018-11-26 13:23:56 -05:00
Mike Cronce
93cb8a04d7 pkg/rbd: Updated for new versions of CSI/Kubernetes dependencies 2018-11-24 14:18:24 -05:00
Mike Cronce
41b30eb6c2 pkg/cephfs: Updated for new versions of CSI/Kubernetes dependencies 2018-11-24 13:48:36 -05:00
Mike Cronce
6d33fda68e Gopkg.toml: Updated Kubernetes dependencies to 1.13.0 2018-11-24 12:59:38 -05:00
Mike Cronce
32d33a4b88 Gopkg.toml: Updated container-storage-interface/spec version to v1.0.0 2018-11-23 15:22:17 -05:00
Huamin Chen
088cfc5538
Merge pull request #100 from rootfs/base-image
switch to centos base image
2018-11-20 09:49:30 -05:00
Huamin Chen
b2459574ee switch to centos base image 2018-11-20 14:46:29 +00:00
Huamin Chen
47a7b1ff8e
Merge pull request #92 from pohly/concurrency
rbd: protect against concurrent gRPC calls
2018-10-26 10:05:23 -04:00
Patrick Ohly
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
Huamin Chen
188cdd1d68
Merge pull request #89 from rootfs/containerized
support nsmounter when running in containerized mode
2018-10-15 20:25:40 -04:00
Huamin Chen
b93418815f
Merge pull request #90 from rootfs/master
fix golint
2018-10-15 11:08:39 -04:00
Huamin Chen
eda167ca0d fix golint
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-10-15 15:06:21 +00:00
Huamin Chen
3436a094f7 support nsmounter when running in containerized mode
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-10-15 14:59:41 +00:00
Huamin Chen
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
George Kraft
b43108f35b csi-rbdplugin: Install xfsprogs to support fsType: xfs 2018-10-12 11:35:34 -05:00
Huamin Chen
e761d69ce8
Merge pull request #84 from pohly/delete-idempotency
rbdplugin: idempotent DeleteVolume
2018-10-09 11:04:45 -04:00
Patrick Ohly
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
Huamin Chen
239f295dd1
Merge pull request #79 from rootfs/rbd-nbd
allow monitors be embedded in credential secret
2018-09-24 08:58:09 -04:00
Huamin Chen
d5b7543565 allow monitors be embedded in credential secret
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-09-21 14:43:01 +00:00
Róbert Vašek
2982fbd79f
Merge pull request #78 from nak3/typo
Fix misspelling of "successfully"
2018-09-21 16:18:24 +02:00
Kenjiro Nakayama
c1e072de0b Fix misspelling of "successfully" 2018-09-21 23:08:23 +09:00
Huamin Chen
6e61a8449b
Merge pull request #77 from rootfs/rbd-nbd
set dns policy in csi plugin so storage class can use mons' FQDN
2018-09-19 11:18:39 -04:00
Huamin Chen
4453cfce5b set dns policy in csi plugin so storage class can use mons' FQDN
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-09-19 14:39:43 +00:00
Huamin Chen
bbf1d1c5b0
Merge pull request #76 from rootfs/rbd-nbd
allow image registry override
2018-09-19 10:37:27 -04:00
Huamin Chen
0883596574 allow image registry override
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-09-19 14:21:21 +00:00