From 897ae3c9b36351a93eabf15c4c3661d3de886226 Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 24 Oct 2022 19:11:57 +0100 Subject: [PATCH] k8s: pin juju agent version to 2.9.34 Later versions have issues with healthchecks on the charm container; pin to .34 which seems to be more reliable. Change-Id: Iee1feb7c0d11c600fb2b8dd1918873abda4ddff3 --- playbooks/microk8s-cloud.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/microk8s-cloud.yaml b/playbooks/microk8s-cloud.yaml index a1deb75..50c71c0 100644 --- a/playbooks/microk8s-cloud.yaml +++ b/playbooks/microk8s-cloud.yaml @@ -105,7 +105,7 @@ - name: juju is bootstrapped on microk8s command: - cmd: juju bootstrap microk8s microk8s + cmd: juju bootstrap --agent-version=2.9.34 microk8s microk8s register: res changed_when: '"already exists" not in res.stderr' failed_when: '"ERROR" in res.stderr and "already exists" not in res.stderr'