Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on Mac #5

Open
jblackburn21 opened this issue May 11, 2021 · 2 comments
Open

Running on Mac #5

jblackburn21 opened this issue May 11, 2021 · 2 comments

Comments

@jblackburn21
Copy link

jblackburn21 commented May 11, 2021

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?

@hongbo-miao
Copy link
Contributor

hongbo-miao commented Aug 3, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants