l2-k3d-multi
l2-k3d-multi copied to clipboard
Running on Mac
Hi,
I was able to get the example running on mac using PR #3, but I'm seeing a failure on the link step.
the linkerd mc check command returns this
x remote cluster access credentials are valid
* failed to connect to API for cluster: [west]: Get "https://172.18.0.6:6443/version?timeout=30s": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
see https://linkerd.io/checks/#l5d-smc-target-clusters-access for hints
W0511 09:19:44.728000 75418 transport.go:260] Unable to cancel request for promhttp.RoundTripperFunc
x clusters share trust anchors
Problematic clusters:
* west: unable to fetch anchors: Get "https://172.18.0.6:6443/api/v1/namespaces/linkerd/configmaps/linkerd-config?timeout=30s": context deadline exceeded
see https://linkerd.io/checks/#l5d-multicluster-clusters-share-anchors for hints
I see this in the service-mirror logs
time="2021-05-11T15:17:40Z" level=info msg="Received: RepairEndpoints" apiAddress="https://172.18.0.6:6443" cluster=remote
time="2021-05-11T15:17:43Z" level=warning msg="Gateway returned unexpected status 503. Marking as unhealthy" probe-key=west
I'm able to curl between the clusters, so I'm not sure why there is a timeout. Do you have any ideas on what could be causing this?
Got same error on macOS after link
:
➜ linkerd --context=k3d-west multicluster check
linkerd-multicluster
--------------------
√ Link CRD exists
√ Link resources are valid
* east
× remote cluster access credentials are valid
* failed to connect to API for cluster: [east]: Get "https://172.18.0.4:6443/version?timeout=30s": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
see https://linkerd.io/2.10/checks/#l5d-smc-target-clusters-access for hints
W0803 12:54:03.243432 8945 transport.go:260] Unable to cancel request for promhttp.RoundTripperFunc
× clusters share trust anchors
Problematic clusters:
* east: unable to fetch anchors: Get "https://172.18.0.4:6443/api/v1/namespaces/linkerd/configmaps/linkerd-config?timeout=30s": context deadline exceeded
see https://linkerd.io/2.10/checks/#l5d-multicluster-clusters-share-anchors for hints
√ service mirror controller has required permissions
* east
√ service mirror controllers are running
* east
Status check results are ×
However, the demo can still run well.
More info from @jblackburn21 regarding this issue is at https://linkerd.slack.com/archives/C89RTCWJF/p1621264019131700?thread_ts=1620836050.032800&cid=C89RTCWJF https://linkerd.slack.com/archives/C89RTCWJF/p1628029929120800?thread_ts=1620836050.032800&cid=C89RTCWJF for future reference.