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

Kube2msb doesn't unregister service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None

      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

            huabingzhao huabingzhao
            huabingzhao huabingzhao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: