-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Installer]: report on container registry problems #6810
Comments
Generalising: the issue seems to arise when we want to pull a base image from docker hub. The question then becomes: why does it work when testing in a workspace, or more broadly, why does it work at all? |
@csweichel I wonder if this is the key. I've added loads of additional (insecure) logs in a branch (not to be merged) and found something interesting.... I've checked the response from repo.Auth.Authorize. In GCP, it ALWAYS returns back without an error (even on the very first time).
So, why is the network unreachable? |
It appears that in Azure, the And I've no idea why Interestingly, the Edit: unbelievably, if I set |
This is to be used as a notepad for an issue. Please ignore
502 Bad Gateway
errors, ending in#5 37.17 error: unexpected status: 502 Bad Gateway
------
error: failed to solve: unexpected status: 502 Bad Gateway
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","command":"build","error":"exit status 1","level":"error","message":"build failed","serviceContext":{"service":"bob","version":""},"severity":"ERROR","time":"2021-11-19T15:42:35Z"}
HEAD https://registry-1.docker.io/v2/gitpod/workspace-mongodb/manifests/latest
call. Works fine if using GCR based imageObservations:
gcr.io
registry, so not relevant to the FQDN status. The.dockerconfigjson
value appears valid when running locally as can push an image with the value set to~/.docker/config.json
Questions:
is the issue caused by a differentworkspace.runtime.containerdRuntimeDir
values? In GCP it's/var/lib/containerd/io.containerd.runtime.v2.task/k8s.io
, in Azure it's/run/containerd/io.containerd.runtime.v1.linux/k8s.io
or containerd versions?Azure usesshiftfs
, GCP usesfuse
http: proxy error: HEAD https://registry-1.docker.io/v2/gitpod/workspace-mongodb/manifests/latest
which GCP doesn't (is this causal or symptomatic?)The text was updated successfully, but these errors were encountered: