Commit Graph

1479 Commits

Author SHA1 Message Date
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
3b74bff6b6 Add RBD block example 2019-02-25 18:12:46 +00:00
cb68b68164 Merge pull request #218 from Madhu-1/cephfs-heml
Add support for cephfs helm chat
2019-02-25 12:35:44 -05:00
3fb83aa40a Merge pull request #209 from Madhu-1/kube-1.13.3
update k8s to latest 1.13.3
2019-02-25 12:32:06 -05:00
d12fdfd400 rbd: fixed metadata idempotency in DeleteVolume; DeleteSnapshot should assume the snapshot to be already deleted if metadata doesn't exist 2019-02-25 18:09:21 +01:00
ce3affcc6a cephfs: DeleteVolume should assume the volume to be already deleted if metadata doesn't exist 2019-02-25 18:07:28 +01:00
e5dbea15d3 util/cachepersister: check and return CacheEntryNotFound error in Get() 2019-02-25 18:05:20 +01:00
55ad4924b3 update readme to deploy cephfs in namespace
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-25 21:24:50 +05:30
b0c86df978 update yamllint to ignore cephfs helm
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-25 21:24:50 +05:30
85b5e7ed51 Remove requirement for ceph config and keyring files 2019-02-25 15:09:59 +02:00
e627a6166c Merge pull request #220 from Madhu-1/skip_cred_log
remove  secret and key  from logging
2019-02-25 08:04:38 -05:00
4273408f2a Merge pull request #216 from gman0/cachepersister-idempotency-fix
k8s metadata cache: delete shouldn't fail on NotFound errors
2019-02-25 08:04:26 -05:00
68e69502e8 remove secret and key from logging
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 17:05:24 +05:30
3ac5af6ce6 Fix formatting in helm rbd readme
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 10:38:25 +05:30
50091acd0c update deploy.sh to push cephfs chat
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 10:38:25 +05:30
27b46aba08 Add helm chat for cephfs
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 10:38:25 +05:30
0235b9c249 k8s metadata cache: delete shouldn't fail on NotFound errors 2019-02-20 20:20:44 +01:00
77e930c2f3 Merge pull request #215 from Madhu-1/fix-spell-1
fix misspelled words
2019-02-20 14:00:10 +01:00
a04bef4430 fix misspelled words
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-20 15:30:18 +05:30
bc256aa755 Merge pull request #211 from Madhu-1/clean-up
cleanup: remove duplicate code
2019-02-19 15:50:46 +01:00
5cebdf1fd3 Merge pull request #210 from Madhu-1/remove-check
RBD: Remove dead code
2019-02-19 15:32:06 +01:00
75d212e0be Merge pull request #212 from rollandf/doc
Remove requirement for ceph config and keyring  files
2019-02-19 15:30:47 +01:00
6faaf8b5b0 Remove requirement for ceph config and keyring files 2019-02-19 12:09:07 +02:00
fd4c019aba cleanup: remove duplicate code
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-19 13:44:10 +05:30
e91a59d2f9 RBD: Remove dead code
during volume creation we are validating
that volume name cannot be empty,removing
this check as we are not going to hit
this case

Fixes: #204

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-19 12:17:40 +05:30
8e41a8a7ed Merge pull request #208 from Madhu-1/simplify
skip redundant error check
2019-02-18 20:45:54 +01:00
9d07b914c3 Merge pull request #203 from Madhu-1/fix-spell
Fix misspelled words
2019-02-18 20:36:53 +01:00
2881a8edde update k8s to latest 1.13.3
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-18 17:51:59 +05:30
6fbde110cd skip redundant error check
correct misspelled  word

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-18 17:16:59 +05:30
13a025680f Fix missspelled words
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-18 10:17:31 +05:30
49f5d4a54e fix lint error 2019-02-14 21:31:52 +00:00
1803a1be97 rbd: don't delete volume/snapshot if metadata creation fails 2019-02-14 21:31:52 +00:00