kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
16.26k stars 6.5k forks source link

warning about missing tc package #9242

Open rptaylor opened 2 years ago

rptaylor commented 2 years ago

Environment: Almalinux 8

Kubespray version (commit) (git rev-parse --short HEAD): 2.18.2

Kubespray invokes kubeadm like this, it generates a warning:

# /usr/local/bin/kubeadm join --config /etc/kubernetes/kubeadm-controlplane.yaml --ignore-preflight-errors=all --skip-phases=
[preflight] Running pre-flight checks
    [WARNING FileExisting-tc]: tc not found in system path

On EL8-based systems this should be fixed via sudo dnf install iproute-tc

yankay commented 2 years ago

the same as: https://github.com/kubernetes-sigs/kubespray/issues/4212

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

rptaylor commented 2 years ago

It looks like #4212 was closed without fixing the issue in Kubespray.

/remove-lifecycle stale

k8s-triage-robot commented 1 year ago

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

rptaylor commented 1 year ago

/remove-lifecycle stale

k8s-triage-robot commented 1 year ago

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

rptaylor commented 1 year ago

/remove-lifecycle stale

k8s-triage-robot commented 10 months ago

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

rptaylor commented 10 months ago

/remove-lifecycle stale

VannTen commented 10 months ago

Hum 2.18 is not supported anymore, does this still happens:

  1. On master ?
  2. On supported releases branches (2.24, 2.23, 2.22) ?
rptaylor commented 10 months ago

The newest version I am using at the moment is kubespray 2.20 (k8s 1.24) and it still happens:

$ sudo /usr/local/bin/kubeadm join --config /etc/kubernetes/kubeadm-controlplane.yaml --ignore-preflight-errors=all --skip-phases= 
[preflight] Running pre-flight checks
W0206 14:12:28.265219 3219445 checks.go:1021] [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: crictl is required by the container runtime: exec: "crictl": executable file not found in $PATH
    [WARNING FileAvailable--etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
    [WARNING FileExisting-crictl]: crictl not found in system path
    [WARNING FileExisting-tc]: tc not found in system path
VannTen commented 10 months ago

/triage needs-information (-> until we know if this still happens on supported versions)

k8s-triage-robot commented 7 months ago

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

rptaylor commented 7 months ago

/remove-lifecycle stale
Will have a look again next time I upgrade.

k8s-triage-robot commented 4 months ago

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

rptaylor commented 4 months ago

/remove-lifecycle stale

rptaylor commented 3 months ago

May not be the latest but still happens in 1.26:

$ sudo /usr/local/bin/kubeadm join --config /etc/kubernetes/kubeadm-client.conf
[preflight] Running pre-flight checks
W0809 17:01:56.974101 2634915 checks.go:1019] [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: crictl is required by the container runtime: executable file not found in $PATH
    [WARNING FileExisting-tc]: tc not found in system path
$ sudo /usr/local/bin/kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.11", GitCommit:"3cd242c51317aed8858119529ccab22079f523b1", GitTreeState:"clean", BuildDate:"2023-11-15T16:58:38Z", GoVersion:"go1.20.11", Compiler:"gc", Platform:"linux/amd64"}
k8s-triage-robot commented 3 weeks ago

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

rptaylor commented 3 weeks ago

/remove-lifecycle stale