sodafoundation / dock

SODA Terra Project DOCK module : is an open source implementation for the unified interface to connect heterogeneous storage backends.
Apache License 2.0
27 stars 17 forks source link

[NetAPP NAS] Deletion of Updated Fileshare goes in error state #42

Open kumarashit opened 4 years ago

kumarashit commented 4 years ago

Issue/Feature Description: Deletion of Fileshare whose name was updated, goes in error state and deleted

Why this issue to fixed / feature is needed(give scenarios or use cases): Bug as update only updates the Name in SODA DB and not in actual storage backend/

How to reproduce, in case of a bug: Create FS Update name of FS Try deleting FS with the ID FS doesn't get deleted and goes in errorDeleting state

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)

kumarashit commented 4 years ago

RCA : Currently the call to Update Fileshare is only with API + Controller, which just changes the name in SODA DB and does nothing beyond. DeleteFileshare for NetApp NAS uses the name of Fileshare to call the Delete from actual backend. Now as this name was changed only in SODA DB and not reflected in backend, calling delete with new name by SODA is bound to fail

This is not a blocker and can be fixed in next release, but it will require API and Controller changes too