From fe935037f7231549219a26b7b56306c7cda2b377 Mon Sep 17 00:00:00 2001 From: "A. F. Dudley" Date: Sun, 8 Mar 2026 04:32:20 +0000 Subject: [PATCH] fix: add laconic-so update step, downgrade unified mount check to warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add laconic_so_repo variable (/home/rix/stack-orchestrator) and a git pull task before deployment start — the editable install must be current or stale code causes deploy failures - Downgrade unified mount root check from fatal assertion to debug warning — the mount style depends on which laconic-so version is deployed, and individual PV mounts (/mnt/validator-*) work fine Co-Authored-By: Claude Opus 4.6 --- playbooks/biscayne-redeploy.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/playbooks/biscayne-redeploy.yml b/playbooks/biscayne-redeploy.yml index cef45372..06247e6b 100644 --- a/playbooks/biscayne-redeploy.yml +++ b/playbooks/biscayne-redeploy.yml @@ -52,6 +52,7 @@ stack_repo: /srv/deployments/agave-stack stack_path: /srv/deployments/agave-stack/stack-orchestrator/stacks/agave laconic_so: /home/rix/.local/bin/laconic-so + laconic_so_repo: /home/rix/stack-orchestrator kind_cluster: laconic-70ce4c4b47e23b85 k8s_namespace: "laconic-{{ kind_cluster }}" deployment_name: "{{ kind_cluster }}-deployment" @@ -216,11 +217,28 @@ changed_when: true tags: [deploy] - - name: Verify kind-config.yml has unified mount root + - name: Check kind-config.yml mount style ansible.builtin.command: "grep -c 'containerPath: /mnt$' {{ deployment_dir }}/kind-config.yml" register: mount_root_check - failed_when: mount_root_check.stdout | int < 1 changed_when: false + failed_when: false + tags: [deploy] + + - name: Warn if unified mount root not found + ansible.builtin.debug: + msg: >- + WARNING: kind-config.yml does not have unified mount root + (containerPath: /mnt). laconic-so may be using individual PV mounts. + Verify PV hostPaths match expected paths after deploy. + when: mount_root_check.stdout | default('0') | int < 1 + tags: [deploy] + + - name: Update laconic-so (editable install) + ansible.builtin.shell: | + cd {{ laconic_so_repo }} + git fetch origin + git reset --hard origin/main + changed_when: true tags: [deploy] - name: Start deployment (creates kind cluster + deploys pod)