Skip to content

calicoctl node diags try to use docker but kubernetes runs with containerd #5637

@Trackhe

Description

@Trackhe

I have a problem with the connection between pods, so i find that site: https://projectcalico.docs.tigera.io/maintenance/troubleshoot/troubleshooting
and tried it out, but when i use 'calicoctl node diags' i get

Collecting diagnostics
Using temp dir: /tmp/calico2622145590
Dumping netstat
Dumping routes (IPv4)
Dumping routes (IPv6)
Dumping interface info (IPv4)
Dumping interface info (IPv6)
Dumping iptables (IPv4)
Dumping iptables (IPv6)
Dumping ipsets
Failed to run command: ipset list
Error: 
Dumping ipsets (container)
Failed to run command: docker run --rm --privileged --net=host calico/node ipset list
Error: 
Copying journal for calico-node.service
Dumping felix stats
Failed to run command: pkill -SIGUSR1 felix
Error: 
Copying Calico logs
Error creating log directory: mkdir /tmp/calico2622145590/diagnostics/logs: file exists

Diags saved to /tmp/calico2622145590/diags-20220219_151350.tar.gz
If required, you can upload the diagnostics bundle to a file sharing service
such as transfer.sh using curl or similar.  For example:

    curl --upload-file /tmp/calico2622145590/diags-20220219_151350.tar.gz https://transfer.sh//tmp/calico2622145590/diags-20220219_151350.tar.gz

but i use the newest version of kubernetes and that runs with containerd. where i activated systemd to. I created the kubelet with systemd too.

Calico version:

Client Version:    v3.22.0
Git commit:        a86e41d02
Cluster Version:   v3.22.0
Cluster Type:      typha,kdd,k8s,operator,bgp,kubeadm

Kubernetes version:

Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.4", GitCommit:"e6c093d87ea4cbb530a7b2ae91e54c0842d8308a", GitTreeState:"clean", BuildDate:"2022-02-16T12:32:02Z", GoVersion:"go1.17.7", Compiler:"gc", Platform:"linux/amd64"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions