1
0

runtime: publish CONTEXT-AUTO-20260722T171701Z

This commit is contained in:
homelab-runtime-publisher
2026-07-22 17:17:03 +00:00
parent e6971eb4b2
commit 4f4704cad3
4 changed files with 398 additions and 103 deletions
@@ -0,0 +1 @@
{"schema_version":1,"channel":"homelab-runtime","command_id":"CONTEXT-AUTO-20260722T171701Z","status":"OK","rc":0,"host":"pve01","mode":"read-only","component":"cluster-context","started_at_utc":"2026-07-22T17:17:01Z","finished_at_utc":"2026-07-22T17:17:02Z","reference_register_checked":true,"reference_sha256":"5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e","error_register_checked":true,"error_register_sha256":"08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752","changes_made":false,"sanitized":true,"secrets_included":false,"private_addresses_included":false,"output":"AUTOMATIC_CLUSTER_CONTEXT_REFRESH=OK"}
File diff suppressed because one or more lines are too long
+1 -30
View File
@@ -1,30 +1 @@
{
"schema_version": 1,
"channel": "homelab-runtime",
"command_id": "BACKUP-CAPACITY-RETENTION-MAP-228",
"status": "OK",
"rc": 0,
"host": "pve01",
"mode": "read-only",
"component": "cluster-audit",
"started_at_utc": "2026-07-22T17:11:39Z",
"finished_at_utc": "2026-07-22T17:11:39Z",
"reference_register_checked": true,
"reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
"error_register_checked": true,
"error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752",
"command_sha256": "b5a05a18df011bdc06f8f5c2c36cd637a4a53375d2c3110197989e01989b0a08",
"duplicate_failed_command_blocked": false,
"block_reason": null,
"execution_started": true,
"changes_made": false,
"sanitized": true,
"secrets_included": false,
"private_addresses_included": false,
"raw_evidence_retained_locally": true,
"raw_evidence_sha256": "3f2c4bf3f338a8422315f4ebec54c66708c0f6723af7c45df03ec30039a1cac4",
"sanitized_output_sha256": "3f2c4bf3f338a8422315f4ebec54c66708c0f6723af7c45df03ec30039a1cac4",
"output_truncated_in_json": false,
"full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
"output": "PREVIOUS_COMMAND_ID=GITEA-RESULT-RESOLVER-SOURCE-225\n=== SCRIPT_RETENTION_LOGIC ===\n8:PARENT=/mnt/staging/vzdump\n9:PREFIX=vm160-pve02-\n26:DIR=\"$PARENT/${PREFIX}${TS}\"\n35: ssh \"${SSH[@]}\" \"$TARGET\" \"rm -rf -- '$DIR'\" >/dev/null 2>&1 || true\n39: mv \"$tmp\" \"$HEALTH\"\n41: rm -f \"$LOG\"\n45:REMOTE_FREE=\"$(ssh \"${SSH[@]}\" \"$TARGET\" \"df -B1 --output=avail '$PARENT' | awk 'NR==2{print \\$1}'\")\"\n46:LATEST_SIZE=\"$(ssh \"${SSH[@]}\" \"$TARGET\" \"find '$PARENT' -mindepth 2 -maxdepth 2 -type f -path '$PARENT/${PREFIX}*/vzdump-qemu-${VMID}-*.vma.zst' -printf '%s\\n' | sort -nr | head -n1\")\"\n47:LATEST_SIZE=\"${LATEST_SIZE:-0}\"\n48:if test \"$LATEST_SIZE\" -gt 0; then\n49: REQUIRED=\"$((LATEST_SIZE + LATEST_SIZE / 4 + 10737418240))\"\n56:target_worker finalize \"$PARENT\" \"$PREFIX\" \"$PART\" \"$FINAL\" \"$DIR\" \"$NAME\"\n60:target_worker promote \"$PARENT\" \"$PREFIX\" \"$DIR\" \"$TS\"\n62:printf 'STATUS=OK\\nSERVICE=homelab-vm160-remote-backup\\nTIMESTAMP_UTC=%s\\nVMID=%s\\nSOURCE_NODE=pve02\\nTARGET_NODE=pve03\\nTARGET_DIR=%s\\nARCHIVE=%s\\nSIZE_BYTES=%s\\nSHA256=%s\\nREMOTE_RETENTION_GENERATIONS=1\\n' \"$TS\" \"$VMID\" \"$DIR\" \"$FINAL\" \"$SIZE\" \"$SHA\" > \"$tmp\"\n64:mv \"$tmp\" \"$HEALTH\"\n66:rm -f \"$LOG\"\n=== REMOTE_CAPACITY_AND_ARTIFACTS ===\nFilesystem 1B-blocks Used Available Use% Mounted on\n/dev/mapper/pve-homelab--staging 210241560576 106855092224 92632272896 54% /mnt/staging\n1783817309.3122540920 auto-pve03-20260712T004427Z\n1784286547.3484750280 edge-vm-vzdump\n1784328679.0591299580 vm160-pve02-20260717T223819Z\n1784422327.0155434400 auto-pve03-20260719T004800Z\n84995222689\t/mnt/staging/vzdump/vm160-pve02-20260717T223819Z\n11043732678\t/mnt/staging/vzdump/auto-pve03-20260719T004800Z\n10813922479\t/mnt/staging/vzdump/auto-pve03-20260712T004427Z\n28\t/mnt/staging/vzdump/vm160-pve02-latest\n0\t/mnt/staging/vzdump/edge-vm-vzdump\n1783817309.2643368520 6327 /mnt/staging/vzdump/auto-pve03-20260712T004427Z/vzdump-qemu-130-2026_07_12-03_44_28.log\n1784328313.2842244630 84995216465 /mnt/staging/vzdump/vm160-pve02-20260717T223819Z/vzdump-qemu-160-20260717T223819Z.vma.zst\n1784328679.0601299610 6117 /mnt/staging/vzdump/vm160-pve02-20260717T223819Z/vzdump.log\n1784422326.9751430340 6332 /mnt/staging/vzdump/auto-pve03-20260719T004800Z/vzdump-qemu-130-2026_07_19-03_48_01.log\n=== CONFIG_REFERENCES ===\n/usr/local/sbin/homelab-vm160-remote-backup:8:PARENT=/mnt/staging/vzdump\n/usr/local/sbin/homelab-backup-edge-vm-vzdump:7:BASE_DIR=\"/mnt/staging/vzdump/edge-vm-vzdump\"\n/etc/homelab-backup-matrix/matrix.json:1102: \"/var/lib/homelab-backup-matrix/evidence/vm160_remote_backup/0-vm160-remote-backup.txt\"\n/etc/homelab-backup-matrix/matrix.json:1104: \"generated_health_output\": \"/var/lib/homelab-backup-matrix/rendered/vm160-remote-backup.txt\",\n/etc/homelab-backup-matrix/matrix.json:1105: \"id\": \"vm160_remote_backup\",\n/etc/homelab-backup-matrix/matrix.json:1107: \"/var/lib/homelab-health/vm160-remote-backup.txt\"\n/etc/homelab-backup-matrix/matrix.json:1111: \"name\": \"vm160-remote-backup\",\n/etc/homelab-backup-matrix/matrix.json:1112: \"service\": \"homelab-vm160-remote-backup.service\",\n/etc/homelab-backup-matrix/matrix.json:1114: \"timer\": \"homelab-vm160-remote-backup.timer\",\n/etc/homelab-backup-matrix/matrix.json:1116: \"/var/lib/homelab-health/vm160-remote-backup.txt\"\n/etc/systemd/system/homelab-vm160-remote-backup.timer:7:Unit=homelab-vm160-remote-backup.service\n/etc/systemd/system/homelab-vm160-remote-backup.service:9:ExecStart=/usr/local/sbin/homelab-vm160-remote-backup\n/usr/local/sbin/homelab-vm160-remote-backup:9:PREFIX=vm160-pve02-\n/usr/local/sbin/homelab-vm160-remote-backup:10:HEALTH=/var/lib/homelab-health/vm160-remote-backup.txt\n/usr/local/sbin/homelab-vm160-remote-backup:11:LOCK=/run/lock/homelab-vm160-remote-backup.lock\n/usr/local/sbin/homelab-vm160-remote-backup:13:TARGET_WORKER=/usr/local/libexec/homelab-vm160-target-worker\n/usr/local/sbin/homelab-vm160-remote-backup:30:LOG=\"$(mktemp /tmp/vm160-remote-backup.XXXXXX.log)\"\n/usr/local/sbin/homelab-vm160-remote-backup:37: printf 'STATUS=FAIL\\nSERVICE=homelab-vm160-remote-backup\\nTIMESTAMP_UTC=%s\\nVMID=%s\\nTARGET_DIR=%s\\nRC=%s\\n' \"$TS\" \"$VMID\" \"$DIR\" \"$rc\" > \"$tmp\"\n/usr/local/sbin/homelab-vm160-remote-backup:62:printf 'STATUS=OK\\nSERVICE=homelab-vm160-remote-backup\\nTIMESTAMP_UTC=%s\\nVMID=%s\\nSOURCE_NODE=pve02\\nTARGET_NODE=pve03\\nTARGET_DIR=%s\\nARCHIVE=%s\\nSIZE_BYTES=%s\\nSHA256=%s\\nREMOTE_RETENTION_GENERATIONS=1\\n' \"$TS\" \"$VMID\" \"$DIR\" \"$FINAL\" \"$SIZE\" \"$SHA\" > \"$tmp\"\n/usr/local/sbin/homelab-safe-exec:205: \"homelab-vm160-remote-backup.service\",\n/usr/local/sbin/homelab-safe-exec:211: \"homelab-vm160-remote-backup.timer\",\nCHANGES_MADE=NO\n"
}
{"schema_version":1,"channel":"homelab-runtime","command_id":"CONTEXT-AUTO-20260722T171701Z","status":"OK","rc":0,"host":"pve01","mode":"read-only","component":"cluster-context","started_at_utc":"2026-07-22T17:17:01Z","finished_at_utc":"2026-07-22T17:17:02Z","reference_register_checked":true,"reference_sha256":"5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e","error_register_checked":true,"error_register_sha256":"08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752","changes_made":false,"sanitized":true,"secrets_included":false,"private_addresses_included":false,"output":"AUTOMATIC_CLUSTER_CONTEXT_REFRESH=OK"}
+194 -73
View File
File diff suppressed because one or more lines are too long