gman
6ddf98addf
cephfs: cache available volume mounters
2018-08-14 16:48:30 +02:00
gman
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
Huamin Chen
43b9f9aeaa
Merge pull request #61 from sngchlko/support-snapshot-in-rbdplugin
...
Support snapshot in rbdplugin
2018-08-09 09:31:31 -04:00
Seungcheol Ko
38aa575925
check snapshot feature
2018-08-09 22:07:13 +09:00
Seungcheol Ko
4312907f7b
remove the snapshot if can't store snapshot information
2018-08-09 22:07:06 +09:00
Seungcheol Ko
b0e68a52e0
Refactoring using users
2018-08-09 22:07:00 +09:00
Seungcheol Ko
7d90783f03
fix nit
2018-08-09 22:06:51 +09:00
Róbert Vašek
069140e74a
Merge pull request #65 from clkao/execCommandJson-error
...
Log error output for execCommandJson as well.
2018-08-08 17:58:52 +02:00
Chia-liang Kao
a1de128a81
Log error output for execCommandJson as well.
2018-08-08 23:39:19 +08:00
gman
1c38412e39
cephfs: CSI 0.3.0; NodeStageVolume/NodeUnstageVolume; refactoring
2018-08-08 14:47:25 +02:00
Seungcheol Ko
f0fba1240a
Revert "Implement NodeGetInfo for csi spec 3.0"
...
This reverts commit c93466b009
.
2018-08-08 20:22:59 +09:00
Seungcheol Ko
b1ccdbb154
Support snapshot feature in rbdplugin
2018-08-08 17:16:07 +09:00
Seungcheol Ko
c93466b009
Implement NodeGetInfo for csi spec 3.0
2018-08-08 14:41:45 +09:00
Huamin Chen
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
Kenjiro Nakayama
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
Kenjiro Nakayama
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
Seungcheol Ko
bc34bd389e
support image features for csi-rbdplugin
2018-07-21 00:59:54 +09:00
Masaki Kimura
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
Huamin Chen
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
gman
675ee93e46
cephfs: DeleteVolume() calls are allowed only for volumes with provisionVolume=true parameter
2018-06-13 16:29:10 +02:00
malc0lm
f273874f26
rbd: advertises PluginCapability_Service_CONTROLLER_SERVICE
2018-06-13 15:14:15 +08:00
gman
8c53b5eb79
cephfs: Identity Service advertises PluginCapability_Service_CONTROLLER_SERVICE
2018-06-12 17:09:44 +02:00
gman
0cc1e06beb
cephfs: createCephUser needs admin credentials
2018-06-12 17:08:14 +02:00
gman
b260bff659
cephfs: CreateVolume() needs ceph config
2018-06-12 17:07:20 +02:00
gman
2fcc252f5c
cephfs: pass volume UUIDs where needed
2018-06-12 17:05:42 +02:00
gman
f45ddd7c9d
cephfs: cephuser: set config and admin explicitly when creating/deleting users
2018-06-12 17:03:45 +02:00
gman
cc88d2fa09
cephfs: cephconf: include volume UUID in keyrings/secrets
2018-06-12 17:02:14 +02:00
gman
0ba3174bbc
cephfs/NodePublishVolume: fix error message
2018-05-23 10:28:25 +02:00
gman
1a7b365b95
cephfs: ceph config filename is now mixed with volume UUID
2018-05-18 18:17:37 +02:00
gman
bf89151b87
cephfs: ceph.conf is created in NodePublishVolume instead of CreateVolume
2018-05-18 18:15:37 +02:00
gman
77469c8370
cephfs/volumecache: fixed error msg
2018-04-20 16:24:13 +02:00
gman
8844452453
cephfs/nodeserver: create a new user if necessary; updated NodeUnpublishVolume
2018-04-13 15:53:43 +02:00
gman
a2160e88a7
cephfs/controllerserver: create volume if provisionVolume=true; implemented DeleteVolume
2018-04-13 14:54:40 +02:00
gman
886fdccb9b
cephfs: added mounter probing and --volumemounter cmd arg
2018-04-13 14:53:17 +02:00
gman
b7d856e562
cephfs/volume: added createVolume and purgeVolume
2018-04-13 14:49:49 +02:00
gman
c21d05a536
cephfs/cephconf: added cephFullCapsKeyring
2018-04-13 14:38:44 +02:00
gman
58eb8d1de7
updated cephfs/util
2018-04-13 14:34:48 +02:00
gman
88ca7077ae
added cephfs/cephuser
2018-04-13 14:31:46 +02:00
gman
8fd5478aa1
added cephfs/credentials
2018-04-13 14:31:03 +02:00
gman
cc6921fbd3
moved cephfs mounting logic to volumemounter
2018-04-13 14:29:54 +02:00
gman
62f271056a
added cephfs/volumecache - stores volume info in json files
2018-04-13 14:28:59 +02:00
gman
69ecce1e75
cephfs/volumeidentifier: changed volume ID scheme
...
volumes have "csi-cephfs-dyn-" prefix when they are provisioned dynamically (provisionVolume=true)
and have "csi-cephfs-sta-" prefix when they are provisioned statically by the user (provisionVolume=false)
2018-04-13 14:24:40 +02:00
gman
374176c6ce
cephfs/volumeoptions: added fields; validate values
...
added Pool and ProvisionVolume fields
Mounter is now optional
2018-04-13 14:21:15 +02:00
gman
61103bbc47
cephfs/cephconf: workaround for http://tracker.ceph.com/issues/23446
2018-03-26 15:01:13 +02:00
gman
cb36c9e4c8
cephfs: code cleaning
2018-03-26 15:00:28 +02:00
gman
4c5c67b8f9
cephfs: check volumeOptions.Mounter and choose ceph-fuse or mount.ceph accordingly
2018-03-22 14:14:57 +01:00
gman
defc676b3d
cephfs/volume: added the ability to use either FUSE or ceph kernel client
2018-03-22 14:14:57 +01:00
gman
9fefc270d8
cephfs/controllerserver: write ceph.conf
2018-03-20 16:40:30 +01:00
gman
aa4130865c
cephfs/nodeserver: read credentials from Secret
2018-03-20 16:40:30 +01:00
gman
436bb54262
cephfs/volume: fixed arguments for ceph-fuse; assume volume root and cephx user already exist
2018-03-20 16:40:23 +01:00
gman
43c2fb8e26
cephfs: CSI 0.2.0 refactoring
2018-03-20 16:40:00 +01:00
gman
1b976c5068
added cephfs/cephfsconf.go: generates ceph config and keyring
2018-03-20 15:54:24 +01:00
gman
aefc258ccd
cephfs/volumeptions: modified fields, updated validation
2018-03-20 15:51:27 +01:00
gman
0df8415067
cephfs: cleaning/renaming
2018-03-20 15:46:31 +01:00
gman
99bdbf2182
Merge branch 'master' into wip-cephfs
2018-03-13 11:21:34 +01:00
gman
66c16e35e6
cephfs: refactoring for CSI 0.2.0 part 1
2018-03-13 10:25:50 +01:00
gman
06f411bbf3
cephfs: volumes are now created for separate ceph users with limited access to fs
...
Uses a slightly modified version of https://github.com/kubernetes-incubator/external-storage/blob/master/ceph/cephfs/cephfs_provisioner/cephfs_provisioner.py
This should be rewritten properly in Go, but for it works for now - for demonstration purposes
TODO:
* readOnly is not taken into account
* controllerServer.DeleteVolume does nothing
2018-03-09 17:05:19 +01:00
Serguei Bezverkhi
1ff1f8be30
code update
2018-03-08 13:22:40 -05:00
gman
aa023ea405
cephfs: set access mode to MULTI_NODE_MULTI_WRITER; controller (un)publish is not needed
2018-03-07 14:19:08 +01:00
gman
1c1b0eab1e
WIP cephfs CSI plugin
2018-03-05 13:21:30 +01:00
Huamin Chen
9d4b49b54b
node server: don't persist vol
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-20 16:10:59 +00:00
Serguei Bezverkhi
de16b0f5e9
Refactor rbdplugin for CSI 0.2.0 spec
2018-02-15 10:49:38 -05:00
Huamin Chen
57a4715e95
rbd plugin refactoring: remove k8s clientSet
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-06 14:36:58 +00:00
Serguei Bezverkhi
8614aee8ef
Making VolumeID != volName as per CSI spec
2018-01-15 20:57:07 -05:00
Serguei Bezverkhi
27334ac60d
just code files
2018-01-15 11:50:50 -05:00