-
Notifications
You must be signed in to change notification settings - Fork 46
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
Unexpected errors in log for node addresses instance metadata #131
Comments
Someone reported something similar the other day with podman, I think the errors comes from cloud-provider-kind/pkg/container/container.go Lines 132 to 150 in 7d92b65
If you can perform the docker inspect command manually to understand why it does not detect two ips it will help to debug |
Control Plane: # nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' 0c1ccb1a9660
10.4.1.2,fc00:f853:ccd:e793::210.244.0.1,10.244.0.1,10.244.0.1, Workers example: # nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' 78cb379f8a11
10.4.1.3,fc00:f853:ccd:e793::310.244.1.1,10.244.1.1,10.244.1.1,
# nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' 8cc8716a4db6
10.4.1.4,fc00:f853:ccd:e793::410.244.3.1,10.244.3.1,10.244.3.1,
# nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' e3e427961af0
10.4.1.5,fc00:f853:ccd:e793::510.244.2.1,10.244.2.1,
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: nyc3-shared
nodes:
- role: control-plane
- role: worker
- role: worker
- role: worker Started with:
|
I noticed that one of the workers had a different number of network settings than the others. It was not a copy and paste error on my part as far as I could tell. Here are all of the processes to match up with the inspect commands above: # nerdctl ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0c1ccb1a9660 docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 "/usr/local/bin/entr…" 13 hours ago Up 127.0.0.1:34487->6443/tcp nyc3-shared-control-plane
78cb379f8a11 docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 "/usr/local/bin/entr…" 13 hours ago Up nyc3-shared-worker
8cc8716a4db6 docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 "/usr/local/bin/entr…" 13 hours ago Up nyc3-shared-worker2
e3e427961af0 docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 "/usr/local/bin/entr…" 13 hours ago Up nyc3-shared-worker3 |
can you paste the entire inspect without the format statement? I'm curious about what has change to report so many IPs in a container |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
I'm assuming there shouldn't be errors for a task like getting unexpected amount of metadata?
Logs:
Environment:
$ uname -a Linux REDACTED 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux $ kind --version kind version 0.24.0 $ nerdctl version Client: Version: v1.7.7 OS/Arch: linux/amd64 Git commit: 5882c720f4e7f358fb26b759e514b3ae9dd8ea83 buildctl: Version: v0.15.2 GitCommit: 9e14164a1099d3e41b58fc879cbdd6f2b2edb04e Server: containerd: Version: v1.7.22 GitCommit: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c runc: Version: 1.1.14 GitCommit: v1.1.14-0-g2c9f5602
The text was updated successfully, but these errors were encountered: