diff --git a/runtime/history/GITEA-READER-LOCAL-SERVICE-FAILURE-247.json b/runtime/history/GITEA-READER-LOCAL-SERVICE-FAILURE-247.json new file mode 100644 index 0000000..e936050 --- /dev/null +++ b/runtime/history/GITEA-READER-LOCAL-SERVICE-FAILURE-247.json @@ -0,0 +1,30 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "GITEA-READER-LOCAL-SERVICE-FAILURE-247", + "status": "OK", + "rc": 0, + "host": "pve01", + "mode": "read-only", + "component": "cluster-audit", + "started_at_utc": "2026-07-22T19:52:35Z", + "finished_at_utc": "2026-07-22T19:52:36Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752", + "command_sha256": "ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596", + "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": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171", + "sanitized_output_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171", + "output_truncated_in_json": false, + "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", + "output": "PREVIOUS_COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246\n=== EXACT_RAW_LOG ===\nCreated symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'.\ncurl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server\nTraceback (most recent call last):\n File \"\", line 158, in \n health=subprocess.check_output([\"/usr/bin/curl\",\"-fsS\",f\"http://127.0.0.1:8788/{cap}/health\"],text=True)\n File \"/usr/lib/python3.13/subprocess.py\", line 472, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n **kwargs).stdout\n ^^^^^^^^^\n File \"/usr/lib/python3.13/subprocess.py\", line 577, in run\n raise CalledProcessError(retcode, process.args,\n output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7.\n=== SERVICE_STATE ===\nResult=success\nExecMainCode=0\nExecMainStatus=0\nId=homelab-reader.service\nLoadState=not-found\nActiveState=inactive\nSubState=dead\nFragmentPath=\n=== SERVICE_JOURNAL ===\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Started homelab-reader.service - Homelab immutable capability reader.\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopping homelab-reader.service - Homelab immutable capability reader...\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: homelab-reader.service: Deactivated successfully.\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopped homelab-reader.service - Homelab immutable capability reader.\n=== PORT_8788 ===\n=== READER_FILES ===\nls: cannot access '/var/lib/homelab-reader': No such file or directory\nls: cannot access '/var/lib/homelab-reader/results': No such file or directory\nls: cannot access '/var/lib/homelab-reader/manifest.json': No such file or directory\nls: cannot access '/usr/local/sbin/homelab-reader-server': No such file or directory\nls: cannot access '/etc/systemd/system/homelab-reader.service': No such file or directory\n=== PYTHON_SYNTAX ===\nCHANGES_MADE=NO\n" +} diff --git a/runtime/history/GITEA-READER-LOCAL-SERVICE-FAILURE-247.txt b/runtime/history/GITEA-READER-LOCAL-SERVICE-FAILURE-247.txt new file mode 100644 index 0000000..a780af6 --- /dev/null +++ b/runtime/history/GITEA-READER-LOCAL-SERVICE-FAILURE-247.txt @@ -0,0 +1,63 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=GITEA-READER-LOCAL-SERVICE-FAILURE-247 +STATUS=OK +RC=0 +HOST=pve01 +MODE=read-only +COMPONENT=cluster-audit +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752 +COMMAND_SHA256=ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596 +DUPLICATE_FAILED_COMMAND_BLOCKED=false +EXECUTION_STARTED=true +CHANGES_MADE=false +SANITIZED=yes +SECRETS_INCLUDED=no +PRIVATE_ADDRESSES_INCLUDED=no +RAW_EVIDENCE_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171 +SANITIZED_OUTPUT_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171 +OUTPUT_BEGIN +PREVIOUS_COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246 +=== EXACT_RAW_LOG === +Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'. +curl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server +Traceback (most recent call last): + File "", line 158, in + health=subprocess.check_output(["/usr/bin/curl","-fsS",f"http://127.0.0.1:8788/{cap}/health"],text=True) + File "/usr/lib/python3.13/subprocess.py", line 472, in check_output + return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, + ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + **kwargs).stdout + ^^^^^^^^^ + File "/usr/lib/python3.13/subprocess.py", line 577, in run + raise CalledProcessError(retcode, process.args, + output=stdout, stderr=stderr) +subprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7. +=== SERVICE_STATE === +Result=success +ExecMainCode=0 +ExecMainStatus=0 +Id=homelab-reader.service +LoadState=not-found +ActiveState=inactive +SubState=dead +FragmentPath= +=== SERVICE_JOURNAL === +2026-07-22T22:51:00+03:00 pve01 systemd[1]: Started homelab-reader.service - Homelab immutable capability reader. +2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopping homelab-reader.service - Homelab immutable capability reader... +2026-07-22T22:51:00+03:00 pve01 systemd[1]: homelab-reader.service: Deactivated successfully. +2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopped homelab-reader.service - Homelab immutable capability reader. +=== PORT_8788 === +=== READER_FILES === +ls: cannot access '/var/lib/homelab-reader': No such file or directory +ls: cannot access '/var/lib/homelab-reader/results': No such file or directory +ls: cannot access '/var/lib/homelab-reader/manifest.json': No such file or directory +ls: cannot access '/usr/local/sbin/homelab-reader-server': No such file or directory +ls: cannot access '/etc/systemd/system/homelab-reader.service': No such file or directory +=== PYTHON_SYNTAX === +CHANGES_MADE=NO + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index f679589..e936050 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1,30 +1,30 @@ { "schema_version": 1, "channel": "homelab-runtime", - "command_id": "GITEA-READER-LOCAL-SERVICE-INSTALL-246", - "status": "FAIL", - "rc": 1, + "command_id": "GITEA-READER-LOCAL-SERVICE-FAILURE-247", + "status": "OK", + "rc": 0, "host": "pve01", - "mode": "change", - "component": "cluster-admin", - "started_at_utc": "2026-07-22T19:50:59Z", - "finished_at_utc": "2026-07-22T19:51:00Z", + "mode": "read-only", + "component": "cluster-audit", + "started_at_utc": "2026-07-22T19:52:35Z", + "finished_at_utc": "2026-07-22T19:52:36Z", "reference_register_checked": true, "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", "error_register_checked": true, "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752", - "command_sha256": "3f4c794a1f47839aab3b0d017ded22a013f2469fa959f39d2f21da77dea261af", + "command_sha256": "ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, - "changes_made": true, + "changes_made": false, "sanitized": true, "secrets_included": false, "private_addresses_included": false, "raw_evidence_retained_locally": true, - "raw_evidence_sha256": "9483f1407b6923d101fb05e4bf398d5c62dbab41af924735153498ec597a147a", - "sanitized_output_sha256": "9483f1407b6923d101fb05e4bf398d5c62dbab41af924735153498ec597a147a", + "raw_evidence_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171", + "sanitized_output_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171", "output_truncated_in_json": false, "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", - "output": "Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'.\ncurl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server\nTraceback (most recent call last):\n File \"\", line 158, in \n health=subprocess.check_output([\"/usr/bin/curl\",\"-fsS\",f\"http://127.0.0.1:8788/{cap}/health\"],text=True)\n File \"/usr/lib/python3.13/subprocess.py\", line 472, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n **kwargs).stdout\n ^^^^^^^^^\n File \"/usr/lib/python3.13/subprocess.py\", line 577, in run\n raise CalledProcessError(retcode, process.args,\n output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7.\n" + "output": "PREVIOUS_COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246\n=== EXACT_RAW_LOG ===\nCreated symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'.\ncurl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server\nTraceback (most recent call last):\n File \"\", line 158, in \n health=subprocess.check_output([\"/usr/bin/curl\",\"-fsS\",f\"http://127.0.0.1:8788/{cap}/health\"],text=True)\n File \"/usr/lib/python3.13/subprocess.py\", line 472, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n **kwargs).stdout\n ^^^^^^^^^\n File \"/usr/lib/python3.13/subprocess.py\", line 577, in run\n raise CalledProcessError(retcode, process.args,\n output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7.\n=== SERVICE_STATE ===\nResult=success\nExecMainCode=0\nExecMainStatus=0\nId=homelab-reader.service\nLoadState=not-found\nActiveState=inactive\nSubState=dead\nFragmentPath=\n=== SERVICE_JOURNAL ===\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Started homelab-reader.service - Homelab immutable capability reader.\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopping homelab-reader.service - Homelab immutable capability reader...\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: homelab-reader.service: Deactivated successfully.\n2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopped homelab-reader.service - Homelab immutable capability reader.\n=== PORT_8788 ===\n=== READER_FILES ===\nls: cannot access '/var/lib/homelab-reader': No such file or directory\nls: cannot access '/var/lib/homelab-reader/results': No such file or directory\nls: cannot access '/var/lib/homelab-reader/manifest.json': No such file or directory\nls: cannot access '/usr/local/sbin/homelab-reader-server': No such file or directory\nls: cannot access '/etc/systemd/system/homelab-reader.service': No such file or directory\n=== PYTHON_SYNTAX ===\nCHANGES_MADE=NO\n" } diff --git a/runtime/latest.txt b/runtime/latest.txt index 827a902..a780af6 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,24 +1,26 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246 -STATUS=FAIL -RC=1 +COMMAND_ID=GITEA-READER-LOCAL-SERVICE-FAILURE-247 +STATUS=OK +RC=0 HOST=pve01 -MODE=change -COMPONENT=cluster-admin +MODE=read-only +COMPONENT=cluster-audit REFERENCE_REGISTER_CHECK=OK REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e ERROR_REGISTER_CHECK=OK ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752 -COMMAND_SHA256=3f4c794a1f47839aab3b0d017ded22a013f2469fa959f39d2f21da77dea261af +COMMAND_SHA256=ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596 DUPLICATE_FAILED_COMMAND_BLOCKED=false EXECUTION_STARTED=true -CHANGES_MADE=true +CHANGES_MADE=false SANITIZED=yes SECRETS_INCLUDED=no PRIVATE_ADDRESSES_INCLUDED=no -RAW_EVIDENCE_SHA256=9483f1407b6923d101fb05e4bf398d5c62dbab41af924735153498ec597a147a -SANITIZED_OUTPUT_SHA256=9483f1407b6923d101fb05e4bf398d5c62dbab41af924735153498ec597a147a +RAW_EVIDENCE_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171 +SANITIZED_OUTPUT_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171 OUTPUT_BEGIN +PREVIOUS_COMMAND_ID=GITEA-READER-LOCAL-SERVICE-INSTALL-246 +=== EXACT_RAW_LOG === Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader.service' → '/etc/systemd/system/homelab-reader.service'. curl: (7) Failed to connect to 127.0.0.1 port 8788 after 0 ms: Could not connect to server Traceback (most recent call last): @@ -33,6 +35,29 @@ Traceback (most recent call last): raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/health']' returned non-zero exit status 7. +=== SERVICE_STATE === +Result=success +ExecMainCode=0 +ExecMainStatus=0 +Id=homelab-reader.service +LoadState=not-found +ActiveState=inactive +SubState=dead +FragmentPath= +=== SERVICE_JOURNAL === +2026-07-22T22:51:00+03:00 pve01 systemd[1]: Started homelab-reader.service - Homelab immutable capability reader. +2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopping homelab-reader.service - Homelab immutable capability reader... +2026-07-22T22:51:00+03:00 pve01 systemd[1]: homelab-reader.service: Deactivated successfully. +2026-07-22T22:51:00+03:00 pve01 systemd[1]: Stopped homelab-reader.service - Homelab immutable capability reader. +=== PORT_8788 === +=== READER_FILES === +ls: cannot access '/var/lib/homelab-reader': No such file or directory +ls: cannot access '/var/lib/homelab-reader/results': No such file or directory +ls: cannot access '/var/lib/homelab-reader/manifest.json': No such file or directory +ls: cannot access '/usr/local/sbin/homelab-reader-server': No such file or directory +ls: cannot access '/etc/systemd/system/homelab-reader.service': No such file or directory +=== PYTHON_SYNTAX === +CHANGES_MADE=NO OUTPUT_END CHAT_OUTPUT_END