All of lore.kernel.org
 help / color / mirror / Atom feed
* kubeadm init --ignore-preflight-errors=... fails nvidia nano
@ 2020-05-21  7:21 Yocto
  0 siblings, 0 replies; only message in thread
From: Yocto @ 2020-05-21  7:21 UTC (permalink / raw)
  To: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 8732 bytes --]

kubeadm init fails on conntrack however lsmod shows it installed

lsmod |grep con
nf_conntrack_netlink    36868  0
nfnetlink              10710  2 nf_conntrack_netlink
nf_conntrack_ipv4      15556  2
nf_defrag_ipv4          2348  1 nf_conntrack_ipv4
xt_conntrack            4454  1
nf_conntrack          142151  6 nf_conntrack_ipv4,nf_conntrack_netlink,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
x_tables               41226  5 ip_tables,iptable_filter,ipt_MASQUERADE,xt_addrtype,xt_conntrack

and with --ignore-preflight-errors=... it still fails

root@jetson-nano-qspi-sd:~# kubeadm init --ignore-preflight-errors=... --pod-network-cidr=10.244.0.0/16 --v=5
I0521 07:17:37.135612   10539 initconfiguration.go:103] detected and using CRI socket: /var/run/dockershim.sock
I0521 07:17:37.136062   10539 interface.go:400] Looking for default routes with IPv4 addresses
I0521 07:17:37.136105   10539 interface.go:405] Default route transits interface "eth0"
I0521 07:17:37.136390   10539 interface.go:208] Interface eth0 is up
I0521 07:17:37.136557   10539 interface.go:256] Interface "eth0" has 2 addresses :[192.168.2.132/24 fe80::2e0:4cff:fe68:20d/64].
I0521 07:17:37.136651   10539 interface.go:223] Checking addr  192.168.2.132/24.
I0521 07:17:37.136684   10539 interface.go:230] IP found 192.168.2.132
I0521 07:17:37.136731   10539 interface.go:262] Found valid IPv4 address 192.168.2.132 for interface "eth0".
I0521 07:17:37.136760   10539 interface.go:411] Found active IP 192.168.2.132
I0521 07:17:37.136908   10539 version.go:183] fetching Kubernetes version from URL: https://dl.k8s.io/release/stable-1.txt
W0521 07:17:37.985197   10539 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[init] Using Kubernetes version: v1.18.3
[preflight] Running pre-flight checks
I0521 07:17:37.985770   10539 checks.go:577] validating Kubernetes and kubeadm version
I0521 07:17:37.985877   10539 checks.go:166] validating if the firewall is enabled and active
I0521 07:17:38.006216   10539 checks.go:201] validating availability of port 6443
I0521 07:17:38.006588   10539 checks.go:201] validating availability of port 10259
I0521 07:17:38.006706   10539 checks.go:201] validating availability of port 10257
I0521 07:17:38.006825   10539 checks.go:286] validating the existence of file /etc/kubernetes/manifests/kube-apiserver.yaml
I0521 07:17:38.006893   10539 checks.go:286] validating the existence of file /etc/kubernetes/manifests/kube-controller-manager.yaml
I0521 07:17:38.006977   10539 checks.go:286] validating the existence of file /etc/kubernetes/manifests/kube-scheduler.yaml
I0521 07:17:38.007101   10539 checks.go:286] validating the existence of file /etc/kubernetes/manifests/etcd.yaml
I0521 07:17:38.007181   10539 checks.go:432] validating if the connectivity type is via proxy or direct
I0521 07:17:38.007241   10539 checks.go:471] validating http connectivity to first IP address in the CIDR
I0521 07:17:38.007342   10539 checks.go:471] validating http connectivity to first IP address in the CIDR
I0521 07:17:38.007456   10539 checks.go:102] validating the container runtime
I0521 07:17:38.103903   10539 checks.go:128] validating if the service is enabled and active
I0521 07:17:38.233858   10539 checks.go:335] validating the contents of file /proc/sys/net/bridge/bridge-nf-call-iptables
I0521 07:17:38.233985   10539 checks.go:335] validating the contents of file /proc/sys/net/ipv4/ip_forward
I0521 07:17:38.234058   10539 checks.go:649] validating whether swap is enabled or not
I0521 07:17:38.234140   10539 checks.go:376] validating the presence of executable conntrack
I0521 07:17:38.234260   10539 checks.go:376] validating the presence of executable ip
I0521 07:17:38.234331   10539 checks.go:376] validating the presence of executable iptables
I0521 07:17:38.234386   10539 checks.go:376] validating the presence of executable mount
I0521 07:17:38.234456   10539 checks.go:376] validating the presence of executable nsenter
I0521 07:17:38.234550   10539 checks.go:376] validating the presence of executable ebtables
I0521 07:17:38.234636   10539 checks.go:376] validating the presence of executable ethtool
I0521 07:17:38.234777   10539 checks.go:376] validating the presence of executable socat
I0521 07:17:38.234814   10539 checks.go:376] validating the presence of executable tc
I0521 07:17:38.234899   10539 checks.go:376] validating the presence of executable touch
I0521 07:17:38.234942   10539 checks.go:520] running all checks
I0521 07:17:38.353978   10539 checks.go:406] checking whether the given node name is reachable using net.LookupHost
I0521 07:17:38.354066   10539 checks.go:618] validating kubelet version
I0521 07:17:38.490789   10539 checks.go:128] validating if the service is enabled and active
I0521 07:17:38.514091   10539 checks.go:201] validating availability of port 10250
I0521 07:17:38.514265   10539 checks.go:201] validating availability of port 2379
I0521 07:17:38.514364   10539 checks.go:201] validating availability of port 2380
I0521 07:17:38.514457   10539 checks.go:249] validating the existence and emptiness of directory /var/lib/etcd
[preflight] Some fatal errors occurred:
[ERROR FileExisting-conntrack]: conntrack not found in system path
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
error execution phase preflight
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:235
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:422
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:207
k8s.io/kubernetes/cmd/kubeadm/app/cmd.NewCmdInit.func1
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/init.go:147
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:826
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:914
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:864
k8s.io/kubernetes/cmd/kubeadm/app.Run
/home/dingo/yocto/NANO/build/tmp/work/aarch64-poky-linux/kubernetes/v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8-r0/kubernetes-v1.18.3-beta+gitfe3ac3e38838a09dfd4b48d568083144211a95f8/src/import/_output/local/go/src/k8s.io/kubernetes/cmd/kubeadm/app/kubeadm.go:50
main.main
_output/local/go/src/k8s.io/kubernetes/cmd/kubeadm/kubeadm.go:25
runtime.main
/usr/lib/go/src/runtime/proc.go:203
runtime.goexit
/usr/lib/go/src/runtime/asm_arm64.s:1148
root@jetson-nano-qspi-sd:~#

[-- Attachment #2: Type: text/html, Size: 9970 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-21  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21  7:21 kubeadm init --ignore-preflight-errors=... fails nvidia nano Yocto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.