Skip to content
Snippets Groups Projects
Commit 407c0d14 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

Merge branch 'fix_oas_install' into 'master'

Fix oas install

See merge request openappstack/openappstack!441
parents b72f4fb9 77bbffc5
No related branches found
No related tags found
No related merge requests found
......@@ -259,8 +259,8 @@ Lets take it as an example how to debug the root cause.
If ever things fail beyond possible recovery, here's how to completely purge an OAS installation in order to start from scratch:
cluster$ systemctl stop k3s
cluster$ /usr/local/bin/k3s-killall.sh
cluster$ systemctl disable k3s
cluster$ mount | egrep '(kubelet|nsfs|k3s)' | cut -d' ' -f 3 | xargs -n 1 umount
cluster$ mount | egrep '(kubelet|nsfs|k3s)' | cut -d' ' -f 3 | xargs --no-run-if-empty -n 1 umount
cluster$ rm -rf /var/lib/{rancher,OpenAppStack,kubelet,cni,docker,etcd} /etc/{kubernetes,rancher} /var/log/{OpenAppStack,containers,pods} /tmp/k3s /etc/systemd/system/k3s.service
cluster$ systemctl reboot
......@@ -8,7 +8,7 @@ flux install \
--namespace=flux-system
# get current git branch name
branch=$CI_COMMIT_REF_NAME
branch=${CI_COMMIT_REF_NAME:-}
[ -z "$branch" ] && branch=$(git rev-parse --abbrev-ref HEAD)
echo "Tracking branch $branch for https://open.greenhost.net/openappstack/openappstack flux repo"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment