From 54b04ba264e64c6fa7aacb6aa831cd1fd0eadd55 Mon Sep 17 00:00:00 2001 From: homelab-runtime-publisher Date: Wed, 22 Jul 2026 19:56:24 +0000 Subject: [PATCH] runtime: publish GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248 --- ...A-READER-LOCAL-SERVICE-V2-INSTALL-248.json | 30 +++++++++++ ...EA-READER-LOCAL-SERVICE-V2-INSTALL-248.txt | 39 ++++++++++++++ runtime/latest.json | 24 ++++----- runtime/latest.txt | 54 ++++++------------- 4 files changed, 96 insertions(+), 51 deletions(-) create mode 100644 runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.json create mode 100644 runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.txt diff --git a/runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.json b/runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.json new file mode 100644 index 0000000..693d1a3 --- /dev/null +++ b/runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.json @@ -0,0 +1,30 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248", + "status": "FAIL", + "rc": 1, + "host": "pve01", + "mode": "change", + "component": "cluster-admin", + "started_at_utc": "2026-07-22T19:56:22Z", + "finished_at_utc": "2026-07-22T19:56:23Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752", + "command_sha256": "108e8560ce20c8f15e7f4d0807d4019cee38146263dfac012b89b60054f6d845", + "duplicate_failed_command_blocked": false, + "block_reason": null, + "execution_started": true, + "changes_made": true, + "sanitized": true, + "secrets_included": false, + "private_addresses_included": false, + "raw_evidence_retained_locally": true, + "raw_evidence_sha256": "58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af", + "sanitized_output_sha256": "58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af", + "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-v2.service' → '/etc/systemd/system/homelab-reader-v2.service'.\ncurl: (22) The requested URL returned error: 500\nTraceback (most recent call last):\n File \"\", line 145, in \n feed=json.loads(subprocess.check_output([\"/usr/bin/curl\",\"-fsS\",feed_url],text=True))\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\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/feed']' returned non-zero exit status 22.\n" +} diff --git a/runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.txt b/runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.txt new file mode 100644 index 0000000..5d3fca0 --- /dev/null +++ b/runtime/history/GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248.txt @@ -0,0 +1,39 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248 +STATUS=FAIL +RC=1 +HOST=pve01 +MODE=change +COMPONENT=cluster-admin +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752 +COMMAND_SHA256=108e8560ce20c8f15e7f4d0807d4019cee38146263dfac012b89b60054f6d845 +DUPLICATE_FAILED_COMMAND_BLOCKED=false +EXECUTION_STARTED=true +CHANGES_MADE=true +SANITIZED=yes +SECRETS_INCLUDED=no +PRIVATE_ADDRESSES_INCLUDED=no +RAW_EVIDENCE_SHA256=58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af +SANITIZED_OUTPUT_SHA256=58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af +OUTPUT_BEGIN +Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader-v2.service' → '/etc/systemd/system/homelab-reader-v2.service'. +curl: (22) The requested URL returned error: 500 +Traceback (most recent call last): + File "", line 145, in + feed=json.loads(subprocess.check_output(["/usr/bin/curl","-fsS",feed_url],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/feed']' returned non-zero exit status 22. + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index e936050..693d1a3 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-FAILURE-247", - "status": "OK", - "rc": 0, + "command_id": "GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248", + "status": "FAIL", + "rc": 1, "host": "pve01", - "mode": "read-only", - "component": "cluster-audit", - "started_at_utc": "2026-07-22T19:52:35Z", - "finished_at_utc": "2026-07-22T19:52:36Z", + "mode": "change", + "component": "cluster-admin", + "started_at_utc": "2026-07-22T19:56:22Z", + "finished_at_utc": "2026-07-22T19:56:23Z", "reference_register_checked": true, "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", "error_register_checked": true, "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752", - "command_sha256": "ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596", + "command_sha256": "108e8560ce20c8f15e7f4d0807d4019cee38146263dfac012b89b60054f6d845", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, - "changes_made": false, + "changes_made": true, "sanitized": true, "secrets_included": false, "private_addresses_included": false, "raw_evidence_retained_locally": true, - "raw_evidence_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171", - "sanitized_output_sha256": "195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171", + "raw_evidence_sha256": "58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af", + "sanitized_output_sha256": "58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af", "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" + "output": "Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader-v2.service' → '/etc/systemd/system/homelab-reader-v2.service'.\ncurl: (22) The requested URL returned error: 500\nTraceback (most recent call last):\n File \"\", line 145, in \n feed=json.loads(subprocess.check_output([\"/usr/bin/curl\",\"-fsS\",feed_url],text=True))\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\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/feed']' returned non-zero exit status 22.\n" } diff --git a/runtime/latest.txt b/runtime/latest.txt index a780af6..5d3fca0 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,31 +1,30 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=GITEA-READER-LOCAL-SERVICE-FAILURE-247 -STATUS=OK -RC=0 +COMMAND_ID=GITEA-READER-LOCAL-SERVICE-V2-INSTALL-248 +STATUS=FAIL +RC=1 HOST=pve01 -MODE=read-only -COMPONENT=cluster-audit +MODE=change +COMPONENT=cluster-admin REFERENCE_REGISTER_CHECK=OK REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e ERROR_REGISTER_CHECK=OK ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752 -COMMAND_SHA256=ae1aaf0ada77397917d1e1194489455154bf3eb1429ec650e682c33461b84596 +COMMAND_SHA256=108e8560ce20c8f15e7f4d0807d4019cee38146263dfac012b89b60054f6d845 DUPLICATE_FAILED_COMMAND_BLOCKED=false EXECUTION_STARTED=true -CHANGES_MADE=false +CHANGES_MADE=true SANITIZED=yes SECRETS_INCLUDED=no PRIVATE_ADDRESSES_INCLUDED=no -RAW_EVIDENCE_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171 -SANITIZED_OUTPUT_SHA256=195efe80e28df547213270825a51051dac1d736ce36fad3796eb35277753b171 +RAW_EVIDENCE_SHA256=58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af +SANITIZED_OUTPUT_SHA256=58ae91f2e92115d0de964a42b713a2ff6d620cbed42a2d41cbdba884857473af 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 +Created symlink '/etc/systemd/system/multi-user.target.wants/homelab-reader-v2.service' → '/etc/systemd/system/homelab-reader-v2.service'. +curl: (22) The requested URL returned error: 500 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 "", line 145, in + feed=json.loads(subprocess.check_output(["/usr/bin/curl","-fsS",feed_url],text=True)) + ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/subprocess.py", line 472, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -34,30 +33,7 @@ Traceback (most recent call last): 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 +subprocess.CalledProcessError: Command '['/usr/bin/curl', '-fsS', 'http://127.0.0.1:8788/5a2edc1b3a3140d935e48ca0c0123849372dedff6fe55a48d25db7ab4de593b2/feed']' returned non-zero exit status 22. OUTPUT_END CHAT_OUTPUT_END