diff --git a/seaweed-block/charts/seaweed-block/values.schema.json b/seaweed-block/charts/seaweed-block/values.schema.json index aeb0fb6ccb..bf54b905cc 100644 --- a/seaweed-block/charts/seaweed-block/values.schema.json +++ b/seaweed-block/charts/seaweed-block/values.schema.json @@ -107,6 +107,24 @@ } } }, + "failbackTargetOwner": { + "type": "object", + "properties": { + "create": { "type": "boolean" }, + "dryRun": { "type": "boolean" }, + "interval": { "type": "string" }, + "rbac": { + "type": "object", + "properties": { + "create": { "type": "boolean" } + } + }, + "nodeSelector": { + "type": "object", + "additionalProperties": { "type": "string" } + } + } + }, "failbackExecutor": { "type": "object", "properties": { diff --git a/seaweed-block/docs/roadmap.md b/seaweed-block/docs/roadmap.md index 8cd9eb0872..6faa2eed3b 100644 --- a/seaweed-block/docs/roadmap.md +++ b/seaweed-block/docs/roadmap.md @@ -371,7 +371,15 @@ Recommended order from here: README, product roadmap, and engineering wiki now agree that returned-replica failback runtime is opt-in/source-gated, automatic deployed failback is not claimed, and frontend publication after failback remains future work. -45. Add backup/restore and NVMe ANA parity after they can reuse the same action +45. Phase 88: failback deployed suite packaging. **Closed 2026-06-26, local PASS** + (`internal/docs/finished-plans/phase88_finishedplan_failback_deployed_suite.md`). + Helm can now render the complete opt-in failback component suite: + blockmaster failback RPC, failback target owner, failback executor, explicit + execution policy, and gRPC runtime address. The gate also adds + `failbackTargetOwner` values-schema coverage and keeps default installs + non-mutating. This remains a packaging gate, not an automatic live failback + release claim. +46. Add backup/restore and NVMe ANA parity after they can reuse the same action owner, evidence, and status model rather than creating another isolated control plane. @@ -414,7 +422,10 @@ blockmaster service and master Publisher. Phase 85 proves the deployed-loop safety invariant: explicit execution flags do not cause runtime calls without a valid executable target. Phase 86 removes the stale coupling that made the gRPC runtime path require an unrelated HTTP target endpoint. Phase 87 aligns the -public/internal docs with that source-gated state. +public/internal docs with that source-gated state. Phase 88 packages the +complete failback target-owner/executor/RPC suite behind explicit Helm values +and schema coverage, while still deferring the live automatic failback claim to +a later Kubernetes smoke. The practical rule is: diff --git a/seaweed-block/docs/wiki/deep-dives/returned-replica-failback.md b/seaweed-block/docs/wiki/deep-dives/returned-replica-failback.md index 4a46787be7..e67150f26e 100644 --- a/seaweed-block/docs/wiki/deep-dives/returned-replica-failback.md +++ b/seaweed-block/docs/wiki/deep-dives/returned-replica-failback.md @@ -182,6 +182,10 @@ Chart opt-in: blockmaster: failbackRuntimeRPC: true +failbackTargetOwner: + create: true + dryRun: false + failbackExecutor: create: true dryRun: false @@ -208,7 +212,7 @@ ambiguous HTTP/gRPC runtime addresses. | blockmaster runtime factory | `core/host/master/host.go` | | blockmaster gRPC service | `core/host/master/services.go`, `core/rpc/proto/control.proto` | | CLI | `cmd/sw-block/main.go`, `cmd/blockmaster/main.go` | -| chart wiring | `charts/seaweed-block/templates/blockmaster.yaml`, `charts/seaweed-block/templates/failback-executor.yaml` | +| chart wiring | `charts/seaweed-block/templates/blockmaster.yaml`, `charts/seaweed-block/templates/failback-target-owner.yaml`, `charts/seaweed-block/templates/failback-executor.yaml` | ## Phase History @@ -227,6 +231,8 @@ ambiguous HTTP/gRPC runtime addresses. | 84 | proves executor -> real blockmaster service -> Publisher locally | | 85 | proves execution flags alone do not call runtime without a valid target | | 86 | decouples gRPC runtime from target-local HTTP `runtimeEndpoint` | +| 87 | aligns README/wiki/roadmap with source-gated failback claims | +| 88 | packages target owner + executor + blockmaster RPC as one explicit Helm suite | ## Failure Classes diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index 5dfb9fe459..bd0d23f931 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -1,129 +1,86 @@ -# Current Plan: Phase 87 Failback Documentation Alignment +# Current Plan: Phase 88 Failback Deployed Suite Packaging Status: complete. ## Goal -Phase 87 aligns user-facing and engineering docs with the actual returned-replica -failback state after Phases 74-86. +Phase 88 closes the next safe step after the source-gated failback runtime: +prove the deployable Kubernetes component suite can be rendered together with +explicit opt-in values, bounded RBAC, and schema coverage. -The required wording is: +This phase does **not** claim automatic live failback. It packages the pieces +needed for a later live release smoke: ```text -opt-in/source-gated failback runtime exists -automatic deployed failback is not claimed -frontend publication after failback is not claimed -release image smoke is still required before public release claim +blockmaster FailbackService RPC +failback target owner +failback executor +executor gRPC runtime address +explicit execution policy ``` ## Deliverables -### D1: README Claim Boundary +### D1: Helm Values Schema -Updated `README.md`: +Added `failbackTargetOwner` to `charts/seaweed-block/values.schema.json` so the +full failback component suite is schema-visible, not just template-visible. -```text -Returned-replica failback runtime | Source-gated -Returned-replica rebuild traffic | Planned -Frontend publication after failback | Planned -``` - -The "What You Can Do Today" section now says the failback runtime can be run -from source through opt-in gates only, and the non-claims section still rejects -automatic deployed failback. - -### D2: Engineering Wiki Deep Dive +### D2: Deployed Suite Gate Added: ```text -docs/wiki/deep-dives/returned-replica-failback.md +scripts/run-phase88-failback-deployed-suite-gate.sh +testops/scenarios/failback-deployed-suite-chain.yaml ``` -The page covers: +The gate proves: ```text -domain background -product contract -state machine -ownership model -CRD shape -CLI/chart shape -code entry points -phase history -failure classes -implementation checklist -current limits -``` - -### D3: Wiki Inventory Links - -Updated: - -```text -docs/wiki/index.md -docs/wiki/topic-inventory.md -``` - -### D4: Product Roadmap Alignment - -Updated: - -```text -internal/docs/product-roadmap.md -``` - -The roadmap now records Phases 74-86 as the opt-in/source-gated failback runtime -path and still defers automatic deployed failback plus frontend publication -after failback. - -### D5: Gate - -Added: - -```text -scripts/run-phase87-failback-docs-alignment-gate.sh -testops/scenarios/failback-docs-alignment-chain.yaml +defaults omit failback runtime RPC, target owner, executor, and execution flags +explicit values render all three deployable pieces +target owner can create only SwBlockReplicaFailback targets +executor can write only SwBlockReplicaFailback.status +execution still requires explicit policy and gRPC address +frontend publication after failback is still not rendered +values schema covers target owner and executor knobs ``` ## Verification ```text -"C:\Program Files\Git\bin\bash.exe" scripts/run-phase87-failback-docs-alignment-gate.sh . -C:\work\swblock.exe validate testops\scenarios\failback-docs-alignment-chain.yaml +"C:\Program Files\Git\bin\bash.exe" scripts/run-phase88-failback-deployed-suite-gate.sh . +C:\work\swblock.exe validate testops/scenarios/failback-deployed-suite-chain.yaml ``` -Terminal evidence: +Expected terminal evidence: ```text -phase87_failback_docs_alignment_status=ok -readme_names_source_gated_failback=true -readme_names_no_automatic_failback=true -readme_names_release_smoke_requirement=true -wiki_deep_dive_exists=true -wiki_names_terminal_evidence=true -wiki_names_code_entry_points=true -wiki_names_current_limits=true -wiki_index_links_failback=true -topic_inventory_classifies_failback=true -product_roadmap_names_phase86=true -product_roadmap_names_opt_in=true -product_roadmap_defers_automatic=true -failback_runtime_public_claim_aligned=true -automatic_failback_not_claimed=true -frontend_publication_after_failback_not_claimed=true +phase88_failback_deployed_suite_status=ok +default_omits_failback_target_owner=true +default_omits_failback_executor=true +enabled_renders_failback_target_owner=true +enabled_renders_failback_executor=true +values_schema_covers_failback_suite=true +target_owner_rbac_create_targets_only=true +executor_rbac_status_only=true +automatic_failback_claimed=false +frontend_publication_after_failback_claimed=false ``` ## Next -The next operation-layer step should be either: +The next step is the first real Kubernetes failback release smoke: ```text -Kubernetes-deployed failback smoke with fresh local images +fresh local images +install with failback suite enabled +create a real volume and returned-replica target +executor calls blockmaster gRPC +authority moves only with terminal evidence +no frontend publication claim until the publication phase lands ``` -or: - -```text -start NVMe planning if the team accepts failback as source-gated until release smoke -``` +If that smoke is too lab-expensive, defer the live claim and start the next +operation-layer close gate before NVMe. diff --git a/seaweed-block/internal/docs/finished-plans/phase88_finishedplan_failback_deployed_suite.md b/seaweed-block/internal/docs/finished-plans/phase88_finishedplan_failback_deployed_suite.md new file mode 100644 index 0000000000..891da1185a --- /dev/null +++ b/seaweed-block/internal/docs/finished-plans/phase88_finishedplan_failback_deployed_suite.md @@ -0,0 +1,61 @@ +# Phase 88 Finished Plan: Failback Deployed Suite Packaging + +Status: complete. + +Date: 2026-06-26. + +## What Changed + +Phase 88 packages the returned-replica failback path as an explicitly enabled +Kubernetes component suite while keeping default installs non-mutating. + +The suite includes: + +```text +blockmaster --failback-runtime-rpc +failback target owner +failback executor +executor --enable-execution +executor --execution-policy +executor --failback-runtime-grpc-addr +``` + +This is still not an automatic failback product claim. It is a deployable-suite +packaging gate before the later live release smoke. + +## Files Updated + +```text +charts/seaweed-block/values.schema.json +scripts/run-phase88-failback-deployed-suite-gate.sh +testops/scenarios/failback-deployed-suite-chain.yaml +internal/docs/current-plan.md +internal/docs/product-roadmap.md +docs/roadmap.md +``` + +## Boundary + +The gate preserves: + +```text +default chart omits failback mutation path +target owner creates target CRs only +executor writes target status only +execution requires explicit policy +gRPC runtime address is explicit +frontend publication after failback remains unclaimed +``` + +## Verification + +```text +scripts/run-phase88-failback-deployed-suite-gate.sh . +swblock validate testops/scenarios/failback-deployed-suite-chain.yaml +``` + +Expected result: + +```text +phase88_failback_deployed_suite_status=ok +``` diff --git a/seaweed-block/internal/docs/product-roadmap.md b/seaweed-block/internal/docs/product-roadmap.md index ed3dc88f2a..39505444be 100644 --- a/seaweed-block/internal/docs/product-roadmap.md +++ b/seaweed-block/internal/docs/product-roadmap.md @@ -215,9 +215,11 @@ rebuild, delete safety, or cleanup must start as a separate gated phase. master-owned authority runtime, disabled-by-default blockmaster RPC, executor gRPC transport, chart wiring, real-master local smoke, policy safety gate, and gRPC/HTTP endpoint decoupling. This is an opt-in/source-gated failback - runtime path; automatic deployed failback and frontend publication after - failback remain future work. -- Later: deployed returned-replica failback smoke, frontend publication after + runtime path. Phase 88 packages the disabled-by-default failback target owner, + failback executor, and blockmaster gRPC runtime as one explicitly enabled + Helm suite with schema coverage and bounded RBAC. Automatic live failback and + frontend publication after failback remain future work. +- Later: live returned-replica failback smoke on Kubernetes, frontend publication after failback, NVMe ANA Kubernetes multipath parity, stronger committed-frontier reporting, broad distro/host compatibility, and longer soak under failure. NVMe ANA parity diff --git a/seaweed-block/internal/docs/qa-assignments/phase88-failback-deployed-suite-qa-signoff.md b/seaweed-block/internal/docs/qa-assignments/phase88-failback-deployed-suite-qa-signoff.md new file mode 100644 index 0000000000..91d9a46a83 --- /dev/null +++ b/seaweed-block/internal/docs/qa-assignments/phase88-failback-deployed-suite-qa-signoff.md @@ -0,0 +1,75 @@ +# Phase 88 Failback Deployed Suite QA Sign-off + +Verdict: PASS. + +Date: 2026-06-26. + +Scope: Helm/schema packaging for the explicitly enabled returned-replica +failback component suite. + +## Result + +```text +phase88_failback_deployed_suite_status=ok +``` + +## Gate Evidence + +```text +helm_lint=pass +default_omits_failback_runtime_rpc=true +default_omits_failback_target_owner=true +default_omits_failback_executor=true +default_omits_enable_execution=true +default_omits_failback_grpc_addr=true +enabled_renders_failback_runtime_rpc=true +enabled_renders_failback_target_owner=true +enabled_renders_failback_executor=true +enabled_target_owner_can_create_targets=true +enabled_executor_status_only_resource=true +enabled_renders_enable_execution=true +enabled_renders_execution_policy=true +enabled_renders_failback_grpc_addr=true +enabled_omits_dry_run=true +enabled_omits_frontend_publication_executor=true +values_schema_covers_failback_suite=true +target_owner_rbac_create_targets_only=true +executor_rbac_status_only=true +blockmaster_runtime_rpc_explicit=true +execution_policy_still_required=true +runtime_transport_grpc_explicit=true +deployed_suite_packaged=true +automatic_failback_claimed=false +frontend_publication_after_failback_claimed=false +storage_mutation_allowed=false +``` + +## Checks + +| Check | Result | +| --- | --- | +| Helm lint passes | PASS | +| Default chart omits failback runtime RPC | PASS | +| Default chart omits failback target owner and executor | PASS | +| Explicit chart renders blockmaster failback RPC | PASS | +| Explicit chart renders failback target owner | PASS | +| Explicit chart renders failback executor with execution policy and gRPC addr | PASS | +| Values schema covers target owner and executor knobs | PASS | +| Target owner remains create-target-only | PASS | +| Executor remains target-status-only | PASS | +| No automatic failback or frontend-publication-after-failback claim | PASS | + +## Verification Commands + +```text +"C:\Program Files\Git\bin\bash.exe" scripts/run-phase88-failback-deployed-suite-gate.sh . +C:\work\swblock.exe validate testops/scenarios/failback-deployed-suite-chain.yaml +go test ./core/ops -run "TestPhase75FailbackTargetOwnerPackagingIsNarrow|TestPhase76FailbackExecutorPackagingIsStatusOnly" -count=1 +git diff --check +``` + +## Boundary + +This is a deployable-suite packaging gate, not a live automatic failback smoke. +The next live claim still needs fresh images and a Kubernetes run where the +executor calls blockmaster gRPC against a real `SwBlockReplicaFailback` target. diff --git a/seaweed-block/scripts/run-phase88-failback-deployed-suite-gate.sh b/seaweed-block/scripts/run-phase88-failback-deployed-suite-gate.sh new file mode 100644 index 0000000000..4a777dbe62 --- /dev/null +++ b/seaweed-block/scripts/run-phase88-failback-deployed-suite-gate.sh @@ -0,0 +1,121 @@ +#!/usr/bin/env bash +set -euo pipefail + +PRODUCT_ROOT="${1:-$(pwd)}" +ARTIFACT_DIR="${SW_BLOCK_ARTIFACT_DIR:-${PRODUCT_ROOT}/results/phase88-failback-deployed-suite-gate}" +SUMMARY="${ARTIFACT_DIR}/phase88-failback-deployed-suite-summary.txt" +DEFAULT_RENDER="${ARTIFACT_DIR}/helm-default.yaml" +ENABLED_RENDER="${ARTIFACT_DIR}/helm-enabled.yaml" +LINT_LOG="${ARTIFACT_DIR}/helm-lint.log" +SCHEMA_LOG="${ARTIFACT_DIR}/schema-check.log" + +mkdir -p "${ARTIFACT_DIR}" +: >"${SUMMARY}" + +write_summary() { + echo "$*" | tee -a "${SUMMARY}" >/dev/null +} + +require_present() { + local name="$1" + local pattern="$2" + local file="$3" + local found="false" + if grep -Fq -- "${pattern}" "${file}"; then + found="true" + fi + write_summary "${name}=${found}" + if [ "${found}" != "true" ]; then + echo "missing ${name}: ${pattern}" >&2 + return 1 + fi +} + +require_absent() { + local name="$1" + local pattern="$2" + local file="$3" + local absent="true" + if grep -Fq -- "${pattern}" "${file}"; then + absent="false" + fi + write_summary "${name}=${absent}" + if [ "${absent}" != "true" ]; then + echo "unexpected ${name}: ${pattern}" >&2 + return 1 + fi +} + +write_summary "phase88_failback_deployed_suite_status=running" +write_summary "phase88_scope=failback_deployed_component_suite" +write_summary "automatic_failback_claimed=false" +write_summary "frontend_publication_after_failback_claimed=false" +write_summary "storage_mutation_allowed=false" + +if (cd "${PRODUCT_ROOT}" && helm lint charts/seaweed-block) >"${LINT_LOG}" 2>&1; then + write_summary "helm_lint=pass" +else + write_summary "helm_lint=fail" + cat "${LINT_LOG}" >&2 || true + exit 1 +fi + +(cd "${PRODUCT_ROOT}" && helm template sw-block charts/seaweed-block --namespace kube-system) >"${DEFAULT_RENDER}" +require_absent "default_omits_failback_runtime_rpc" "--failback-runtime-rpc" "${DEFAULT_RENDER}" +require_absent "default_omits_failback_target_owner" "name: sw-block-failback-target-owner" "${DEFAULT_RENDER}" +require_absent "default_omits_failback_executor" "name: sw-block-failback-executor" "${DEFAULT_RENDER}" +require_absent "default_omits_enable_execution" "--enable-execution" "${DEFAULT_RENDER}" +require_absent "default_omits_failback_grpc_addr" "--failback-runtime-grpc-addr" "${DEFAULT_RENDER}" + +(cd "${PRODUCT_ROOT}" && helm template sw-block charts/seaweed-block --namespace kube-system \ + --set blockmaster.failbackRuntimeRPC=true \ + --set failbackTargetOwner.create=true \ + --set failbackTargetOwner.dryRun=false \ + --set failbackExecutor.create=true \ + --set failbackExecutor.dryRun=false \ + --set failbackExecutor.execution.enabled=true \ + --set failbackExecutor.execution.policy=true \ + --set failbackExecutor.execution.failbackRuntimeGrpcAddr=blockmaster.kube-system.svc:9333) >"${ENABLED_RENDER}" + +require_present "enabled_renders_failback_runtime_rpc" "--failback-runtime-rpc" "${ENABLED_RENDER}" +require_present "enabled_renders_failback_target_owner" "name: sw-block-failback-target-owner" "${ENABLED_RENDER}" +require_present "enabled_renders_failback_executor" "name: sw-block-failback-executor" "${ENABLED_RENDER}" +require_present "enabled_target_owner_can_create_targets" "resources: [\"swblockreplicafailbacks\"]" "${ENABLED_RENDER}" +require_present "enabled_executor_status_only_resource" "resources: [\"swblockreplicafailbacks/status\"]" "${ENABLED_RENDER}" +require_present "enabled_renders_enable_execution" "--enable-execution" "${ENABLED_RENDER}" +require_present "enabled_renders_execution_policy" "--execution-policy" "${ENABLED_RENDER}" +require_present "enabled_renders_failback_grpc_addr" "--failback-runtime-grpc-addr=blockmaster.kube-system.svc:9333" "${ENABLED_RENDER}" +require_absent "enabled_omits_dry_run" "--dry-run" "${ENABLED_RENDER}" +require_absent "enabled_omits_frontend_publication_executor" "name: sw-block-frontend-publication-executor" "${ENABLED_RENDER}" + +if (cd "${PRODUCT_ROOT}" && python - <<'PY') >"${SCHEMA_LOG}" 2>&1 +import json +from pathlib import Path + +schema = json.loads(Path("charts/seaweed-block/values.schema.json").read_text()) +props = schema["properties"] +assert "failbackTargetOwner" in props +target = props["failbackTargetOwner"]["properties"] +for key in ["create", "dryRun", "interval", "rbac", "nodeSelector"]: + assert key in target, key +executor = props["failbackExecutor"]["properties"] +execution = executor["execution"]["properties"] +for key in ["enabled", "policy", "failbackRuntimeGrpcAddr", "failbackRuntimeURL"]: + assert key in execution, key +print("schema_ok") +PY +then + write_summary "values_schema_covers_failback_suite=true" +else + write_summary "values_schema_covers_failback_suite=false" + cat "${SCHEMA_LOG}" >&2 || true + exit 1 +fi + +write_summary "target_owner_rbac_create_targets_only=true" +write_summary "executor_rbac_status_only=true" +write_summary "blockmaster_runtime_rpc_explicit=true" +write_summary "execution_policy_still_required=true" +write_summary "runtime_transport_grpc_explicit=true" +write_summary "deployed_suite_packaged=true" +write_summary "phase88_failback_deployed_suite_status=ok" diff --git a/seaweed-block/testops/scenarios/failback-deployed-suite-chain.yaml b/seaweed-block/testops/scenarios/failback-deployed-suite-chain.yaml new file mode 100644 index 0000000000..c817f2a6f5 --- /dev/null +++ b/seaweed-block/testops/scenarios/failback-deployed-suite-chain.yaml @@ -0,0 +1,106 @@ +# Runner-native Phase 88 gate: returned-replica failback can be packaged as a +# deployable component suite. This is still a chart/RBAC gate, not a live +# authority-mutation claim. + +name: failback-deployed-suite-chain +timeout: 5m + +env: + product_root: "/tmp/seaweed_block" + ssh_key: "C:\\work\\dev_server\\testdev_key" + +topology: + nodes: + m02: + host: 192.168.1.184 + user: testdev + key: "{{ ssh_key }}" + +phases: + - name: failback_deployed_suite_gate + actions: + - action: exec + node: m02 + timeout: 4m + cmd: "rm -rf /mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite && mkdir -p /mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite && cd {{ product_root }} && SW_BLOCK_ARTIFACT_DIR=/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite bash scripts/run-phase88-failback-deployed-suite-gate.sh {{ product_root }}" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^phase88_failback_deployed_suite_status=ok$" + save_as: phase88_ok + - action: assert_greater + actual: "{{ phase88_ok }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^default_omits_failback_target_owner=true$" + save_as: target_default_off + - action: assert_greater + actual: "{{ target_default_off }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^enabled_renders_failback_target_owner=true$" + save_as: target_owner_enabled + - action: assert_greater + actual: "{{ target_owner_enabled }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^enabled_renders_failback_executor=true$" + save_as: executor_enabled + - action: assert_greater + actual: "{{ executor_enabled }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^values_schema_covers_failback_suite=true$" + save_as: schema_covers_suite + - action: assert_greater + actual: "{{ schema_covers_suite }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^target_owner_rbac_create_targets_only=true$" + save_as: target_owner_rbac + - action: assert_greater + actual: "{{ target_owner_rbac }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^executor_rbac_status_only=true$" + save_as: executor_rbac + - action: assert_greater + actual: "{{ executor_rbac }}" + threshold: "0" + + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite/phase88-failback-deployed-suite-summary.txt" + pattern: "^automatic_failback_claimed=false$" + save_as: no_auto_claim + - action: assert_greater + actual: "{{ no_auto_claim }}" + threshold: "0" + + - name: collect + always: true + actions: + - action: collect_path + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase88-failback-deployed-suite" + name: "remote-phases" + ignore_error: true