Layer7 API Management

 View Only
  • 1.  Cannot delete policies via Policy Manager

    Posted Sep 25, 2017 10:13 AM

    Hi guys,

     

    I migrated a service into a target Gateway. After realizing that the folder structure is not maintained (a topic for another thread, I guess), I decided to deleted the migrated policies/fragments. However, after trying to delete each fragment, I keep getting the following error:

    <policy-name> cannot be deleted at this time; it is still in use by another policy

     

    Any suggestions?

     

    Best regards,

    -Jaime



  • 2.  Re: Cannot delete policies via Policy Manager
    Best Answer

    Broadcom Employee
    Posted Sep 25, 2017 12:21 PM

    Hello Jaime,

     

    If dealing with and encapsulated assertion you will first need to delete the assertion from  the policy manager.  In the Policy Manager, select tasks, extensions and add-ons, Manage Encapsulated Assertion.  Select the assertion in question and delete.  Then you can delete it from policy.  Its is not always easy knowing what policy may be using the assertion.   Below is a link to a KB that was written for finding what policy may be using a particular assertion or policy fragment. 

     

    Managing Assertions - Manage Encapsulated Assertions - CA API Gateway - 9.2 - CA Technologies Documentation 

     

    Locate a policy using a particular assertion - https://support.ca.com/us/knowledge-base-articles.TEC1971838.html 



  • 3.  Re: Cannot delete policies via Policy Manager

    Posted Sep 25, 2017 12:31 PM

    Thanks, hogma01, removing the Encapsulated Assertion via Policy Manager did the trick. I was able to remove the policy and fragments after that.



  • 4.  RE: Re: Cannot delete policies via Policy Manager

    Posted Nov 12, 2019 10:54 AM
    @Matthew Hogan de link for  "​Locate a policy using a particular assertion" isn't working any more. Can you tell me how I can find the policy's using a particular assertion. 

    Information behind this question: I want to delete a policy but i get the message ".........cannot be deleted at this time; it is still in use by another policy" 
    But I can't find the policy. (it isnt a encapsulated assertion)



  • 5.  RE: Re: Cannot delete policies via Policy Manager

    Broadcom Employee
    Posted Nov 12, 2019 11:04 AM
    Hi Thijs,

    The link has been updated to here: https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=15359

    Regards,
    Joe


  • 6.  RE: Re: Cannot delete policies via Policy Manager

    Posted Nov 12, 2019 10:55 AM
    The link  https://support.ca.com/us/knowledge-base-articles.TEC1971838.html  isn't working anymore. I hope someone can tell me how I find de the policy's where an particular assertion is used.