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

Creating a snapshot of a volume using a different profile than the volume crashes Dock. All subsequent actions go to error #43

Open anvithks opened 4 years ago

anvithks commented 4 years ago

Issue/Feature Description: I created a volume from the dashboard using a profile which has snapshot policy enabled. When I created a snapshot of this volume the dock crashed. The error log is given below.

Why this issue to fixed / feature is needed(give scenarios or use cases): All subsequent actions / api calls that involve the dock after this step will throw error. This renders the system unusable. I was able to use the system after restarting the dock manually.

dock_error

How to reproduce, in case of a bug:

  1. Login to dashboard.
  2. Create a profile with snapshot policy enabled.
  3. Create a volume with this profile.
  4. Create a snapshot of this volume, specify a different profile from the drop down list.
  5. Check the volume details. Snapshot will be in error.
  6. Try to create another volume or fileshare. or try to delete the snapshot created in 5.
  7. All will show error. Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)
kumarashit commented 4 years ago

We will fix it for next release. Documentation : While creating snapshot, make sure correct profile is chosen.