Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
[orabos] add conntrack and crictl
Browse files Browse the repository at this point in the history
to fix kubeadm preflight checks
kubeadm.sh[343685]: error execution phase preflight: [preflight] Some fatal errors occurred:
kubeadm.sh[343685]:         [ERROR FileExisting-crictl]: crictl not found in system path
node003-bb274 kubeadm.sh[343685]:         [ERROR FileExisting-conntrack]: conntrack not found in system path
  • Loading branch information
defo89 committed May 24, 2024
1 parent 4a78daa commit 6e4af13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions features/orabos/exec.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ create neutron 42435 openvswitch
create nova 42436 libvirt openvswitch
mkdir -p /var/lib/nova/{.ssh,instances,mnt}
chown -R nova:libvirt-qemu /var/lib/nova/{instances,mnt}

# crictl
CRI_VERSION=1.27.0

wget --show-progress --progress=bar:force -4 -P /usr/local/bin \
https://github.com/kubernetes-sigs/cri-tools/releases/download/v${CRI_VERSION}/crictl-v${CRI_VERSION}-linux-amd64.tar.gz

rm -f /root/.wget-hsts

tar -C /usr/local/bin -xf /usr/local/bin/crictl-v${CRI_VERSION}-linux-amd64.tar.gz
1 change: 1 addition & 0 deletions features/orabos/pkg.include
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ multipath-tools
open-iscsi
openvswitch-switch
jq
conntrack

0 comments on commit 6e4af13

Please sign in to comment.