d79ca5bc90
Merge branch 'csi-v1.0' into default_multiwrite_blockmode
2019-03-19 08:02:14 -06:00
6ec1196f47
Rework multi-node-multi-writer feature
...
This commit reverts the initial implementation of the
multi-node-multi-writer feature:
commit: b5b8e46460
It replaces that implementation with a more restrictive version that
only allows multi-node-multi-writer for volumes of type `block`
With this change there are no volume parameters required in the stoarge
class, we also fail any attempt to create a file based device with
multi-node-multi-write being specified, this way a user doesn't have to
wait until they try and do the publish before realizing it doesn't work.
2019-03-18 10:07:06 -06:00
76a647d20e
Merge pull request #262 from Madhu-1/fix-driver-name
...
Fix driver name as per CSI spec
2019-03-18 09:47:57 +05:30
ea5d9dfb5c
Fix driver name as per CSI spec
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-14 17:10:39 +05:30
a4dd845735
Merge pull request #223 from Madhu-1/fix-222-1.0
...
update driver name as per csi spec
2019-03-14 06:38:13 +01:00
a164169fd3
Revert "Add multiNodeWritable option for RBD Volumes"
...
This reverts commit b5b8e46460
.
2019-03-13 18:26:46 -06:00
497411b26c
update readme to delete namespace
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-13 12:04:30 +05:30
d61a87b42e
Fix driver name as per CSI spec
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-13 12:04:30 +05:30
2a25666109
Merge pull request #249 from Madhu-1/fix-return
...
Fix return error codes
2019-03-12 17:25:05 +01:00
c5ff1ba724
Merge pull request #254 from Madhu-1/fix-252-
...
store volume size in bytes in configmap
2019-03-12 19:05:04 +05:30
dd41295900
store volume size in bytes in configmap
...
during volume creation we check volume size in
bytes, and even during listing of volumes and
snapshots we need to check size in bytes
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-12 18:37:10 +05:30
bd8cf1d7f0
Merge pull request #247 from Madhu-1/raw-block
...
update readme for raw-block PVC
2019-03-07 08:30:55 -05:00
9f5ac5eeaa
Fix return error codes
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-07 18:29:07 +05:30
53dfdb63b5
correct yaml examples template
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-05 17:59:39 +05:30
9bebd829ab
update readme for raw block pvc
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-05 17:59:39 +05:30
ef74050af2
add examples for raw block pvc
...
and pod to mount it
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-05 17:59:39 +05:30
b07211739c
Merge pull request #238 from Madhu-1/fix-image-size
...
Fix image size
2019-03-05 12:12:04 +01:00
fbc189ff66
Merge pull request #245 from Madhu-1/fix-linter
...
replace gometalinter with golangci
2019-03-04 10:00:50 -05:00
c0745486a7
add event rules for provisioner
...
Fixes: #https://github.com/ceph/ceph-csi/pull/234#issuecomment-468967752
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-04 14:34:14 +00:00
16279eda78
Roundup volume size to Mib for rbd
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-04 19:17:28 +05:30
0fd091fa7f
skip errcheck
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-04 19:02:10 +05:30
57cea727fa
Fix yaml lint errors
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-04 19:01:25 +05:30
8f07c9efcc
remove unused param from function
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-04 19:01:25 +05:30
1018eda27a
replace gometalinter with golangci
...
gometalinter is being deprecated in favor of golangci.
switching to golangci in ci and make test
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-03-04 19:01:16 +05:30
72edf06916
Fix obsolete comment
...
Had a stray comment that got left behind during refactoring, move it
back to where it's relevant and reword it a bit to fit the finished
product.
2019-03-01 22:36:46 +00:00
b5b8e46460
Add multiNodeWritable option for RBD Volumes
...
This change adds the ability to define a `multiNodeWritable` option in
the Storage Class.
This change does a number of things:
1. Allow multi-node-multi-writer access modes if the SC options is
enabled
2. Bypass the watcher checks for MultiNodeMultiWriter Volumes
3. Maintains existing watcher checks for SingleNodeWriter access modes
regardless of the StorageClass option.
fix lint-errors
2019-03-01 21:59:57 +00:00
624b08253c
Merge pull request #236 from Madhu-1/bump-ver-5.0
...
bump helm chat version from 0.4.0 to 0.5.0
2019-02-28 08:34:00 -05:00
eb14742874
bump helm chat version from 0.4.0 to 0.5.0
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-28 13:41:11 +05:30
d938944528
Merge pull request #233 from gman0/fuse-unmount-wait
...
cephfs: wait for FUSE to exit after unmount
2019-02-27 15:00:28 -05:00
b779009770
parse ceph-fuse PID with regexp
2019-02-27 20:29:20 +01:00
4d55d5b8ad
Merge pull request #235 from Madhu-1/fix-rbac-cephfs
...
Add role and rolebinding for cephfs
2019-02-27 12:29:23 -05:00
49f5ce22d3
Merge pull request #207 from Madhu-1/remove-dep
...
move csi-common to ceph-csi
2019-02-27 09:22:54 -05:00
5cabfe78cb
Merge pull request #234 from Madhu-1/fix-rbac
...
Fix rbac issue in rbd plugin
2019-02-27 09:10:59 -05:00
2ab1f3e82d
add csinodeinfos rules
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-27 19:32:07 +05:30
b629b22cf0
Add csinodeinfos rules
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-27 19:29:11 +05:30
f4a0726226
Fix rbac issue in rbd plugin
...
remove unwanted rules and update
rbac to have permission to modify
endpoints and configmaps in the
current namespace.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-27 16:45:34 +05:30
119504c004
Add role and rolebinding for cephfs
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-27 16:44:46 +05:30
c9815e99a9
Fix rbac issue in cephfs plugin
...
remove unwanted rules and update
rbac to have permission to modify
endpoints and configmaps in the
current namespace.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-27 16:38:20 +05:30
6f4f148d3b
remove glog
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2019-02-27 14:17:19 +05:30
fdc0d8255a
move csi-common to ceph-csi
...
kubernetes/driver/csi-common is no
longer maintained.
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2019-02-27 14:17:19 +05:30
3a0d048186
cephfs/volumemounter: unmountVolume now waits till the ceph-fuse daemon exits
2019-02-26 17:57:24 +01:00
dfcd1c33c3
Merge pull request #232 from gman0/cephfs-concurrency-fix
...
cephfs concurrency fix
2019-02-26 09:40:32 -05:00
1cedbf0eee
sort volume ID's for rbd volume list
...
looping over a map is not guaranteet
to be ordered.
we need to sort the volume ID's for
ListVolume rpc for rbd plugin.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-26 14:35:16 +00:00
e861f12a60
Fix review comments
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-02-26 14:35:16 +00:00
3b320ef19e
Add support of RBD list volumes
...
currently all the created volumes are
stored in the metadata store, so we
can use this information to support
list volumes.
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2019-02-26 14:35:16 +00:00
2f8931315a
don't attempt to delete mountpoint if unmount failed
2019-02-26 14:46:21 +01:00
143003bcfd
cephfs: added locks for {Create,Delete}Volume, NodeStageVolume
2019-02-26 11:06:25 +01:00
60588d8968
cephfs/volume: create/delete-volume idempotency checks
2019-02-26 11:06:16 +01:00
ae14956a4c
Merge pull request #226 from rollandf/csi-v1.0
...
Remove requirement for ceph config and keyring files
2019-02-25 19:43:53 -05:00
5c6bf5fa1a
Merge pull request #228 from gman0/metadata-delete-idempotency
...
Fixed DeleteVolume/snapshot metadata idempotency
2019-02-25 13:12:50 -05:00