Git Product home page Git Product logo

Comments (10)

nicks avatar nicks commented on July 17, 2024

thanks for the report! I wasn't able to reproduce this problem on my machine, but i don't see what's different between my env and your env. Can you try running:

minikube ssh -- find /etc/containerd -ls

on a running minikube cluster

and post the output?

from ctlptl.

ThirVondukr avatar ThirVondukr commented on July 17, 2024
$ minikube ssh
Last login: Tue Jul 11 17:04:51 2023 from 172.17.0.1
docker@minikube:~$ find /etc/containerd -ls
    20398      4 drwxr-xr-x   1 root     root         4096 Jul 11 17:04 /etc/containerd
    31819      4 -rw-r--r--   1 root     root         1880 Jul 11 17:04 /etc/containerd/config.toml
    20399      4 -rw-r--r--   1 root     root          886 Jan  9  2023 /etc/containerd/config.toml.dpkg-dist
    15581      4 drwxr-xr-x   3 root     root         4096 Jan 27 00:09 /etc/containerd/certs.d
    15582      4 drwxr-xr-x   2 root     root         4096 Jan 27 00:09 /etc/containerd/certs.d/docker.io
    15583      4 -rw-r--r--   1 root     root           39 Jan 27 00:04 /etc/containerd/certs.d/docker.io/hosts.toml

It's a node created with just minikube, do you need one that was specifically created using ctlptl?

from ctlptl.

nicks avatar nicks commented on July 17, 2024

ah, one with created with ctlptl.

the docker network minikube errors in your original logs look suspicious; my hunch is that it's not properly setting up the registry networking, so when ctlptl tries to verify that everything's working, it fails.

from ctlptl.

ThirVondukr avatar ThirVondukr commented on July 17, 2024

Errors related to networking weren't at thing before I updated minikube, but I can't recall which version I used 🤔, Error itself is present when I run minikube start too to create a new cluster.
Node created with ctlptl:

$ minikube ssh
Last login: Tue Jul 11 17:20:27 2023 from 172.17.0.1
docker@minikube:~$ find /etc/containerd -ls
    20398      8 drwxr-xr-x   1 root     root         4096 Jul 11 17:20 /etc/containerd
    33602      4 -rw-r--r--   1 root     root         1880 Jul 11 17:20 /etc/containerd/config.toml
    15581      4 drwxr-xr-x   1 root     root         4096 Jul 11 17:20 /etc/containerd/certs.d
    15582      4 drwxr-xr-x   2 root     root         4096 Jan 27 00:09 /etc/containerd/certs.d/docker.io
    15583      4 -rw-r--r--   1 root     root           39 Jan 27 00:04 /etc/containerd/certs.d/docker.io/hosts.toml
    33604      4 drwxr-xr-x   2 root     root         4096 Jul 11 17:20 /etc/containerd/certs.d/ctlptl-registry:5000
    33605      4 -rw-r--r--   1 root     root           98 Jul 11 17:20 /etc/containerd/certs.d/ctlptl-registry:5000/hosts.toml
    20399      4 -rw-r--r--   1 root     root          886 Jan  9  2023 /etc/containerd/config.toml.dpkg-dist

from ctlptl.

nicks avatar nicks commented on July 17, 2024

can you file a bug upstream about the docker network minikube error?

my concern is: we can try to fix this particular error message in ctlptl. but if the networking is fundamentally broken, i'm not sure we'll be able to fix your issue at our level, we'll just hit another error message further along.

from ctlptl.

ThirVondukr avatar ThirVondukr commented on July 17, 2024

Creating network manually solved issue with it: kubernetes/minikube#12950 (comment)

But it still can't configure registry 🤔

$ ctlptl create cluster minikube --registry ctlptl-registry
�  minikube v1.30.1 on Microsoft Windows 10 Pro 10.0.19044.3086 Build 19044.3086
✨  Using the docker driver based on user configuration
�  Using Docker Desktop driver with root privileges
�  Starting control plane node minikube in cluster minikube
�  Pulling base image ...
�  Creating docker container (CPUs=2, Memory=16100MB) ...
�  Preparing Kubernetes v1.26.3 on containerd 1.6.20 ...
    ▪ kubelet.max-pods=500
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
�  Configuring CNI (Container Networking Interface) ...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
�  Verifying Kubernetes components...
�  Enabled addons: storage-provisioner, default-storageclass
�  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
cp: cannot stat '/etc/containerd/certs.d/172.17.0.2:5000': No such file or directory
ssh: Process exited with status 1
configuring minikube registry: exit status 1

from ctlptl.

nicks avatar nicks commented on July 17, 2024

hmmm still need a repro case though. do you have any local settings in minikube config view?

from ctlptl.

ThirVondukr avatar ThirVondukr commented on July 17, 2024

No, it's empty

from ctlptl.

ThirVondukr avatar ThirVondukr commented on July 17, 2024

Very interesting, it seems to be working now, but I didn't change anything 😅

from ctlptl.

nicks avatar nicks commented on July 17, 2024

😅 🤷 ok, let's close for now, and we can re-open if we see it again

from ctlptl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.