F5Networks / f5-appsvcs-templates

F5 BIG-IP Application Service Templates (FAST)
Apache License 2.0
32 stars 13 forks source link

Unable to delete custom template set as FAST created partition reference is not removed if partition deleted using AS3 endpoint. #49

Closed KonikaChaurasiya-GSLab closed 3 years ago

KonikaChaurasiya-GSLab commented 3 years ago

Environment

Summary

Unable to delete custom template set as FAST created partition reference is not removed if partition deleted using AS3 endpoint.

Steps To Reproduce

  1. Create FAST partition/application using a custom FAST template set using API https:///mgmt/shared/fast/applications
  2. Delete the same partition using the AS3 API https:///mgmt/shared/appsvcs/declare/
  3. Delete custom template set using the FAST API https:///mgmt/shared/fast/templatesets/.

Expected Behavior

It should delete the template set since no partitions/applications are available which are created using that template set

Actual Behavior

Unable to delete custom template set as FAST created partition reference is not removed if partition deleted using AS3 endpoint. Getting below error: "message": "Cannot delete template set , it is being used by:\n[\"/\"]"

delgadillo22 commented 3 years ago

Thanks for the report. We are tracking this internally as MYSTIQUE-367.

delgadillo22 commented 3 years ago

Hello, creating an app / partition with FAST and then deleting it directly with AS3 is not a recommended nor supported practice.

Once you deploy an app with FAST, you must manage the app's lifecycle with FAST thereafter.

shyawnkarim commented 3 years ago

Closing since this is unsupported behavior.