question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect to internal registry

See original GitHub issue

I followed the instructions here https://microk8s.io/docs/registry-built-in and different variations I found including 0.0.0.0 but in each case there is nothing listening / exposed on 32000

When trying to debug the previous issue I reported https://github.com/canonical/microk8s/issues/3082 I noticed the calico vxlan nic gave access to the cluster so tried tagging the image to be that so <vxlan.calico.ip>:32000/my-image and with that I was able to push successfully to the microk8s registry; however, when attempting to deploy a chart it results in an Image Pull error

Is there a recommended previous stable version of microk8s where everything is working because the latest stable version unfortunately doesn’t seem to be all that stable or perhaps the latest documentation is not in sync with the release inspection-report-20220429_173027.tar.gz

Please run microk8s inspect and attach the generated tarball to this issue.

We appreciate your feedback. Thank you for using microk8s.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
SamDcommented, May 31, 2022

@balchua An update on this, I decided to look at this again and it appears related to running docker in rootless mode : https://docs.docker.com/engine/security/rootless/

I switched back to standard docker engine install for Ubuntu https://docs.docker.com/engine/install/ubuntu/ and it worked fine. I’m not sure what the specifics are with the rootless setup that result in the failures, there are limitations listed on the page, but figured I would provide the update here as a heads up

0reactions
SamDcommented, May 6, 2022

@SamD @thebpmgroup are you both runnin microk8s on VMs?

The one i showed above is im running directly without vm.

Yes I’m running snap from now Ubuntu 22.04, I haven’t tried again since my last update here , I don’t have a lot of time to try to dig into the root cause although if I find some time over the weekend I might try again since I upgraded my distro.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker login to internal registry failed with service account as ...
Issue. Failed to login to the internal registry when Openshift cluster is log in with service account. Raw.
Read more >
help - unable to login to the internal registry : r/openshift - Reddit
I have exposed the route to the registry [user@openshift-workstation ~]$ oc get route NAME HOST/PORT PATH SERVICES PORT TERMINATION ...
Read more >
Known Issues - Setting up the Registry | Configuring Clusters
Pushing to a container image registry occasionally fails with the following error: Received unexpected HTTP status: 500 Internal Server Error.
Read more >
Troubleshoot login to registry - Azure Container Registry
Causes · Docker isn't configured properly in your environment - solution · The registry doesn't exist or the name is incorrect - solution...
Read more >
Docker Desktop for Windows
C:\>docker run hello-world Unable to find image 'hello-world:latest' ... Host:registry-1.docker.io:443 (Origin): Failed to connect to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found