Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Beijing Release
-
None
-
MSB Sprint 10
Description
After undeploying the aai deployment, the service didn't be unregistered.
Log of Kube2msb, seems that the Pod Ip can't be got at the removepod event.
2018-02-13 01:00:54.092971 I | Queued Pod to be removed: aai-service-67984b7bf6-g2xts
2018-02-13 01:00:54.092987 I | MSB Work Action: RemovePod ServiceInfo: [ { "serviceName": "aai-cloudInfrastructure", "version": "v11", "url": "/aai/v11/cloud-infrastructure", "protocol": "REST", "port": "8443", "enable_ssl": true, "visualRange": "1" }, { "serviceName": "aai-cloudInfrastructure-deprecated", "version": "v11", "url": "/aai/v11/cloud-infrastructure", "protocol": "REST", "port": "8443", "enable_ssl": true, "visualRange": "1", "path": "/aai/v11/cloud-infrastructure" } ]
2018-02-13 01:00:54.097461 I | deleteURL:http://msb-discovery.onap-msb:10081/api/microservices/v1/services/aai-cloudInfrastructure/version/v11/nodes//8443
2018-02-13 01:00:54.113490 I | Http request to deregister service:aai-cloudInfrastructure returned code:404
2018-02-13 01:00:54.113520 I | deleteURL:http://msb-discovery.onap-msb:10081/api/microservices/v1/services/aai-cloudInfrastructure-deprecated/version/v11/nodes//8443
2018-02-13 01:00:54.119228 I | Http request to deregister service:aai-cloudInfrastructure-deprecated returned code:404
2018-02-13 01:00:58.813011 I | Service Action: RemoveService for service msb-consul
2018-02-13 01:00:58.813746 I | Not the target, skip this Remove notification for service: msb-consul
2018-02-13 01:00:58.813768 I | Service Action: RemoveService for service msb-discovery
2018-02-13 01:00:58.813775 I | Service Action: AddService for service msb-discovery
2018-02-13 01:00:58.813779 I | Not the target, skip this Remove notification for service: msb-discovery
2018-02-13 01:00:58.813784 I | Not the target, skip this ADD notification for service: msb-discovery
Attachments
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
33037,1 | Solve pod level service unregistration issue | master | oom/registrator | Status: MERGED | +2 | +1 |