Unable to delete service-group
Please refer to the details below
can delete unused service-group on standby device normally.
l After a few days, I can delete several service groups, but there are still a few that can not be deleted. The same error message is displayed when deleting through gui. I think it may be related to current session.
Oct 28 2021 17:25:08 [admin] web: [54:172.18.197.63:14650] RESP HTTP status 400 Bad Request : Service group is currently used. Please remove binding and try again.
Oct 28 2021 17:25:08 [admin] web: [54:172.18.197.63:14650] DELETE: /axapi/v3/slb/service-group/SG_CTC03_Only_TCP
Oct 28 2021 17:24:51 [admin] web: [54:172.18.197.63:14598] RESP HTTP status 400 Bad Request : Service group is currently used. Please remove binding and try again.
Oct 28 2021 17:24:51 [admin] web: [54:172.18.197.63:14598] DELETE: /axapi/v3/slb/service-group/SG_CTC04_First_TCP
Oct 28 2021 17:24:51 [admin] web: [54:172.18.197.63:14596] RESP HTTP status 400 Bad Request : Service group is currently used. Please remove binding and try again.
Oct 28 2021 17:24:51 [admin] web: [54:172.18.197.63:14596] DELETE: /axapi/v3/slb/service-group/SG_CTC03_Only_TCP
Oct 28 2021 17:24:51 [admin] web: [54:172.18.197.63:14594] RESP HTTP status 400 Bad Request : Service group is currently used. Please remove binding and try again.
Oct 28 2021 17:24:51 [admin] web: [54:172.18.197.63:14594] DELETE: /axapi/v3/slb/service-group/SG_CTC03_First_TCP
Oct 28 2021 17:24:22 [admin] web: [54:172.18.197.63:14476] RESP HTTP status 200 OK
Oct 28 2021 17:24:22 [admin] web: [54:172.18.197.63:14476] DELETE: /axapi/v3/slb/service-group/SG_CTC04_First_UDP
Oct 28 2021 17:23:23 [admin] cli: [172.18.197.63:54941] show audit
l The “show slb virtual-server bind”output is as follows, vs is associated with aflex, I think this part of the information does not accurately reflect all the association relationships.
A10_CDJX_TH1040_01-Active#sh slb virtual-server bind
Total Number of Virtual Services configured: 4
---------------------------------------------------------------------------------
*Virtual Server :VS_Outbound 0.0.0.0 All Up
+port 0 others ====>SG_Gateway_UDP State :All Up
+Server_CMCC_01:0 172.30.31.113 State :Up
+Server_CNC01:0 172.30.31.81 State :Up
+Server_CNC02:0 172.30.31.65 State :Up
+Server_CNC04:0 172.30.31.129 State :Up
+Server_CTC01:0 172.30.31.49 State :Up
+Server_CTC02:0 172.30.31.97 State :Up
+port 0 tcp ====>SG_Gateway_TCP State :All Up
+Server_CMCC_01:0 172.30.31.113 State :Up
+Server_CNC01:0 172.30.31.81 State :Up
+Server_CNC02:0 172.30.31.65 State :Up
+Server_CNC04:0 172.30.31.129 State :Up
+Server_CTC01:0 172.30.31.49 State :Up
+Server_CTC02:0 172.30.31.97 State :Up
+port 0 udp ====>SG_Gateway_UDP State :All Up
+Server_CMCC_01:0 172.30.31.113 State :Up
+Server_CNC01:0 172.30.31.81 State :Up
+Server_CNC02:0 172.30.31.65 State :Up
+Server_CNC04:0 172.30.31.129 State :Up
+Server_CTC01:0 172.30.31.49 State :Up
+Server_CTC02:0 172.30.31.97 State :Up
+port 53 dns-udp ====>SG_DNS_UDP State :All Up
+Server_DNS_114:53 114.114.114.114 State :Up
+Server_DNS_119:53 119.29.29.29 State :Up
+Server_DNS_CNC:53 119.6.6.6 State :Up
+Server_DNS_CTC:53 61.139.2.69 State :Up
please suggest why I am not able to delete the service-group. I have remove the pool from the aflex also but still it is showing error service-group is still in use
Comments
In addition to virtual servers and aflex, it is possible the service-group is in use by a template. Although it is manual, one option would be to grab the running configuration and do a find for the service-group name. If the service-group truly does not exist in any other location in the configuration, the group may be stuck in some runtime process which would require a reboot to clear.