Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Beijing Release
-
None
-
MSB Sprint 10
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: [
]
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: [
]
2018-02-27 15:16:15.425182 I | Http request to register service:dcaegen2-collectors-ves returned code:201
...