strato icon indicating copy to clipboard operation
strato copied to clipboard

[Feature Request] Force delete option for Cloud Volume

Open anvithks opened this issue 3 years ago • 0 comments

Issue/Feature Description: Provide a force delete option for the client to remove the database entry for cloud volume.

Why this issue to fixed / feature is needed(give scenarios or use cases): If a user has created a cloud volume via SODA Dashboard and they delete the same from the cloud vendors' dashboard, the database entry for the volume is still returned when the user issues a GET call. On trying to delete the entry using the DELETE API we encounter a 404 error as the the cloud volume is not found by SODA on the cloud vendor backend. This entry cannot be deleted and still shows as available in the GET response.

How to reproduce, in case of a bug:

  1. Create a cloud volume on AWS.
  2. Login to the cloud vendor dashboard.
  3. Delete the created volume from the vendor dashboard.
  4. Refresh the page in SODA Dashboard / Invoke the GET API.
  5. The volume entry is still shown.

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

This issue may also be encountered in other features like cloud fileshare. Similar feature could be provided where a discrepancy between database and actual cloud could exist.

anvithks avatar Oct 14 '20 10:10 anvithks