skupper icon indicating copy to clipboard operation
skupper copied to clipboard

[v2] non-kube site links to single router when kube site in HA mode

Open ajssmith opened this issue 1 year ago • 0 comments

Describe the bug The non-kube site creates two links as expected but the host specified is to the same router on the HA site.

How To Reproduce Create a kube site configured for HA. Generate access grants and tokens. Create a non-kube site using access tokens

Expected behavior The expected behaviors is that non-kube site creates 2 links to router-1 and router-2 in the kube site configured for HA.

Additional context After redeem, two links can be observed:

apiVersion: skupper.io/v1alpha1 kind: Link metadata: creationTimestamp: null name: podman-to-east-1 spec: endpoints:

  • group: skupper-router-1 host: 172.18.255.201 name: edge port: "45671"
  • group: skupper-router-1 host: 172.18.255.201 name: inter-router port: "55671" tlsCredentials: podman-to-east status: {}

apiVersion: skupper.io/v1alpha1 kind: Link metadata: creationTimestamp: null name: podman-to-east-2 spec: endpoints:

  • group: skupper-router-2 host: 172.18.255.202 name: inter-router port: "55671"
  • group: skupper-router-2 host: 172.18.255.202 name: edge port: "45671" tlsCredentials: podman-to-east

Observing the router configuration the connector hosts both have the router-2 address: [ "connector", { "name": "podman-to-east-1", "role": "inter-router", "host": "172.18.255.202", "port": "55671", "sslProfile": "podman-to-east-profile" } ], [ "connector", { "name": "podman-to-east-2", "role": "inter-router", "host": "172.18.255.202", "port": "55671", "sslProfile": "podman-to-east-profile" } ],

ajssmith avatar Aug 27 '24 20:08 ajssmith