Files
notes/work/移动杭研/问题处理/2024-02/0202-信安删除问题.md
T
2026-03-01 01:43:46 +08:00

106 lines
8.8 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
日期: 2024-02-02 20:47
来源: 客响
---
# 问题详情
![](../../../../attachment/images-paste/image-20240202205027283.png)
![](../../../../attachment/images-uuid/00a1a309f22e46baa83f2b14c4c27cc6.png)
"domain_id_cdnsys" : "YzWGrmLvU_125940"
"name" : "heze.la"
单位名称:菏泽日报社
# 处理过程
1、首先排查工单删除记录
![](../../../../attachment/images-uuid/07931ba56ef94e8cb86a867ea7957beb.png)
时间是 2024-01-17 at 15:49:54
![](../../../../attachment/images-paste/image-20240202205136751.png)
这会不会是个那种泛域名进来的。我去工单里搜罗下。只能再看看这个了。稍等。
有查询到 *.heze.la 的删除记录是 2023-07-28 at 23 点配管回调后。
但是信安的删除逻辑和日志看,如果是泛域名会通过 xinan_generic_exact_domain 找到对应的精确域名同步所以当时的日志显示 *.heze.la 回调同步信安删除的是 test.heze.la, domainIdCdnSys:YzWGrmLvU_pIZVIN 这个。
信安说 2020-12-18 15 我们同步了 heze.la,从工单记录没有定位到为啥会同步这个东西。
![](../../../../attachment/images-uuid/942b19c8ff824d819c77ab1024de7051.png)
# 代码位置
```
com.cmcc.cdn.platform.selfservice.service.impl.PortalInformationServiceImpl#notifyDeleteInformation
```
# 总结
![](../../../../attachment/images-paste/image-20240205142916028.png)
![](../../../../attachment/images-paste/image-20240205142929244.png)
![](../../../../attachment/images-paste/image-20240205143019448.png)
![](../../../../attachment/images-paste/image-20240205143359112.png)
![](../../../../attachment/images-paste/image-20240205143546829.png)
# 问题日志
```log
2024-01-17 at 15:49:53 CST [http-nio-8080-exec-875] INFO  com.cmcc.cdn.platform.selfservice.controller.pm.PmPipeCallbackController 47 addBpmContents - 蓝鲸配管 管道配置回调报文,request:{"data":[{"percent":1.0,"process":false,"reqType":"SELF_DOMAIN_DELETE","targetName":"wx.heze.la"},{"percent":1.0,"process":false,"reqType":"SELF_DOMAIN_DELETE","targetName":"dcwth.com"},{"percent":1.0,"process":false,"reqType":"SELF_DOMAIN_DELETE","targetName":"www.dcwth.com"},{"percent":1.0,"process":false,"reqType":"SELF_DOMAIN_DELETE","targetName":"fuwu.heze.la"},{"percent":1.0,"process":false,"reqType":"SELF_DOMAIN_DELETE","targetName":"www.heze.la"}],"messageId":"pm9470470e01b146fb89aba1bd349f7e69"}
2024-01-17 at 15:49:53 CST [http-nio-8080-exec-875] INFO  com.cmcc.cdn.platform.common.util.log.MonitorJsonLogUtil 110 jsonLogRemote - {"fromServer":"ibs-portal","monitorType":"apiQps","role":"","timeConsuming":41,"method":"/actionpm","guid":0,"businessType":"monitorTime"}
2024-01-17 at 15:49:53 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.taskprocess.TaskProcessHandleServiceImpl 61 handleEvent2 - start handle type:DOMAIN_B_PIPE, taskid:pm9470470e01b146fb89aba1bd349f7e69_exc
2024-01-17 at 15:49:53 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.rabbitmq.consumer.PipeCallBackDomainRecordConsumer 86 handleMessageId - [管道化任务回调]--->处理回调域名,messageId:pm9470470e01b146fb89aba1bd349f7e69
2024-01-17 at 15:49:53 CST [http-nio-8080-exec-846] INFO  com.cmcc.cdn.platform.selfservice.controller.pm.PmPipeCallbackController 47 addBpmContents - 蓝鲸配管 管道配置回调报文,request:{"data":[{"percent":1.0,"process":false,"reqType":"SELF_DOMAIN_DELETE","targetName":"imap.dijadechem.com"}],"messageId":"pma7f865f79e7d4ea8b99543b5374709d0"}
2024-01-17 at 15:49:53 CST [http-nio-8080-exec-846] INFO  com.cmcc.cdn.platform.common.util.log.MonitorJsonLogUtil 110 jsonLogRemote - {"fromServer":"ibs-portal","monitorType":"apiQps","role":"","timeConsuming":40,"method":"/actionpm","guid":0,"businessType":"monitorTime"}
2024-01-17 at 15:49:53 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.rabbitmq.consumer.PipeCallBackDomainRecordConsumer 127 handleMessageId - [管道化任务回调]--->messageId:pm9470470e01b146fb89aba1bd349f7e69单域名请求的处理
2024-01-17 at 15:49:53 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.rabbitmq.consumer.PipeCallBackDomainRecordConsumer 149 pipeLineCallback - [管道化任务回调]--->messageId:pm9470470e01b146fb89aba1bd349f7e69,targetName:wx.heze.la,percent:1.0,reqType:SELF_DOMAIN_DELETE
2024-01-17 at 15:49:53 CST [SimpleAsyncTaskExecutor-40] INFO  com.cmcc.cdn.platform.selfservice.trace.DomainTraceLog 39 printDomainTraceLog - 1705506593768|域名删除|144781|wx.heze.la|回调操作|DELETE|orderNum is deleteOrderId,删除域名
2024-01-17 at 15:49:53 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.PortalInformationTransServiceImpl 46 deleteDomain - domain:wx.heze.la, domainIdCdnSys:YzWGrmLvU_pRsLfz
2024-01-17 at 15:49:54 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.PortalInformationTransServiceImpl 52 deleteDomain - 域名删除同步信安,domainIdCdnSys:{"delete_domain_info_list":[{"domain_id_cdnsys":"YzWGrmLvU_pRsLfz"}]}
2024-01-17 at 15:49:54 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 1261 getToken - 【请求信安获取认证接口】从redis获取Authorization成功,Authorization:Bearer 16rhAMLv1KAzwkN5RwKupgfilNC67V
2024-01-17 at 15:49:54 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 1527 deletedInformationDomainInfo - {"delete_domain_info_list":[{"domain_id_cdnsys":"YzWGrmLvU_pRsLfz"}]}
2024-01-17 at 15:49:54 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 969 lambda$repeatXinan$0 - 【请求信安接口】同步请求, param:{"delete_domain_info_list":[{"domain_id_cdnsys":"YzWGrmLvU_pRsLfz"}]}
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.common.util.HttpUtil 342 doHttpRequest2 - url:https://117.136.191.90:5151/v1.0/delete_domain_info, method:post, 返回的状态码为:200
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.common.util.HttpUtil 348 doHttpRequest2 - url:https://117.136.191.90:5151/v1.0/delete_domain_info, method:post, 返回的请求体:{"sync_success_num": 1, "code": 0, "chk_fail_dict_l": []}
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.common.util.log.MonitorJsonLogUtil 110 jsonLogRemote - {"fromServer":"ibs-portal","monitorType":"httpQps","role":"","timeConsuming":2254,"method":"https://117.136.191.90:5151/v1.0/delete_domain_info","guid":0,"enterpriseId":"","businessType":"monitorTime"}
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 973 lambda$repeatXinan$0 - 【请求信安接口】param:{"delete_domain_info_list":[{"domain_id_cdnsys":"YzWGrmLvU_pRsLfz"}]}, 返回结果:{resp={"sync_success_num": 1, "code": 0, "chk_fail_dict_l": []}, status=200}
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 1536 deletedInformationDomainInfo - informatiuonTokenResponse:"{\"sync_success_num\": 1, \"code\": 0, \"chk_fail_dict_l\": []}"
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.BigCloudBasicInfoServiceImpl 1538 deletedInformationDomainInfo - informatiuonTokenResponse:{"chk_fail_dict_l":[],"code":0,"sync_success_num":"1"}
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.LogSubscribeServiceImpl 4543 updateLogSubscribe - updateLogSubscribe start,deleteDomain:wx.heze.la enterpriseId:2imlh6oy-8daggd4bfcqyt4mb
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.LogSubscribeServiceImpl 4567 updateLogSubscribe - updateLogSubscribe end...
2024-01-17 at 15:49:56 CST [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#15-1] INFO  com.cmcc.cdn.platform.selfservice.service.impl.DomainDeleteTrancServiceImpl 588 deleteDomainFromIbs - 域名 wx.heze.la 被删除
```