sodafoundation / api

SODA Terra Project API module : is an open source implementation of SODA API connecting storage to platforms like Kubernetes, OpenStack, and VMware
Apache License 2.0
827 stars 316 forks source link

Access and Delete issues in file share. #817

Closed sfzeng closed 5 years ago

sfzeng commented 5 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened: Item count is not correct when deleting file share. As below: item_count_error What you expected to happen: It should be 1 file, not 3 files. How to reproduce it (as minimally and precisely as possible): Just choose some items to delete, it can be reproduced easily.

What happened: When I choose one file share and delete it, I got the status in 'errorDeleting' for a long time, and it cannot be deleted anymore. As below: delete_error What you expected to happen: I can be deleted successfully. How to reproduce it (as minimally and precisely as possible): Create a file share, create some ACLs, and then delete it.

What happened: Ip can work when creating ACL, but network segment does not work. As below: ACL_network_segement_error_1 ACL_network_segement_error_2 What you expected to happen: After created an ACL with network segment, I can see the exported path by run command of showmount or exportfs, and I can use this share path. How to reproduce it (as minimally and precisely as possible): Use network segment to create ACL of a share path.

What happened: Create ACL with only read permission, but still can write. As below: permission_error_1 permission_error_2 What you expected to happen: Can not write. How to reproduce it (as minimally and precisely as possible): Create an ACL with read permission, then mount the file share and write to it.

Environment:

jimccfun commented 5 years ago

@sfzeng the first problem has been fixed, there is no such problem in the latest version.