Uploaded image for project: 'Microservices Bus'
  1. Microservices Bus
  2. MSB-150

Kube2msb doesn't unregister service

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:
      None

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              HuabingZhao HuabingZhao
              Reporter:
              HuabingZhao HuabingZhao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: