STEP_046O state file one write restore
=== STEP_046O RESULT ===
step=STEP_046O_VM100_LOCAL_CONTROLLER_STATE_FILE_ONE_WRITE_RESTORE
decision=PASS_STEP_046O_VM100_LOCAL_CONTROLLER_STATE_FILE_ONE_WRITE_RESTORE
all_ok=True
summary:
script=/usr/local/sbin/router-wgpay-egress-local.sh
rollback=/root/rollback-step046o-vm100-controller-v5-20260710-113520.sh
state_file=/var/lib/router-wgpay-egress/state.kv
state_exists_pre=false
state_sha_pre=none
state_sha_after_write=0766374fbbcc9b7b5e70756cfb796ac16311e1c527b8a69f95dbdc2ea23f72fa
state_exists_final=false
state_sha_final=none
state_restored=True
script_sha256=26abddfc33bae9524bb0c48bde1706c0005b631dffdeb3d002556d3a45911c46
live_state_preview_summary={'rows': 5, 'active_count': 0, 'idle_count': 5, 'min_class': 'cs1', 'min_count': 1, 'max_class': 'cs1', 'max_count': 1, 'blocked': False, 'block_reason': '', 'action_count': 0, 'noop': True, 'action_reason': 'already_balanced', 'selector_file_would_change': False, 'selector_apply_would_run': False, 'state_file_would_write': False}
synthetic_state_write_summary={'rows': 5, 'active_count': 0, 'idle_count': 5, 'min_class': 'cs2', 'min_count': 0, 'max_class': 'cs1', 'max_count': 2, 'blocked': False, 'block_reason': '', 'action_count': 1, 'noop': False, 'action_reason': 'idle_rebalance_most_loaded_to_least_loaded', 'selector_file_would_change': True, 'selector_apply_would_run': True, 'state_file_would_write': True}
synthetic_state_write_action={'tunnel_ip': '10.253.1.10', 'from_class': 'cs1', 'from_target_id': 'canary_vpn3', 'to_class': 'cs2', 'to_target_id': 'canary_vpn4', 'reason': 'idle_rebalance_most_loaded_to_least_loaded'}
synthetic_state_write_state_preview={'state_file': '/var/lib/router-wgpay-egress/state.kv', 'would_write_state_file': True, 'state_file_write_performed': True, 'state_file_write_rc': '0', 'state_preview_sha256': '0766374fbbcc9b7b5e70756cfb796ac16311e1c527b8a69f95dbdc2ea23f72fa', 'format': 'key_value_v1'}
apply_refusal_rc=78
line_10_final=10.253.1.10 cs1 canary_vpn3
line_12_final=10.253.1.12 cs3 canary_vpn5
peer_count_final=5
allowed_ip_count_final=5
uci_peer_sections_final=0
init_enabled_final=false
service_running_final=false
success_checks:
vm100_046o_rc_zero=True
script_executable=True
service_disabled=True
service_not_running=True
live_state_preview_rc_zero=True
live_rows_five=True
live_action_count_zero=True
synthetic_state_preview_rc_zero=True
synthetic_state_write_rc_zero=True
synthetic_write_action_one=True
synthetic_write_action_ip_10=True
synthetic_write_to_cs2=True
state_write_performed=True
state_write_rc_zero=True
state_exists_after_write=True
state_schema_after_write_ok=True
state_action_count_after_write_ok=True
state_action_ip_after_write_ok=True
state_action_to_class_after_write_ok=True
state_peer10_class_after_write_ok=True
state_peer10_target_after_write_ok=True
apply_refused=True
state_restore_rc_zero=True
state_restored=True
selector_sha_restored=True
selector_rows_final_five=True
line_10_final_ok=True
line_12_final_ok=True
peer_count_final_five=True
allowed_ip_count_final_five=True
uci_peer_sections_zero=True
vm121_db_safety_ok=True
db_pending_zero=True
db_enabled_peers_five=True
db_lease_rows_five=True
expected_absence:
selector_changed=False
wg_runtime_changed=False
service_enabled=False
vm121_db_written=False
jobs_created=False
next_step=STEP_046P_VM100_LOCAL_CONTROLLER_SERVICE_DRYRUN_INSTALL_DISABLED
TRYCF_REPORT=https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-113520_step046o_vm100_state_file_one_write_restore/
REPORT_TXT=https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-113520_step046o_vm100_state_file_one_write_restore/report.txt
FACTS_JSON=https://helena-background-beam-harry.trycloudflare.com/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/20260710-113520_step046o_vm100_state_file_one_write_restore/facts.json