Commit Graph

4125 Commits

Author SHA1 Message Date
8955eb03bc support rbd-nbd
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-09-17 18:12:22 +00:00
c2b69d30e0 Merge pull request #74 from mkimuram/pluginwatcher
Add configurations to handle kubelet-plugin-watcher to sample yaml files
2018-09-11 07:59:02 -04:00
02fdf238b0 Add configurations to handle kubelet-plugin-watcher to sample yaml files
Fixes: #73
2018-09-10 19:16:17 +00:00
06e6fed9ec Merge pull request #71 from gman0/cephfs-ceph-user
csi-cephfs now creates/deletes dedicated ceph user in CreateVolume/DeleteVolume
2018-09-04 09:35:06 -04:00
3c11129149 cephfs: ceph user is created in CreateVolume and deleted in DeleteVolume 2018-08-28 10:21:11 +02:00
9c3389d784 cephfs/util: log execCommandJson; cache mount.New() instance 2018-08-28 10:19:28 +02:00
12958d0a9a cephfs/cephuser: fixed getCephUser
output from `ceph auth -f json get` contains non-JSON data in the beginning
workaround for this is searching for the start of valid JSON data (starts with "[{")
and start reading from there
2018-08-28 10:13:53 +02:00
d09ce2d003 Merge pull request #69 from gman0/cephfs-probe
cephfs: volumemounter probe
2018-08-14 10:59:14 -04:00
6ddf98addf cephfs: cache available volume mounters 2018-08-14 16:48:30 +02:00
c515a013d3 cephfs: volumemounter probe
The driver will now probe for either ceph fuse/kernel every time
it's about to mount a cephfs volume.

This also affects CreateVolume/DeleteVolume where the mounting
was hard-coded to ceph kernel client till now - mounter configuration
and probing are now honored.
2018-08-14 11:19:41 +02:00
43b9f9aeaa Merge pull request #61 from sngchlko/support-snapshot-in-rbdplugin
Support snapshot in rbdplugin
2018-08-09 09:31:31 -04:00
38aa575925 check snapshot feature 2018-08-09 22:07:13 +09:00
4312907f7b remove the snapshot if can't store snapshot information 2018-08-09 22:07:06 +09:00
b0e68a52e0 Refactoring using users 2018-08-09 22:07:00 +09:00
7d90783f03 fix nit 2018-08-09 22:06:51 +09:00
069140e74a Merge pull request #65 from clkao/execCommandJson-error
Log error output for execCommandJson as well.
2018-08-08 17:58:52 +02:00
a1de128a81 Log error output for execCommandJson as well. 2018-08-08 23:39:19 +08:00
4fcd5eb651 Merge pull request #62 from gman0/v0.3.0-cephfs
[CSI 0.3.0 3/4] csi-cephfs 0.3.0
2018-08-08 10:03:16 -04:00
06a2a069fd examples: cephfs storage class: changed the comments a bit 2018-08-08 15:22:14 +02:00
1c38412e39 cephfs: CSI 0.3.0; NodeStageVolume/NodeUnstageVolume; refactoring 2018-08-08 14:47:25 +02:00
f0fba1240a Revert "Implement NodeGetInfo for csi spec 3.0"
This reverts commit c93466b009.
2018-08-08 20:22:59 +09:00
b1ccdbb154 Support snapshot feature in rbdplugin 2018-08-08 17:16:07 +09:00
c93466b009 Implement NodeGetInfo for csi spec 3.0 2018-08-08 14:41:45 +09:00
4331960ab3 Merge pull request #55 from nak3/nonempty
Add nonempty option to ceph-fuse to support ReadWriteMany
2018-08-07 14:14:57 -04:00
50bbfb5bae Merge pull request #56 from nak3/debug-friendly
Logging command and options for debug friendly
2018-08-07 14:14:31 -04:00
78a7185e37 Merge pull request #59 from gman0/v0.3.0-docs
[CSI 0.3.0 2/4] Makefile, manifests, docs, examples
2018-08-07 09:47:32 -04:00
af7824cafa updated README, added docs 2018-08-07 15:11:22 +02:00
e8ea0aa713 added examples 2018-08-07 15:11:22 +02:00
e2910f1c18 deployment update for 0.3.0 2018-08-07 15:11:22 +02:00
2fa82b47ea Merge pull request #57 from gman0/v0.3.0-vendor
[CSI 0.3.0 1/4] vendor update
2018-08-06 09:12:24 -04:00
0ce2c68454 vendor: Gopkg.toml: added protobuf override to v1.1.0 2018-08-01 10:17:20 +02:00
8ea659f0d5 vendor update for CSI 0.3.0 2018-07-31 14:53:26 +02:00
e8784ec094 Logging command and options for debug friendly
Some commands were executed in ceph-csi, but users do not know what
commands with what options were executed. Hence, it is difficult to
debug once the command did not work fine.

This patch adds logging what commmand and options are executed.
2018-07-31 15:31:11 +09:00
b649d4f1f6 Add nonempty option to ceph-fuse to support ReadWriteMany
fuse mount does not allow to mount directory if it contains some
files. Due to this, currently scaled pod with cephfs failed to mount
by ceph-fuse.

This patch adds nonempty option to ceph-fuse command to support
ReadWriteMany with ceph-fuse.
2018-07-31 14:44:33 +09:00
6f484f92fc Merge pull request #52 from nak3/clean-up
Correct cephfsplugin binary path
2018-07-26 10:40:36 -04:00
c1ec54e5c6 Correct cephfsplugin binary path
Makefile has a wrong path to `deploy/cephfs/docker/rbdplugin`. This
patch changes to `deploy/cephfs/docker/cephfsplugin`.
2018-07-26 18:20:40 +09:00
51642c9a3a Merge pull request #43 from alvistack/ceph_version-mimic
Update CEPH_VERSION to mimic
2018-07-21 15:35:03 -04:00
9adf908d38 Merge pull request #51 from sngchlko/support-image-features
support image features for csi-rbdplugin
2018-07-20 18:18:43 -04:00
bc34bd389e support image features for csi-rbdplugin 2018-07-21 00:59:54 +09:00
341a293526 Merge pull request #50 from ceph/m-fix
consolidate container deploy
2018-07-19 14:08:42 -04:00
9d9afc1093 consolidate container deploy
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-19 14:06:57 -04:00
97d1a23114 Merge pull request #49 from ceph/m-fix
CSI is alpha in k8s 1.9
2018-07-19 13:51:14 -04:00
9294d6f259 CSI is alpha in k8s 1.9
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-19 13:50:19 -04:00
5ad8b16e59 Merge pull request #45 from mkimuram/issue/44
Fix Cephfs plugin to return false to ValidateVolumeCapabilities if Block volume is specified
2018-07-10 12:57:30 -04:00
753dbc2303 Fix Cephfs plugin to return false to ValidateVolumeCapabilities if Block volume is specified
Cephfs doesn't have a feature to provide Block Volume, therefore it should return false to ValidateVolumeCapabilities if Block Volume is specified.

Fixes #44
2018-07-10 16:48:55 +00:00
1fbd3e69de Update CEPH_VERSION to mimic 2018-07-04 12:20:56 +08:00
0df9e8e794 Merge pull request #42 from gman0/cephfs-delete-policy
cephfs: forbid deletion of shares not provisioned by the driver
2018-06-13 14:43:49 -04:00
c1a8c5866c Merge pull request #41 from malc0lm/fix-rbd-controller-service
rbd: advertises PluginCapability_Service_CONTROLLER_SERVICE
2018-06-13 12:48:47 -04:00
675ee93e46 cephfs: DeleteVolume() calls are allowed only for volumes with provisionVolume=true parameter 2018-06-13 16:29:10 +02:00
f273874f26 rbd: advertises PluginCapability_Service_CONTROLLER_SERVICE 2018-06-13 15:14:15 +08:00