Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
the_rock
Legend
Legend
Jump to solution

Unable to delete unused VPN community from smart console

Hey guys,

I really hope someone can help me solve this issue, because I must have spent 3 hours on it yesterday and still cant figure it out. Not sure if Im missing something stupid, but I feel like I went through everything and still no luck.

Im trying to delete unused vpn community to Azure and I removed all the references of it already (interoperable objects, rules, etc), but whenever I attempt to remove it from dashboard, keeps saying thats its still being referenced somewhere ( I attached word doc with the screenshots).

I even attempted this from guidbedit, where it shows only one reference, but error is exactly the same. Also went through every single setting in threat prevention policy, but cant find anything referenced there.

Weird thing is and this might be only me, but I have a gut feeling it might be an issue with the fact that isp redunndancy is disabled, BUT, there are 2 links listed there and if I delete them and install policy, they always come back, so not sure if that could be the issue.

If anyone has any suggestions, would be greateful, as always.

Cheers,

 

Andy

 

 

0 Kudos
2 Solutions

Accepted Solutions
Wolfgang
Authority
Authority
(1)
PhoneBoy
Admin
Admin

You can try using the generic-object API here to delete the object directly.
Something like: delete generic-object uid xxx
This may have other side effects and recommend taking backups, etc.

View solution in original post

(1)
16 Replies
Wolfgang
Authority
Authority

two simple question to start with, maybe already done but to be sure.

Did you search with "show indirect...." enabled ?

Did you a publish before trying to delete ?

0 Kudos
the_rock
Legend
Legend

Does not hurt to ask mate, but answers are yes and yes : - )

Andy

0 Kudos
Wolfgang
Authority
Authority
(1)
the_rock
Legend
Legend

Thanks for that @Wolfgang ! Getting closer I think, BUT, not so clear for me from below output what name is referencing...

Andy

 

16/08/23 08:36:36,220 ERROR internal.operation.OperationSvcImpl [taskExecutor-74]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.handleDeleteViolations(ObjectCrudSvcImpl.java:2153)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.handleDeleteViolations(ObjectCrudSvcImpl.java:1917)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.delete_aroundBody78(ObjectCrudSvcImpl.java:1093)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl$AjcClosure79.run(ObjectCrudSvcImpl.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.checkpoint.management.dleserver.coresvc.internal.operation.OperationSvcImpl.handleOperation(OperationSvcImpl.java:140)
at com.checkpoint.management.dle.aspects.RequiredForPublishAspect.aroundOperation(RequiredForPublishAspect.java:18)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.delete_aroundBody80(ObjectCrudSvcImpl.java:3048)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl$AjcClosure81.run(ObjectCrudSvcImpl.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.checkpoint.management.dle.aspects.OperationSyncAspect.syncRequiredForPublishOperation(OperationSyncAspect.java:109)
at com.checkpoint.management.dle.aspects.OperationSyncAspect.syncOperation(OperationSyncAspect.java:62)
at com.checkpoint.management.dle.aspects.OperationSyncAspect.ajc$inlineAccessMethod$com_checkpoint_management_dle_aspects_OperationSyncAspect$com_checkpoint_management_dle_aspects_OperationSyncAspect$syncOperation(OperationSyncAspect.java:74)
at com.checkpoint.management.dle.aspects.OperationSyncAspect.aroundRequiredForPublishOperation(OperationSyncAspect.java:240)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.delete_aroundBody82(ObjectCrudSvcImpl.java:2735)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl$AjcClosure83.run(ObjectCrudSvcImpl.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.checkpoint.management.dleserver.coresvc.internal.TransactionRetrySvcImpl.proceed(TransactionRetrySvcImpl.java:174)
at com.checkpoint.management.dle.aspects.TransactionRetryAspect.aroundOperation(TransactionRetryAspect.java:16)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.delete(ObjectCrudSvcImpl.java:3656)
at com.checkpoint.management.dleserver.coresvc.internal.ObjectCrudSvcImpl.delete(ObjectCrudSvcImpl.java:2626)

0 Kudos
the_rock
Legend
Legend

Also, I went through cpm.elg file after running through that sk and searched for "Azure-vpn", which is community name I want to delete and found some objects ID referenced, tried to find them in Guidbedit, nothing...

Andy

 

/>Line 5526: 16/08/23 07:16:56,819 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-48]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 5527: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 5528: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 5530: 16/08/23 07:16:56,819 ERROR internal.operation.OperationSvcImpl [taskExecutor-48]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 5577: 16/08/23 07:16:56,819 ERROR internal.operation.OperationSvcImpl [taskExecutor-48]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 5624: 16/08/23 07:16:56,820 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-48]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 5671: 16/08/23 07:16:56,820 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-48]: Async operation ad655547-1373-4c00-a5e7-d9ce7943c5cf, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 11474: 16/08/23 07:22:25,750 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-69]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 11475: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 11476: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 11478: 16/08/23 07:22:25,750 ERROR internal.operation.OperationSvcImpl [taskExecutor-69]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 11525: 16/08/23 07:22:25,750 ERROR internal.operation.OperationSvcImpl [taskExecutor-69]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 11572: 16/08/23 07:22:25,751 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-69]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 11619: 16/08/23 07:22:25,751 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-69]: Async operation fc212bea-1035-4c0e-acb6-42033ac21e1b, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 14649: 16/08/23 07:25:07,874 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-32]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 14650: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 14651: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 14653: 16/08/23 07:25:07,874 ERROR internal.operation.OperationSvcImpl [taskExecutor-32]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 14700: 16/08/23 07:25:07,874 ERROR internal.operation.OperationSvcImpl [taskExecutor-32]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 14747: 16/08/23 07:25:07,875 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-32]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 14794: 16/08/23 07:25:07,876 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-32]: Async operation a94b557a-f903-48c8-8653-3f98da16d146, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 15050: 16/08/23 07:26:06,591 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-12]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 15051: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 15052: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 15054: 16/08/23 07:26:06,591 ERROR internal.operation.OperationSvcImpl [taskExecutor-12]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 15101: 16/08/23 07:26:06,591 ERROR internal.operation.OperationSvcImpl [taskExecutor-12]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 15148: 16/08/23 07:26:06,592 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-12]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 15195: 16/08/23 07:26:06,592 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-12]: Async operation 5308fe12-bfe4-4289-968a-dcf439af95c4, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19231: 16/08/23 07:30:15,469 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-28]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 19232: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 19233: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 19235: 16/08/23 07:30:15,469 ERROR internal.operation.OperationSvcImpl [taskExecutor-28]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19282: 16/08/23 07:30:15,469 ERROR internal.operation.OperationSvcImpl [taskExecutor-28]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19329: 16/08/23 07:30:15,469 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-28]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19376: 16/08/23 07:30:15,470 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-28]: Async operation 6574f3d5-d99a-4696-a033-9a73d3802be1, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19825: 16/08/23 07:33:07,716 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-19]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 19826: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 19827: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 19829: 16/08/23 07:33:07,716 ERROR internal.operation.OperationSvcImpl [taskExecutor-19]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19876: 16/08/23 07:33:07,716 ERROR internal.operation.OperationSvcImpl [taskExecutor-19]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19923: 16/08/23 07:33:07,717 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-19]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 19970: 16/08/23 07:33:07,717 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-19]: Async operation e5307755-74b4-4be4-9a7a-13de9513e85e, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 24428: 16/08/23 07:41:39,947 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-63]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 24429: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 24430: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 24432: 16/08/23 07:41:39,948 ERROR internal.operation.OperationSvcImpl [taskExecutor-63]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 24479: 16/08/23 07:41:39,948 ERROR internal.operation.OperationSvcImpl [taskExecutor-63]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 24526: 16/08/23 07:41:39,948 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-63]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 24573: 16/08/23 07:41:39,948 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-63]: Async operation 11a08721-bdce-4469-92ee-6f273d560d9c, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 45818: 16/08/23 08:16:32,219 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-35]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 45819: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 45820: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 45822: 16/08/23 08:16:32,220 ERROR internal.operation.OperationSvcImpl [taskExecutor-35]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 45869: 16/08/23 08:16:32,220 ERROR internal.operation.OperationSvcImpl [taskExecutor-35]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 45916: 16/08/23 08:16:32,221 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-35]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 45963: 16/08/23 08:16:32,221 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-35]: Async operation 75b432a7-ab47-4c9d-8d2b-5e4380bafdbc, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 52400: 16/08/23 08:30:43,286 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-64]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 52401: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 52402: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 52404: 16/08/23 08:30:43,286 ERROR internal.operation.OperationSvcImpl [taskExecutor-64]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 52451: 16/08/23 08:30:43,286 ERROR internal.operation.OperationSvcImpl [taskExecutor-64]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 52498: 16/08/23 08:30:43,287 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-64]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 52545: 16/08/23 08:30:43,287 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-64]: Async operation 8938bd02-d772-47cc-8eea-e54ed6046cb1, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54127: 16/08/23 08:35:39,390 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-31]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 54128: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 54129: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 54131: 16/08/23 08:35:39,390 ERROR internal.operation.OperationSvcImpl [taskExecutor-31]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54178: 16/08/23 08:35:39,390 ERROR internal.operation.OperationSvcImpl [taskExecutor-31]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54225: 16/08/23 08:35:39,391 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-31]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54272: 16/08/23 08:35:39,391 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-31]: Async operation e8ab3d74-f7be-438b-83b9-e966e0ad1388, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54402: 16/08/23 08:36:36,220 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-74]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 54403: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 54404: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 54406: 16/08/23 08:36:36,220 ERROR internal.operation.OperationSvcImpl [taskExecutor-74]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54453: 16/08/23 08:36:36,220 ERROR internal.operation.OperationSvcImpl [taskExecutor-74]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54500: 16/08/23 08:36:36,221 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-74]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 54547: 16/08/23 08:36:36,221 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-74]: Async operation e2b87e01-fa55-4602-b186-267059e8f66d, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 55355: 16/08/23 08:41:31,512 ERROR coresvc.internal.ObjectCrudSvcImpl [taskExecutor-47]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 55356: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 55357: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 55359: 16/08/23 08:41:31,512 ERROR internal.operation.OperationSvcImpl [taskExecutor-47]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 55406: 16/08/23 08:41:31,513 ERROR internal.operation.OperationSvcImpl [taskExecutor-47]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 55453: 16/08/23 08:41:31,513 ERROR dleserver.internal.ObjectCrudRemoteSvcImpl [taskExecutor-47]: ObjectCrudRemoteSvcImpl.deleteWithErrorLevelAsync Exception com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 55500: 16/08/23 08:41:31,513 ERROR coresvc.internal.AsyncOperationSvcImpl [taskExecutor-47]: Async operation 3e845181-6637-45f9-89fe-158fd891e404, web service ObjectCrudRemoteSvcRemote, method deleteWithErrorLevelAsync failed. com.checkpoint.web_services.faults.ObjectDeletionStrongLinkRemoteFault: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 56448: 16/08/23 08:47:10,182 ERROR coresvc.internal.ObjectCrudSvcImpl [qtp1774555851-19338]: ObjectDeletionException with objId = 9d874930-d4de-4dc2-b55d-ec6b09b57f9e, objName = Azure-vpn, reason = it is used by the following object(s):
Line 56449: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:fromDirection)
Line 56450: Azure-vpn->Azure-vpn objid:[f8d59c6d-a849-406b-a6f7-1d8c0decb1fe] (field:toDirection)
Line 56452: 16/08/23 08:47:10,182 ERROR internal.operation.OperationSvcImpl [qtp1774555851-19338]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects
Line 56552: 16/08/23 08:47:10,182 ERROR internal.operation.OperationSvcImpl [qtp1774555851-19338]: caught exception "Object Azure-vpn could not be deleted because it is referenced by other objects" from class com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException com.checkpoint.management.coresvc.ObjectDeletionStrongLinkException: Object Azure-vpn could not be deleted because it is referenced by other objects

 

0 Kudos
PhoneBoy
Admin
Admin

You can try using the generic-object API here to delete the object directly.
Something like: delete generic-object uid xxx
This may have other side effects and recommend taking backups, etc.

(1)
the_rock
Legend
Legend

Man, you are TRUE LEGEND!! It worked, THANK YOU SOOO MUCH

Andy

 

[Expert@QUANTUM-MANAGEMENT:0]# mgmt_cli delete generic-object uid "f8d59c6d-a849-406b-a6f7-1d8c0decb1fe"
Username: admin
Password:


---------------------------------------------
Time: [18:43:06] 16/8/2023
---------------------------------------------
"Publish operation" succeeded (100%)
[Expert@QUANTUM-MANAGEMENT:0]# mgmt_cli delete vpn-community-meshed name "Azure-vpn"
Username: admin
Password:


---------------------------------------------
Time: [18:44:13] 16/8/2023
---------------------------------------------
"Publish operation" succeeded (100%)
[Expert@QUANTUM-MANAGEMENT:0]#

BrunoCiongoli
Collaborator

adding to what phoneboy said, you can try running "?ObjectDeletionException" to check for the blocking session ID after trying to delete the object in smartconsole, and after run mgmt_cli delete generic-object uid <objectID>. Then try to delete it on smartconsole again

0 Kudos
the_rock
Legend
Legend

@Wolfgang Thanks a lot for that sk mate, as that steered me in the right direction, so its only fair I also mark your post as a solution too.

Thanks again!

Andy

0 Kudos
Lloyd_Braun
Collaborator

I had a remotely similar issue a couple versions ago, smartdashboard's 'where used' had some additional hints in the 'Context' column as to dependencies that were not displayed in smartconsole.  Might not be relevant here, but worth a shot.

0 Kudos
the_rock
Legend
Legend

Hey @Lloyd_Braun 

Thanks for responding, appreciated. Can you clarify what column you are referring to please? I dont see "context" anywhere, so I must be looking at the wrong spot : - )

Andy

0 Kudos
Lloyd_Braun
Collaborator

In r81.10, manage & settings, launch smartdashboard from https inspection setting. In smartdashboard's object explorer, the 'where used' dialogue shows a 'Context' column that had some hints as to object dependencies that weren't displayed elsewhere. If I remember correctly, after resolving that dependency, I still could not delete the object until the next day.  I believe there is some daily/automated database maintenance that had a helping hand in it.

0 Kudos
the_rock
Legend
Legend

Great hint, but sadly, no luck : - (

Andy

 

Screenshot_1.png

0 Kudos
the_rock
Legend
Legend

I did just notice that from the tab you mentioned in legacy dashboard, it DOES show that its referenced somewhere in the policy, but I cant for the life of me see where...will keep looking.

Andy

0 Kudos
Marcel_Gramalla
Advisor

We actually have the exact same issue. Some reference to a directional match column that doesn't exist anymore. We noticed it because our upgrade to R81.20 failed because of this in the last step after nearly two hours...TAC opened today and they ran some cleanup script but even after this no success. They deleted this object from the database itself and running our upgrade again in the lab.

I hope this fixes the issue. I will give an update tomorrow.

0 Kudos
the_rock
Legend
Legend

O wow, so seems its not such an easy issue. What does script do? If you dont mind, if you are willing to send it, I can give it a go.

Andy

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 30 Apr 2024 @ 08:00 AM (CDT)

    Central US: What's New in R82?

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Wed 01 May 2024 @ 02:00 PM (EDT)

    South US: HTTPS Inspection Best Practices

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 30 Apr 2024 @ 08:00 AM (CDT)

    Central US: What's New in R82?

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Wed 01 May 2024 @ 02:00 PM (EDT)

    South US: HTTPS Inspection Best Practices

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events