Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AntonioMeireles/ffd9f318457ffe789e3d9a397a5c9325 to your computer and use it in GitHub Desktop.
Save AntonioMeireles/ffd9f318457ffe789e3d9a397a5c9325 to your computer and use it in GitHub Desktop.
c8s ❯❯❯ ./bin/nodeupd master ⬆ ✱
Ⓒ 2018-2019 António Meireles <antonio.meireles@reformi.st>
______________________________________________________
◉ running preflight checks (stage 0)
❏ checking GNU 'bash' >= v4 availability
✔ available
◉ no overrides found - assuming plain defaults
◉ running preflight checks (stage 1)
✚ 'macOS/Darwin' detected
❏ checking if 'master.c8s.local' resolves properly (to '172.25.11.25')
✔ yes
❏ checking GNU '(g)sed' availability
✔ available
❏ checking 'envsubst' availability
✔ available
❏ checking 'cfssl' availability
✔ available
❏ checking 'kubectl' availability
✔ available
❏ checking 'helm' availability
✔ available
◉ updating cluster nodes
✚ node-4.c8s.local
❏ updates are available for Clear Linux: r28460 -> r29030
❏ 'kubelet' detected
❏ 'kubelet:v1.13.3@node-4.c8s.local' matches 'kubeadm:v1.13.3@node-4.c8s.local'
❏ 'etcdctl' presence detected
❏ checking '/usr/local/bin/etcdctl:v3.2.24@node-4.c8s.local'
✔ not modified
❏ draining
⎮ node/node-4.c8s.local cordoned
⎮ WARNING: ignoring DaemonSet-managed Pods: kube-system/cilium-sl8g6, kube-system/kube-proxy-2qvwf, metallb-system/metallb-speaker-gkv44
⎮ evicting pod "coredns-86c58d9df4-7b6gg"
⎮ evicting pod "contour-7d8bc78d74-gwlqg"
⎮ evicting pod "metrics-server-8498d59497-gjvtg"
⎮ evicting pod "tiller-deploy-6766bbf68c-gcsvg"
⎮ evicting pod "metallb-controller-5d9b5b5475-q8jvs"
⎮ pod/metallb-controller-5d9b5b5475-q8jvs evicted
⎮ pod/coredns-86c58d9df4-7b6gg evicted
⎮ pod/tiller-deploy-6766bbf68c-gcsvg evicted
⎮ pod/metrics-server-8498d59497-gjvtg evicted
⎮ pod/contour-7d8bc78d74-gwlqg evicted
⎮ node/node-4.c8s.local evicted
❏ updating Clear Linux
⎮ Update started.
⎮ Preparing to update from 28460 to 29030
⎮ Downloading packs...
⎮ Extracting syslinux pack for version 29010
⎮ .
⎮ Extracting clr-network-troubleshooter pack for version 28470
⎮ Extracting dpdk pack for version 29030
⎮ Extracting net-tools pack for version 28810
⎮ Extracting openvswitch pack for version 28910
⎮ Extracting parted pack for version 28710
⎮ Extracting man-pages pack for version 28660
⎮ Extracting procps-ng pack for version 28810
⎮ .
⎮ Extracting file pack for version 28970
⎮ Extracting htop pack for version 29010
⎮ Extracting iproute2 pack for version 29010
⎮ Extracting irssi pack for version 29010
⎮ .
⎮ Extracting libglib pack for version 28890
⎮ ...
⎮ Extracting tmux pack for version 28810
⎮ Extracting tzdata pack for version 28560
⎮ .
⎮ Extracting wpa_supplicant pack for version 29010
⎮ Extracting zstd pack for version 28920
⎮ Statistics for going from version 28460 to version 29030:
⎮ changed bundles : 47
⎮ new bundles : 8
⎮ deleted bundles : 0
⎮ changed files : 8217
⎮ new files : 14777
⎮ deleted files : 3064
⎮ Starting download of remaining update content. This may take a while...
⎮ ..............Error: Curl - Download error - (92) Stream error in the HTTP/2 framing layer
⎮ ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Finishing download of update content...
⎮ Curl - Reducing number of parallel downloads to 1
⎮ Curl - Starting download retry #1 for https://cdn.download.clearlinux.org/update//29010/files/ec3b4bcdf98bcb6c958f9dcae93f80524910898703cb5329b7eae5c15285a234.tar
⎮ Curl - Resuming download for 'https://cdn.download.clearlinux.org/update//29010/files/ec3b4bcdf98bcb6c958f9dcae93f80524910898703cb5329b7eae5c15285a234.tar'
⎮ Error: Curl - Partial file downloaded from 'https://cdn.download.clearlinux.org/update//29010/files/ec3b4bcdf98bcb6c958f9dcae93f80524910898703cb5329b7eae5c15285a234.tar'
⎮ Curl - Starting download retry #2 for https://cdn.download.clearlinux.org/update//29010/files/ec3b4bcdf98bcb6c958f9dcae93f80524910898703cb5329b7eae5c15285a234.tar
⎮ Curl - Resuming download for 'https://cdn.download.clearlinux.org/update//29010/files/ec3b4bcdf98bcb6c958f9dcae93f80524910898703cb5329b7eae5c15285a234.tar'
⎮ Staging file content
⎮ Applying update
⎮ ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Update was applied.
⎮ Calling post-update helper scripts.
⎮ none
⎮ pacdiscovery.service: restarted (the binary was updated)
⎮ (Took 91 seconds)
⎮ systemd-udevd.service: restarted (the binary was updated)
⎮ (Took 6 seconds)
⎮ pacrunner.service: restarted (the binary was updated)
⎮ systemd-journald.service: restarted (the binary was updated)
⎮ mcelog.service: restarted (the binary was updated)
⎮ systemd-resolved.service: restarted (the binary was updated)
⎮ (Took 91 seconds)
⎮ systemd-timesyncd.service: restarted (the binary was updated)
⎮ Update took 1110.6 seconds, 295 MB transferred
⎮ 13483 files were not in a pack
⎮ Update successful. System updated from version 28460 to version 29030
❏ rebooting
✔ up again
❏ waiting for 'kubelet' to be ready
❏ rejoining k8s cluster
⎮ node/node-4.c8s.local uncordoned
❏ waiting for Cilium all pods to come backs
✔ Cilium is now realy ready for consumption in all nodes
❏ ready again
✚ node-1.c8s.local
❏ updates are available for Clear Linux: r28460 -> r29030
❏ 'kubelet' detected
❏ 'kubelet:v1.13.3@node-1.c8s.local' matches 'kubeadm:v1.13.3@node-1.c8s.local'
❏ 'etcdctl' presence detected
❏ checking '/usr/local/bin/etcdctl:v3.2.24@node-1.c8s.local'
✔ not modified
❏ draining
⎮ node/node-1.c8s.local cordoned
⎮ WARNING: ignoring DaemonSet-managed Pods: kube-system/cilium-n55pz, kube-system/kube-proxy-b9zlp, metallb-system/metallb-speaker-tfsld
⎮ evicting pod "metallb-controller-5d9b5b5475-xhrpf"
⎮ evicting pod "coredns-86c58d9df4-bmjmw"
⎮ evicting pod "contour-7d8bc78d74-jg7ml"
⎮ pod/metallb-controller-5d9b5b5475-xhrpf evicted
⎮ pod/coredns-86c58d9df4-bmjmw evicted
⎮ pod/contour-7d8bc78d74-jg7ml evicted
⎮ node/node-1.c8s.local evicted
❏ updating Clear Linux
⎮ Update started.
⎮ Preparing to update from 28460 to 29030
⎮ Downloading packs...
⎮ Extracting syslinux pack for version 29010
⎮ .
⎮ Extracting clr-network-troubleshooter pack for version 28470
⎮ Extracting dpdk pack for version 29030
⎮ Extracting net-tools pack for version 28810
⎮ Extracting openvswitch pack for version 28910
⎮ Extracting parted pack for version 28710
⎮ Extracting man-pages pack for version 28660
⎮ .
⎮ Extracting procps-ng pack for version 28810
⎮ Extracting file pack for version 28970
⎮ Extracting htop pack for version 29010
⎮ Extracting iproute2 pack for version 29010
⎮ Extracting irssi pack for version 29010
⎮ .
⎮ Extracting libglib pack for version 28890
⎮ ..
⎮ Extracting tmux pack for version 28810
⎮ Extracting tzdata pack for version 28560
⎮ .
⎮ Extracting wpa_supplicant pack for version 29010
⎮ Extracting zstd pack for version 28920
⎮ Statistics for going from version 28460 to version 29030:
⎮ changed bundles : 46
⎮ new bundles : 8
⎮ deleted bundles : 0
⎮ changed files : 8217
⎮ new files : 14777
⎮ deleted files : 3064
⎮ Starting download of remaining update content. This may take a while...
⎮ ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Finishing download of update content...
⎮ Staging file content
⎮ Applying update
⎮ ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Update was applied.
⎮ Calling post-update helper scripts.
⎮ none
⎮ pacdiscovery.service: restarted (the binary was updated)
⎮ (Took 2 seconds)
⎮ systemd-udevd.service: restarted (the binary was updated)
⎮ (Took 7 seconds)
⎮ nginx.service: restarted (the binary was updated)
⎮ pacrunner.service: restarted (the binary was updated)
⎮ systemd-journald.service: restarted (the binary was updated)
⎮ mcelog.service: restarted (the binary was updated)
⎮ systemd-resolved.service: restarted (the binary was updated)
⎮ (Took 91 seconds)
⎮ systemd-timesyncd.service: restarted (the binary was updated)
⎮ Update took 809.9 seconds, 295 MB transferred
⎮ 13483 files were not in a pack
⎮ Update successful. System updated from version 28460 to version 29030
❏ rebooting
✔ up again
❏ waiting for 'kubelet' to be ready
❏ waiting all the control-plane pods are ready
✔ kube-apiserver
✔ kube-controller-manager
✔ kube-scheduler
✔ etcd
❏ rejoining k8s cluster
⎮ node/node-1.c8s.local uncordoned
❏ waiting for Cilium all pods to come backs
✔ Cilium is now realy ready for consumption in all nodes
❏ ready again
✚ node-2.c8s.local
❏ updates are available for Clear Linux: r28460 -> r29030
❏ 'kubelet' detected
❏ 'kubelet:v1.13.3@node-2.c8s.local' matches 'kubeadm:v1.13.3@node-2.c8s.local'
❏ 'etcdctl' presence detected
❏ checking '/usr/local/bin/etcdctl:v3.2.24@node-2.c8s.local'
✔ not modified
❏ draining
⎮ node/node-2.c8s.local cordoned
⎮ WARNING: ignoring DaemonSet-managed Pods: kube-system/cilium-gn2xf, kube-system/kube-proxy-sftf4, metallb-system/metallb-speaker-gs456
⎮ evicting pod "metrics-server-8498d59497-f8l5h"
⎮ evicting pod "coredns-86c58d9df4-dkr7l"
⎮ evicting pod "tiller-deploy-6766bbf68c-9w8v4"
⎮ evicting pod "contour-7d8bc78d74-whf9t"
⎮ pod/tiller-deploy-6766bbf68c-9w8v4 evicted
⎮ pod/metrics-server-8498d59497-f8l5h evicted
⎮ pod/coredns-86c58d9df4-dkr7l evicted
⎮ pod/contour-7d8bc78d74-whf9t evicted
⎮ node/node-2.c8s.local evicted
❏ updating Clear Linux
⎮ Update started.
⎮ Preparing to update from 28460 to 29030
⎮ Downloading packs...
⎮ .
⎮ Extracting syslinux pack for version 29010
⎮ Extracting clr-network-troubleshooter pack for version 28470
⎮ Extracting dpdk pack for version 29030
⎮ Extracting net-tools pack for version 28810
⎮ Extracting openvswitch pack for version 28910
⎮ Extracting parted pack for version 28710
⎮ Extracting man-pages pack for version 28660
⎮ Extracting procps-ng pack for version 28810
⎮ .
⎮ Extracting file pack for version 28970
⎮ Extracting htop pack for version 29010
⎮ Extracting iproute2 pack for version 29010
⎮ Extracting irssi pack for version 29010
⎮ .
⎮ Extracting libglib pack for version 28890
⎮ ..
⎮ Extracting tmux pack for version 28810
⎮ Extracting tzdata pack for version 28560
⎮ .
⎮ Extracting wpa_supplicant pack for version 29010
⎮ Extracting zstd pack for version 28920
⎮ Statistics for going from version 28460 to version 29030:
⎮ changed bundles : 46
⎮ new bundles : 8
⎮ deleted bundles : 0
⎮ changed files : 8217
⎮ new files : 14777
⎮ deleted files : 3064
⎮ Starting download of remaining update content. This may take a while...
⎮ ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Finishing download of update content...
⎮ Staging file content
⎮ Applying update
⎮ ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Update was applied.
⎮ Calling post-update helper scripts.
⎮ none
⎮ pacdiscovery.service: restarted (the binary was updated)
⎮ systemd-udevd.service: restarted (the binary was updated)
⎮ (Took 6 seconds)
⎮ nginx.service: restarted (the binary was updated)
⎮ pacrunner.service: restarted (the binary was updated)
⎮ systemd-journald.service: restarted (the binary was updated)
⎮ mcelog.service: restarted (the binary was updated)
⎮ systemd-resolved.service: restarted (the binary was updated)
⎮ (Took 90 seconds)
⎮ systemd-timesyncd.service: restarted (the binary was updated)
⎮ Update took 366.2 seconds, 295 MB transferred
⎮ 13483 files were not in a pack
⎮ Update successful. System updated from version 28460 to version 29030
❏ rebooting
✔ up again
❏ waiting for 'kubelet' to be ready
❏ waiting all the control-plane pods are ready
✔ kube-apiserver
✔ kube-controller-manager
✔ kube-scheduler
✔ etcd
❏ rejoining k8s cluster
⎮ node/node-2.c8s.local uncordoned
❏ waiting for Cilium all pods to come backs
✔ Cilium is now realy ready for consumption in all nodes
❏ ready again
✚ node-3.c8s.local
❏ updates are available for Clear Linux: r28460 -> r29030
❏ 'kubelet' detected
❏ 'kubelet:v1.13.3@node-3.c8s.local' matches 'kubeadm:v1.13.3@node-3.c8s.local'
❏ 'etcdctl' presence detected
❏ checking '/usr/local/bin/etcdctl:v3.2.24@node-3.c8s.local'
✔ not modified
❏ draining
⎮ node/node-3.c8s.local cordoned
⎮ WARNING: ignoring DaemonSet-managed Pods: kube-system/cilium-qrzpq, kube-system/kube-proxy-q6vbb, metallb-system/metallb-speaker-wg99x
⎮ evicting pod "coredns-86c58d9df4-mkgrj"
⎮ evicting pod "metallb-controller-5d9b5b5475-g5kj4"
⎮ evicting pod "contour-7d8bc78d74-9zlx4"
⎮ pod/metallb-controller-5d9b5b5475-g5kj4 evicted
⎮ pod/coredns-86c58d9df4-mkgrj evicted
⎮ pod/contour-7d8bc78d74-9zlx4 evicted
⎮ node/node-3.c8s.local evicted
❏ updating Clear Linux
⎮ Update started.
⎮ Preparing to update from 28460 to 29030
⎮ Downloading packs...
⎮ Extracting syslinux pack for version 29010
⎮ .
⎮ Extracting clr-network-troubleshooter pack for version 28470
⎮ Extracting dpdk pack for version 29030
⎮ Extracting net-tools pack for version 28810
⎮ Extracting openvswitch pack for version 28910
⎮ Extracting parted pack for version 28710
⎮ Extracting man-pages pack for version 28660
⎮ .
⎮ Extracting procps-ng pack for version 28810
⎮ Extracting file pack for version 28970
⎮ Extracting htop pack for version 29010
⎮ Extracting iproute2 pack for version 29010
⎮ Extracting irssi pack for version 29010
⎮ .
⎮ Extracting libglib pack for version 28890
⎮ ..
⎮ Extracting tmux pack for version 28810
⎮ Extracting tzdata pack for version 28560
⎮ .
⎮ Extracting wpa_supplicant pack for version 29010
⎮ Extracting zstd pack for version 28920
⎮ Statistics for going from version 28460 to version 29030:
⎮ changed bundles : 46
⎮ new bundles : 8
⎮ deleted bundles : 0
⎮ changed files : 8217
⎮ new files : 14777
⎮ deleted files : 3064
⎮ Starting download of remaining update content. This may take a while...
⎮ ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Finishing download of update content...
⎮ Staging file content
⎮ Applying update
⎮ ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
⎮ Update was applied.
⎮ Calling post-update helper scripts.
⎮ none
⎮ pacdiscovery.service: restarted (the binary was updated)
⎮ systemd-udevd.service: restarted (the binary was updated)
⎮ (Took 6 seconds)
⎮ nginx.service: restarted (the binary was updated)
⎮ pacrunner.service: restarted (the binary was updated)
⎮ systemd-journald.service: restarted (the binary was updated)
⎮ mcelog.service: restarted (the binary was updated)
⎮ systemd-resolved.service: restarted (the binary was updated)
⎮ (Took 90 seconds)
⎮ systemd-timesyncd.service: restarted (the binary was updated)
⎮ Update took 328.4 seconds, 295 MB transferred
⎮ 13483 files were not in a pack
⎮ Update successful. System updated from version 28460 to version 29030
❏ rebooting
✔ up again
❏ waiting for 'kubelet' to be ready
❏ waiting all the control-plane pods are ready
✔ kube-apiserver
✔ kube-controller-manager
✔ kube-scheduler
✔ etcd
❏ rejoining k8s cluster
⎮ node/node-3.c8s.local uncordoned
❏ waiting for Cilium all pods to come backs
✔ Cilium is now realy ready for consumption in all nodes
❏ ready again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment