Commit Graph

66 Commits

Author SHA1 Message Date
vvzvlad
43dbcd0a17 Refactor check_logs function in checker.py to enhance subscription message handling. Updated regex to capture error types alongside subscription IDs, improving log analysis. Added logging for cases with no matches and refined status messages based on error type, enhancing clarity in health check reporting. 2025-01-19 11:34:16 +03:00
vvzvlad
c062ad8e66 Enhance package management in checker.py by implementing version control for required packages. Added warnings filter to suppress warning messages. The script now checks for specific package versions and installs them accordingly, improving dependency management and ensuring compatibility. This change enhances the robustness of the environment setup for the checker process. 2025-01-19 11:32:51 +03:00
vvzvlad
da56ef57f0 Comment out random sleep functionality in checker.py to simplify execution flow. This change removes unnecessary delays, enhancing the responsiveness of the checker process while maintaining existing logging and error handling mechanisms. 2025-01-19 11:31:51 +03:00
vvzvlad
b89e6c20ce Refactor self_update function in checker.py to accept a logger parameter for improved logging. This change enhances the update process by providing consistent logging messages for update checks, successes, and errors, thereby improving the clarity and maintainability of the script's update functionality. 2025-01-19 11:29:48 +03:00
vvzvlad
b93e5f890a Refactor check_logs function in checker.py to improve subscription message detection. Changed from single match to iterating over all matches, allowing retrieval of the last subscription ID found in logs. Updated logging to reflect the last subscription message or indicate absence, enhancing clarity in log analysis. 2025-01-19 11:11:38 +03:00
vvzvlad
625a8f71ae Update subscription pattern in check_logs function of checker.py to include a wildcard for error messages. This change enhances the regex matching for subscription completion, improving the accuracy of log analysis in health checks. 2025-01-19 09:54:48 +03:00
vvzvlad
8acb4768e3 Reduce random sleep duration in checker.py from 10 minutes to 1 minute to improve responsiveness of the checker process. This change enhances the overall efficiency of the health check execution. 2025-01-19 09:48:54 +03:00
vvzvlad
b9d966ff90 Update check_logs function in checker.py to retrieve logs from the 'infernet-node' container instead of using 'docker compose'. This change improves log retrieval efficiency by reducing the time window from 2 hours to 10 minutes, while also updating error handling to reflect the new command. Enhances clarity in log management for health checks. 2025-01-19 09:45:18 +03:00
vvzvlad
1e38b5aca6 Refactor check_logs function in checker.py to focus on subscription completion detection. Removed dynamic error and proof speed logging, simplifying the health check process. Now returns a status based on subscription completion, enhancing clarity and maintainability of the health check logic. 2025-01-19 09:44:17 +03:00
vvzvlad
3abc4e0a81 Update playbook.yml to add journalctl command for node-checker service and comment out grpcbalancer service installation steps. This change enhances logging capabilities while simplifying the playbook by removing unnecessary service setup commands. 2025-01-19 09:26:27 +03:00
vvzvlad
49c13d9e42 Enhance health check in checker.py by adding a print statement for the fixed message "test ok". This improves visibility of the health status during execution while maintaining the existing error handling structure. 2025-01-18 17:57:29 +03:00
vvzvlad
4e50ee554b Comment out dynamic log data retrieval in checker.py, maintaining a fixed health status callback message "test ok". This change simplifies the health check process while preserving error handling functionality. 2025-01-18 15:03:02 +03:00
vvzvlad
f5706ac887 Update health status callback in checker.py to return a fixed message "test ok" instead of dynamic log data 2025-01-18 14:52:59 +03:00
vvzvlad
da787935df Add node-checker service 2025-01-18 13:59:41 +03:00
vvzvlad
77a5f1a071 Refactor upload_stats_to_grist function in grpc-balancer.py to consolidate server statistics into a single dictionary, improving clarity and maintainability. Update error logging to include exception details. 2025-01-17 07:20:54 +03:00
vvzvlad
8425114abf Refactor update_contracts.sh to remove unnecessary directory change and streamline contract address handling 2025-01-16 09:16:28 +03:00
vvzvlad
92f6cdcd40 Update playbook.yml to remove unnecessary '--no-dependencies' argument from grpcbalancer installation command 2025-01-16 09:05:42 +03:00
vvzvlad
f2cce2f592 Refactor grpcbalancer installation in playbook.yml to use shell commands for copying and setting permissions; update service file path in grpc-balancer.service; remove deprecated grpcbalancer.py file. 2025-01-16 08:51:07 +03:00
vvzvlad
5d8a2cfdd6 Refactor update.sh to simplify usage by removing wallet address, private key, and RPC URL parameters; streamline script for improved clarity and maintainability. 2025-01-16 08:32:17 +03:00
vvzvlad
4c0268823b Add execute permission to update.sh in playbook.yml 2025-01-16 08:26:06 +03:00
vvzvlad
bbd1de0020 Fix variable name in update script call in playbook.yml 2025-01-16 07:56:19 +03:00
vvzvlad
3a2847295a Refactor playbook to use 'node' directory instead of 'ritual'; add grpcbalancer installation steps 2025-01-16 07:48:51 +03:00
vvzvlad
671c7a4507 update v9 2025-01-16 07:31:53 +03:00
vvzvlad
e0913ece08 edit retries/delay 2024-09-28 03:34:11 +03:00
vvzvlad
1a775c6b87 add bashrc 2024-09-28 03:30:42 +03:00
vvzvlad
26323e9c41 revert to 1.2.0 2024-09-26 02:36:31 +03:00
vvzvlad
a79bdc94d0 bump ver 2024-09-25 17:52:04 +03:00
vvzvlad
272ee7522b add cmd in bash history 2024-09-24 14:54:38 +03:00
vvzvlad
e85f0b987e remove unless stopped 2024-09-23 02:42:05 +03:00
vvzvlad
7eab098a99 add logs setting 2024-09-23 02:39:45 +03:00
vvzvlad
c0502193b2 remove unused 2024-09-22 00:50:19 +03:00
vvzvlad
9be7df6bcf add sh files 2024-09-21 23:51:36 +03:00
vvzvlad
8183934d09 add commands to bashhistory 2024-09-21 20:05:18 +03:00
vvzvlad
1558f60810 change settings 2024-09-21 20:05:07 +03:00
vvzvlad
138fcfc321 add bash history 2024-09-21 19:25:29 +03:00
vvzvlad
153ccfd4db fix Install Forge and Infernet SDK 2024-09-18 01:25:24 +03:00
vvzvlad
eaceb3ecfa many fixes 2024-09-18 01:18:25 +03:00
vvzvlad
c0fd0330af fix bug 2024-09-18 01:12:07 +03:00
vvzvlad
fc49f06d75 big update 2024-09-18 01:06:32 +03:00
vvzvlad
17702b1396 add git_version 2024-09-15 03:00:16 +03:00
aedfc0374b add files 2024-09-15 00:42:15 +03:00
bf45c32758 Update 'projects/hello-world/container/config.json' 2024-08-22 05:02:20 +03:00
8ee55c5172 Update 'projects/hello-world/container/config.json' 2024-08-22 05:01:20 +03:00
65ffe60540 Update 'deploy/docker-compose.yaml' 2024-08-22 04:58:33 +03:00
83bcb52887 Update 'projects/hello-world/container/Makefile' 2024-06-17 03:39:51 +03:00
017d055aaa Update 'Makefile' 2024-06-17 03:36:18 +03:00
99eb3ed087 Update 'deploy/docker-compose.yaml' 2024-06-17 03:35:17 +03:00
6d1f826e42 Update 'deploy/docker-compose.yaml' 2024-06-17 03:09:26 +03:00
781cb24d36 Update 'update.sh' 2024-06-09 03:32:34 +03:00
fc0ab5feb5 Update 'update.sh' 2024-06-09 03:28:21 +03:00