Script started on 2024-02-16 13:11:50-05:00 [TERM="xterm-256color" TTY="/dev/pts/1" COLUMNS="197" LINES="55"] [?2004h]0;root@abida: ~/ric-dep/binroot@abida:~/ric-dep/bin# ./install_k8s_and_helm.sh./install_k8s_and_helm.sh [?2004l + KUBEV=1.16.0 + KUBECNIV=0.7.5 + HELMV=3.5.4 + DOCKERV=20.10.21 + echo running ./install_k8s_and_helm.sh running ./install_k8s_and_helm.sh + getopts :k:d:e:n:c o + [[ 3.5.4 == 2.* ]] + set -x + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive ++ hostname -I ++ hostname + echo '38.68.234.121 2607:b400:800:30:6e4:f040:142b:525d 2607:b400:800:30:28:3db8:787c:31cb abida' + printenv SHELL=/bin/bash COLORTERM=truecolor SUDO_GID=1000 SUDO_COMMAND=/bin/bash SUDO_USER=abida PWD=/root/ric-dep/bin LOGNAME=root XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.VVG8I2 HOME=/root LANG=en_US.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: XDG_CURRENT_DESKTOP=ubuntu:GNOME LESSCLOSE=/usr/bin/lesspipe %s %s TERM=xterm-256color LESSOPEN=| /usr/bin/lesspipe %s USER=root DISPLAY=:0 SHLVL=3 DEBUGINFOD_URLS= XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SUDO_UID=1000 MAIL=/var/mail/root DEBIAN_FRONTEND=noninteractive OLDPWD=/root _=/usr/bin/printenv + IPV6IF= + rm -rf /opt/config + mkdir -p /opt/config + echo '' + echo 1.16.0 + echo 0.7.5 + echo 3.5.4 ++ hostname -I + echo '38.68.234.121 2607:b400:800:30:6e4:f040:142b:525d 2607:b400:800:30:28:3db8:787c:31cb ' ++ curl ifconfig.co % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 36 100 36 0 0 251 0 --:--:-- --:--:-- --:--:-- 250 100 36 100 36 0 0 250 0 --:--:-- --:--:-- --:--:-- 250 + echo 2607:b400:800:30:6e4:f040:142b:525d ++ hostname -I + echo '38.68.234.121 2607:b400:800:30:6e4:f040:142b:525d 2607:b400:800:30:28:3db8:787c:31cb ' + echo __mtu__ + echo __cinder_volume_id__ ++ hostname + echo abida + ISAUX=false ++ cat /opt/config/stack_name.txt + [[ abida == *aux* ]] + modprobe -- ip_vs + modprobe -- ip_vs_rr + modprobe -- ip_vs_wrr + modprobe -- ip_vs_sh + modprobe -- nf_conntrack_ipv4 modprobe: FATAL: Module nf_conntrack_ipv4 not found in directory /lib/modules/6.5.0-18-generic + modprobe -- nf_conntrack_ipv6 modprobe: FATAL: Module nf_conntrack_ipv6 not found in directory /lib/modules/6.5.0-18-generic + modprobe -- nf_conntrack_proto_sctp modprobe: FATAL: Module nf_conntrack_proto_sctp not found in directory /lib/modules/6.5.0-18-generic + '[' '!' -z '' ']' ++ grep swap /etc/fstab ++ sed '/^[ \t]*#/ d' ++ sed 's/[\t ]/ /g' ++ tr -s ' ' ++ cut -f1 '-d ' + SWAPFILES= + '[' '!' -z ']' + echo '### Docker version = 20.10.21' ### Docker version = 20.10.21 + echo '### k8s version = 1.16.0' ### k8s version = 1.16.0 + echo '### helm version = 3.5.4' ### helm version = 3.5.4 + echo '### k8s cni version = 0.7.5' ### k8s cni version = 0.7.5 + KUBEVERSION=1.16.0-00 + CNIVERSION=0.7.5-00 + DOCKERVERSION=20.10.21 ++ lsb_release -r ++ sed 's/^[a-zA-Z:\t ]\+//g' + UBUNTU_RELEASE=22.04 + [[ 22.04 == 16.* ]] + [[ 22.04 == 18.* ]] + [[ 22.04 == 20.* ]] + echo 'Unsupported Ubuntu release (22.04) detected. Exit.' Unsupported Ubuntu release (22.04) detected. Exit. + echo 'docker version to use = 20.10.21' docker version to use = 20.10.21 + curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg + apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK + echo 'deb http://apt.kubernetes.io/ kubernetes-xenial main' + mkdir -p /etc/apt/apt.conf.d + echo 'APT::Acquire::Retries "3";' + apt-get update 0% [Working] Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease 0% [Connecting to security.ubuntu.com] Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease 0% [Connecting to security.ubuntu.com] Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease 0% [Connecting to security.ubuntu.com] 0% [Connecting to security.ubuntu.com (2620:2d:4002:1::102)] [Connecting to apt.kubernetes.io] Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease 0% [Connecting to apt.kubernetes.io] 0% [Waiting for headers] 0% [Working] 0% [Connecting to packages.cloud.google.com (2607:f8b0:4004:c1b::8b)] Hit:5 https://packages.cloud.google.com/apt kubernetes-xenial InRelease 0% [Working] 0% [Working] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 5% Reading package lists... 5% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 7% Reading package lists... 7% Reading package lists... 35% Reading package lists... 35% Reading package lists... 50% Reading package lists... 50% Reading package lists... 63% Reading package lists... 63% Reading package lists... 63% Reading package lists... 63% Reading package lists... 64% Reading package lists... 64% Reading package lists... 64% Reading package lists... 64% Reading package lists... 67% Reading package lists... 67% Reading package lists... 68% Reading package lists... 68% Reading package lists... 70% Reading package lists... 70% Reading package lists... 74% Reading package lists... 74% Reading package lists... 74% Reading package lists... 74% Reading package lists... 76% Reading package lists... 76% Reading package lists... 79% Reading package lists... 79% Reading package lists... 81% Reading package lists... 81% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 82% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 88% Reading package lists... 88% Reading package lists... 92% Reading package lists... 92% Reading package lists... 92% Reading package lists... 92% Reading package lists... 94% Reading package lists... 94% Reading package lists... 96% Reading package lists... 96% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done W: http://apt.kubernetes.io/dists/kubernetes-xenial/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. ++ apt-get install -y curl jq netcat make ipset moreutils + RES='Reading package lists... Building dependency tree... Reading state information... ipset is already the newest version (7.15-1build1). jq is already the newest version (1.6-2.1ubuntu3). make is already the newest version (4.3-4.1build1). moreutils is already the newest version (0.66-1). netcat is already the newest version (1.218-4ubuntu1). curl is already the newest version (7.81.0-1ubuntu1.15). 0 upgraded, 0 newly installed, 0 to remove and 217 not upgraded.' + [[ Reading package lists... Building dependency tree... Reading state information... ipset is already the newest version (7.15-1build1). jq is already the newest version (1.6-2.1ubuntu3). make is already the newest version (4.3-4.1build1). moreutils is already the newest version (0.66-1). netcat is already the newest version (1.218-4ubuntu1). curl is already the newest version (7.81.0-1ubuntu1.15). 0 upgraded, 0 newly installed, 0 to remove and 217 not upgraded. == */var/lib/dpkg/lock* ]] + APTOPTS='--allow-downgrades --allow-change-held-packages --allow-unauthenticated --ignore-hold ' + for PKG in kubeadm docker.io ++ dpkg --list ++ grep kubeadm ++ tr -s ' ' ++ cut -f3 -d ' ' + INSTALLED_VERSION=1.16.0-00 + '[' '!' -z 1.16.0-00 ']' + '[' kubeadm == kubeadm ']' + kubeadm reset -f [preflight] Running pre-flight checks W0216 13:12:16.999062 13789 removeetcdmember.go:79] [reset] No kubeadm config, using etcd pod spec to get data directory [reset] No etcd config found. Assuming external etcd [reset] Please, manually reset etcd to prevent further issues [reset] Stopping the kubelet service [reset] Unmounting mounted directories in "/var/lib/kubelet" W0216 13:12:17.001879 13789 cleanupnode.go:99] [reset] Failed to evaluate the "/var/lib/kubelet" directory. Skipping its unmount and cleanup: lstat /var/lib/kubelet: no such file or directory W0216 13:12:17.001899 13789 cleanupnode.go:81] [reset] Failed to remove containers: docker is required for container runtime: exec: "docker": executable file not found in $PATH [reset] Deleting contents of config directories: [/etc/kubernetes/manifests /etc/kubernetes/pki] [reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf] [reset] Deleting contents of stateful directories: [/etc/cni/net.d /var/lib/dockershim /var/run/kubernetes /var/lib/cni] The reset process does not reset or clean up iptables rules or IPVS tables. If you wish to reset iptables, you must do so manually by using the "iptables" command. If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar) to reset your system's IPVS tables. The reset process does not clean your kubeconfig files and you must remove them manually. Please, check the contents of the $HOME/.kube/config file. + rm -rf /root/.kube + apt-get -y --allow-downgrades --allow-change-held-packages --allow-unauthenticated --ignore-hold remove kubeadm kubelet kubectl kubernetes-cni Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done The following packages were automatically installed and are no longer required: conntrack cri-tools ebtables ethtool socat Use 'apt autoremove' to remove them. The following packages will be REMOVED: kubeadm kubectl kubelet kubernetes-cni The following held packages will be changed: kubeadm kubectl kubelet kubernetes-cni 0 upgraded, 0 newly installed, 4 to remove and 213 not upgraded. After this operation, 264 MB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 200585 files and directories currently installed.) Removing kubeadm (1.16.0-00) ... Removing kubectl (1.16.0-00) ... Removing kubelet (1.16.0-00) ... Removing kubernetes-cni (0.7.5-00) ... dpkg: warning: while removing kubernetes-cni, directory '/opt' not empty so not removed + for PKG in kubeadm docker.io ++ dpkg --list ++ grep docker.io ++ tr -s ' ' ++ cut -f3 -d ' ' + INSTALLED_VERSION= + '[' '!' -z ']' + apt-get -y autoremove Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done The following packages will be REMOVED: conntrack cri-tools ebtables ethtool socat 0 upgraded, 0 newly installed, 5 to remove and 213 not upgraded. After this operation, 55.0 MB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 200565 files and directories currently installed.) Removing conntrack (1:1.4.6-2build2) ... Removing cri-tools (1.26.0-00) ... Removing ebtables (2.0.11-4build2) ... Removing ethtool (1:5.16-1) ... Removing socat (1.7.4.1-3ubuntu4) ... Processing triggers for man-db (2.10.2-1) ... + '[' -z 20.10.21 ']' + apt-get install -y --allow-downgrades --allow-change-held-packages --allow-unauthenticated --ignore-hold docker.io=20.10.21 Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done Package docker.io is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Version '20.10.21' for 'docker.io' was not found + cat ./install_k8s_and_helm.sh: line 216: /etc/docker/daemon.json: No such file or directory + mkdir -p /etc/systemd/system/docker.service.d + systemctl enable docker.service Failed to enable unit: Unit file docker.service does not exist. + systemctl daemon-reload + systemctl restart docker Failed to restart docker.service: Unit docker.service not found. + '[' -z 0.7.5-00 ']' + apt-get install -y --allow-downgrades --allow-change-held-packages --allow-unauthenticated --ignore-hold kubernetes-cni=0.7.5-00 Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done The following NEW packages will be installed: kubernetes-cni 0 upgraded, 1 newly installed, 0 to remove and 213 not upgraded. Need to get 0 B/6,473 kB of archives. After this operation, 50.2 MB of additional disk space will be used. Selecting previously unselected package kubernetes-cni. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 200487 files and directories currently installed.) Preparing to unpack .../kubernetes-cni_0.7.5-00_amd64.deb ... Unpacking kubernetes-cni (0.7.5-00) ... Setting up kubernetes-cni (0.7.5-00) ... + '[' -z 1.16.0-00 ']' + apt-get install -y --allow-downgrades --allow-change-held-packages --allow-unauthenticated --ignore-hold kubeadm=1.16.0-00 kubelet=1.16.0-00 kubectl=1.16.0-00 Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done The following additional packages will be installed: conntrack cri-tools ebtables ethtool socat The following NEW packages will be installed: conntrack cri-tools ebtables ethtool kubeadm kubectl kubelet socat 0 upgraded, 8 newly installed, 0 to remove and 214 not upgraded. Need to get 0 B/58.3 MB of archives. After this operation, 269 MB of additional disk space will be used. Selecting previously unselected package conntrack. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 200503 files and directories currently installed.) Preparing to unpack .../0-conntrack_1%3a1.4.6-2build2_amd64.deb ... Unpacking conntrack (1:1.4.6-2build2) ... Selecting previously unselected package cri-tools. Preparing to unpack .../1-cri-tools_1.26.0-00_amd64.deb ... Unpacking cri-tools (1.26.0-00) ... Selecting previously unselected package ebtables. Preparing to unpack .../2-ebtables_2.0.11-4build2_amd64.deb ... Unpacking ebtables (2.0.11-4build2) ... Selecting previously unselected package ethtool. Preparing to unpack .../3-ethtool_1%3a5.16-1_amd64.deb ... Unpacking ethtool (1:5.16-1) ... Selecting previously unselected package socat. Preparing to unpack .../4-socat_1.7.4.1-3ubuntu4_amd64.deb ... Unpacking socat (1.7.4.1-3ubuntu4) ... Selecting previously unselected package kubelet. Preparing to unpack .../5-kubelet_1.16.0-00_amd64.deb ... Unpacking kubelet (1.16.0-00) ... Selecting previously unselected package kubectl. Preparing to unpack .../6-kubectl_1.16.0-00_amd64.deb ... Unpacking kubectl (1.16.0-00) ... Selecting previously unselected package kubeadm. Preparing to unpack .../7-kubeadm_1.16.0-00_amd64.deb ... Unpacking kubeadm (1.16.0-00) ... Setting up conntrack (1:1.4.6-2build2) ... Setting up kubectl (1.16.0-00) ... Setting up ebtables (2.0.11-4build2) ... Setting up socat (1.7.4.1-3ubuntu4) ... Setting up cri-tools (1.26.0-00) ... Setting up ethtool (1:5.16-1) ... Setting up kubelet (1.16.0-00) ... Setting up kubeadm (1.16.0-00) ... Processing triggers for man-db (2.10.2-1) ... + apt-mark hold docker.io kubernetes-cni kubelet kubeadm kubectl docker.io was already set on hold. kubernetes-cni set on hold. kubelet set on hold. kubeadm set on hold. kubectl set on hold. + kubeadm config images pull --kubernetes-version=1.16.0 docker is required for container runtime: exec: "docker": executable file not found in $PATH To see the stack trace of this error execute with --v=5 or higher + NODETYPE=master + '[' master == master ']' + [[ 1.16.0 == 1.13.* ]] + [[ 1.16.0 == 1.14.* ]] + [[ 1.16.0 == 1.15.* ]] + [[ 1.16.0 == 1.16.* ]] + cat + cat + kubeadm init --config /root/config.yaml [init] Using Kubernetes version: v1.16.0 [preflight] Running pre-flight checks [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: docker is required for container runtime: exec: "docker": executable file not found in $PATH error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist [ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1 [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` To see the stack trace of this error execute with --v=5 or higher + cd /root + rm -rf .kube + mkdir -p .kube + cp -i /etc/kubernetes/admin.conf /root/.kube/config cp: cannot stat '/etc/kubernetes/admin.conf': No such file or directory + chown root:root /root/.kube/config chown: cannot access '/root/.kube/config': No such file or directory + export KUBECONFIG=/root/.kube/config + KUBECONFIG=/root/.kube/config + echo KUBECONFIG=/root/.kube/config + kubectl get pods --all-namespaces W0216 13:12:35.384735 14712 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml W0216 13:12:35.412186 14727 loader.go:223] Config not found: /root/.kube/config unable to recognize "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused unable to recognize "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused unable to recognize "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused unable to recognize "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused unable to recognize "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused unable to recognize "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused + wait_for_pods_running 8 kube-system + NS=kube-system + CMD='kubectl get pods --all-namespaces ' + '[' kube-system '!=' all-namespaces ']' + CMD='kubectl get pods -n kube-system ' + KEYWORD=Running + '[' 2 == 3 ']' + CMD2='kubectl get pods -n kube-system | grep "Running" | wc -l' ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:12:35.606418 14754 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo 'waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:12:40.642191 14777 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:12:45.677553 14821 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:12:50.712585 14842 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:12:55.747149 14887 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:00.782400 14908 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:05.818456 14952 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:10.857371 14971 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:15.891685 15014 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:20.927218 15037 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:25.962299 15082 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:30.998187 15193 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:36.034330 15239 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:41.064151 15284 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:46.099707 15390 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:51.135134 15413 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:13:56.170321 15469 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:14:01.205509 15494 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:14:06.240568 15541 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:14:11.275257 15563 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:14:16.311203 15612 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 exit++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l' +++ kubectl get pods -n kube-system +++ grep Running +++ wc -l W0216 13:14:21.349491 15633 loader.go:223] Config not found: /root/.kube/config The connection to the server localhost:8080 was refused - did you specify the right host or port? + NUMPODS=0 + echo '> waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]' > waiting for 0/8 pods running in namespace [kube-system] with keyword [Running] + '[' 0 -lt 8 ']' + sleep 5 ^C [?2004h]0;root@abida: ~/ric-dep/binroot@abida:~/ric-dep/bin# exit [?2004l exit Script done on 2024-02-16 13:14:26-05:00 [COMMAND_EXIT_CODE="130"]