Commit Graph

668 Commits

Author SHA1 Message Date
Madhu Rajanna
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
Madhu Rajanna
e861f12a60 Fix review comments
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-26 14:35:16 +00:00
Madhu Rajanna
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
gman
2f8931315a don't attempt to delete mountpoint if unmount failed 2019-02-26 14:46:21 +01:00
gman
143003bcfd cephfs: added locks for {Create,Delete}Volume, NodeStageVolume 2019-02-26 11:06:25 +01:00
gman
60588d8968 cephfs/volume: create/delete-volume idempotency checks 2019-02-26 11:06:16 +01:00
Huamin Chen
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
Huamin Chen
5c6bf5fa1a
Merge pull request #228 from gman0/metadata-delete-idempotency
Fixed DeleteVolume/snapshot metadata idempotency
2019-02-25 13:12:50 -05:00
Fred Rolland
3b74bff6b6 Add RBD block example 2019-02-25 18:12:46 +00:00
Huamin Chen
cb68b68164
Merge pull request #218 from Madhu-1/cephfs-heml
Add support for cephfs helm chat
2019-02-25 12:35:44 -05:00
Huamin Chen
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
gman
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
gman
ce3affcc6a cephfs: DeleteVolume should assume the volume to be already deleted if metadata doesn't exist 2019-02-25 18:07:28 +01:00
gman
e5dbea15d3 util/cachepersister: check and return CacheEntryNotFound error in Get() 2019-02-25 18:05:20 +01:00
Madhu Rajanna
55ad4924b3 update readme to deploy cephfs in namespace
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-25 21:24:50 +05:30
Madhu Rajanna
b0c86df978 update yamllint to ignore cephfs helm
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-25 21:24:50 +05:30
Fred Rolland
85b5e7ed51 Remove requirement for ceph config and keyring files 2019-02-25 15:09:59 +02:00
Huamin Chen
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
Huamin Chen
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
Madhu Rajanna
68e69502e8 remove secret and key from logging
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 17:05:24 +05:30
Madhu Rajanna
3ac5af6ce6 Fix formatting in helm rbd readme
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 10:38:25 +05:30
Madhu Rajanna
50091acd0c update deploy.sh to push cephfs chat
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 10:38:25 +05:30
Madhu Rajanna
27b46aba08 Add helm chat for cephfs
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-21 10:38:25 +05:30
gman
0235b9c249 k8s metadata cache: delete shouldn't fail on NotFound errors 2019-02-20 20:20:44 +01:00
Róbert Vašek
77e930c2f3
Merge pull request #215 from Madhu-1/fix-spell-1
fix misspelled words
2019-02-20 14:00:10 +01:00
Madhu Rajanna
a04bef4430 fix misspelled words
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-20 15:30:18 +05:30
Róbert Vašek
bc256aa755
Merge pull request #211 from Madhu-1/clean-up
cleanup: remove duplicate code
2019-02-19 15:50:46 +01:00
Róbert Vašek
5cebdf1fd3
Merge pull request #210 from Madhu-1/remove-check
RBD: Remove dead code
2019-02-19 15:32:06 +01:00
Róbert Vašek
75d212e0be
Merge pull request #212 from rollandf/doc
Remove requirement for ceph config and keyring  files
2019-02-19 15:30:47 +01:00
Fred Rolland
6faaf8b5b0 Remove requirement for ceph config and keyring files 2019-02-19 12:09:07 +02:00
Madhu Rajanna
fd4c019aba cleanup: remove duplicate code
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-19 13:44:10 +05:30
Madhu Rajanna
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
Róbert Vašek
8e41a8a7ed
Merge pull request #208 from Madhu-1/simplify
skip redundant error check
2019-02-18 20:45:54 +01:00
Róbert Vašek
9d07b914c3
Merge pull request #203 from Madhu-1/fix-spell
Fix misspelled words
2019-02-18 20:36:53 +01:00
Madhu Rajanna
2881a8edde update k8s to latest 1.13.3
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-18 17:51:59 +05:30
Madhu Rajanna
6fbde110cd skip redundant error check
correct misspelled  word

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-18 17:16:59 +05:30
Madhu Rajanna
13a025680f Fix missspelled words
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-18 10:17:31 +05:30
gman
49f5d4a54e fix lint error 2019-02-14 21:31:52 +00:00
gman
1803a1be97 rbd: don't delete volume/snapshot if metadata creation fails 2019-02-14 21:31:52 +00:00
gman
8223ae325b addressed review comments 2019-02-14 13:55:51 +00:00
gman
96bf4a98bd cephfs: don't need to store keyrings anymore 2019-02-14 13:55:51 +00:00
gman
8e371f62fa cephfs: ceph-fuse mimic supports passing keys via args, let's use it 2019-02-14 13:55:51 +00:00
gman
b3944f3121 cephfs exec: read stdout and stderr separately 2019-02-14 13:55:51 +00:00
gman
892d65d387 added StripSecretInArgs in pkg/util 2019-02-14 13:55:51 +00:00
Miao Zhou
f9d30a4c68 Merge remote-tracking branch 'ceph/csi-v1.0' into csi-v1.0 2019-02-14 18:54:00 +08:00
Shubhendu
020ad61d06 Update deploy-cephfs.md 2019-02-13 14:37:00 +00:00
gman
a63b06a620 cephfs: specify monitors explicitly 2019-02-13 14:09:33 +00:00
Shubhendu
8cf1b242f7 Update deploy-rbd.md 2019-02-13 13:15:53 +00:00
Róbert Vašek
890740553f
Merge pull request #193 from gman0/fix-cephfs-volcleanup
cephfs/volume: fixed incorrect path for unmountAndRemove
2019-02-12 18:02:44 +01:00
gman
9cd0786569 cephfs/volume: fixed incorrect path for unmountAndRemove 2019-02-12 17:39:54 +01:00