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

MSB kube2msb registrator does not register LoadBalancer type service

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Beijing Release
    • Beijing Release
    • None

    Description

      When trying to register service with MSB using service annotation, encountered "Service info is not valid" error for LoadBalancer type of K8S service. If changed to "NodeType", the same annotation works fine. Below are kube2msb container log entries, with service type colored.

      ...
      2018-02-27 14:52:10.762820 I | Service Action: AddService for service bd-service-dcaegen2-collectors-ves
      2018-02-27 14:52:10.762843 I | Adding LoadBalancerIP service: bd-service-dcaegen2-collectors-ves
      2018-02-27 14:52:10.762848 I | Queued Service to be added: bd-service-dcaegen2-collectors-ves
      2018-02-27 14:52:10.762854 I | MSB Work Action: AddService ServiceInfo: [

      { "serviceName": "dcaegen2-collectors-ves", "version": "v5", "url": "/eventListener/v5", "protocol": "REST", "port": "8080", "enable_ssl": true, "visualRange": "1" }

      ]
      2018-02-27 14:52:10.762858 I | Service Info is not valid for AddService
      ...

      ...
      2018-02-27 15:16:15.404917 I | Service Action: AddService for service bd-service-dcaegen2-collectors-ves
      2018-02-27 15:16:15.404951 I | Adding NodePort service:bd-service-dcaegen2-collectors-ves
      2018-02-27 15:16:15.404958 I | Queued Service to be added: bd-service-dcaegen2-collectors-ves
      2018-02-27 15:16:15.404967 I | MSB Work Action: AddService ServiceInfo: [

      { "serviceName": "dcaegen2-collectors-ves", "version": "v5", "url": "/eventListener/v5", "protocol": "REST", "port": "8080", "enable_ssl": true, "visualRange": "1" }

      ]
      2018-02-27 15:16:15.425182 I | Http request to register service:dcaegen2-collectors-ves returned code:201
      ...

      Attachments

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

        Activity

          People

            HuabingZhao HuabingZhao
            wrider Lusheng Ji
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: