64d57407e0Refactor grpc-balancer to use Gunicorn and update playbook.yml for deployment
vvzvlad
2025-01-20 19:32:16 +0300
e40e14dea5Add SSL support to grpc-balancer and update playbook for certificate management
vvzvlad
2025-01-20 19:21:12 +0300
b988582553Refactor grpcbalancer setup in playbook.yml and remove legacy files. Replaced shell commands with Ansible copy module for grpcbalancer service file creation and enabled the service using systemd. Deleted grpc-balancer.py and grpc-balancer.service files as part of the cleanup process, streamlining the deployment configuration.
vvzvlad
2025-01-20 18:57:00 +0300
22ce6c07c3Refactor check_logs function in checker.py to improve log output. Moved the subscription ID logging to ensure it is always checked and logged before returning the status, enhancing clarity in the synchronization status reporting.
vvzvlad
2025-01-20 13:47:29 +0300
834ddb4438Fix log status message in checker.py to return head_sub_id directly instead of formatted number. This change improves clarity in log output.
vvzvlad
2025-01-20 13:33:54 +0300
7e8587660dRefactor config.json to enhance snapshot synchronization settings. Moved snapshot_sync parameters to a new location, ensuring clarity and organization. This change maintains the same values for sleep, batch_size, starting_sub_id, and sync_period, improving overall configuration structure.
vvzvlad
2025-01-20 13:24:04 +0300
6b431823f5Refactor config.json to enhance snapshot synchronization settings and remove Docker credentials. Updated snapshot_sync parameters: increased sleep time to 3 seconds, adjusted batch_size to 800, changed starting_sub_id to 210000, and extended sync_period to 30 seconds for improved performance.
vvzvlad
2025-01-20 12:59:53 +0300
82e6047e86Comment out the apt update and upgrade steps in playbook.yml to prevent unnecessary package updates during execution, streamlining the playbook's operation.
vvzvlad
2025-01-20 10:25:43 +0300
15f277057eComment out Docker login and credential removal steps in playbook.yml for security reasons, ensuring sensitive information is not exposed in the playbook.
vvzvlad
2025-01-20 09:43:09 +0300
04d44aeadfUpdate playbook.yml to configure Docker daemon for journald logging and add registry mirrors. This change enhances logging capabilities and allows for the use of a custom Docker registry.
vvzvlad
2025-01-20 09:42:41 +0300
b006ea31b0Refactor playbook.yml to improve contract deployment and execution handling. Added asynchronous execution with polling for contract deployment and call commands, ensuring successful completion checks. Updated shell command execution to use /bin/bash for consistency.
vvzvlad
2025-01-19 19:29:37 +0300
04efc25a48Add Docker pull command for hello-world image in playbook.yml
vvzvlad
2025-01-19 18:09:09 +0300
cccbc07db1Update docker-compose.yaml and config.json for improved performance and configuration adjustments
vvzvlad
2025-01-19 17:51:52 +0300
7d5889553dUpdate playbook.yml to reduce RestartSec from 1800 to 600 for improved service responsiveness
vvzvlad
2025-01-19 12:19:03 +0300
34776214d6Downgrade Docker image version in docker-compose.yaml from 1.4.0 to 1.2.0 to revert to a previous stable release.
vvzvlad
2025-01-19 12:08:08 +0300
0cc12c5446Update Docker image version in docker-compose.yaml from 1.2.0 to 1.4.0 for improved functionality and performance.
vvzvlad
2025-01-19 12:00:20 +0300
57c8b81c13Add format_number function to checker.py for improved subscription ID formatting
vvzvlad
2025-01-19 11:56:00 +0300
382a910856Enhance check_logs function in checker.py to capture and log head subscription ID. Added logic to extract "head sub id" from logs and return it in the status message, improving clarity in subscription state reporting. This update complements existing functionality for tracking last subscription ID, ensuring comprehensive log analysis.
vvzvlad
2025-01-19 11:54:47 +0300
a0d2e74115Update check_logs function in checker.py to modify subscription status reporting. Changed the return message from "Subscription" to "Sync" for improved clarity in log analysis. This adjustment enhances the understanding of the subscription state in the context of log processing.
vvzvlad
2025-01-19 11:51:00 +0300
c1f23386b5Refactor check_logs function in checker.py to improve logging and subscription status reporting. Renamed parameter from log_handler to logger for clarity. Added logging for cases where no subscription is found, enhancing the visibility of log analysis outcomes.
vvzvlad
2025-01-19 11:42:55 +0300
e5a0eef020Enhance check_logs function in checker.py to capture last subscription ID from logs. Added logic to identify and return the most recent subscription ID when "Ignored subscription creation" messages are detected. This improves the clarity of log analysis by providing specific subscription status, while maintaining the existing error handling for Docker log retrieval.
vvzvlad
2025-01-19 11:42:14 +0300
c95fce1b69Add clean_ansi function to checker.py for log processing
vvzvlad
2025-01-19 11:40:43 +0300
cd119be631Update check_logs function in checker.py to suppress color output in docker logs retrieval. This change enhances log readability by ensuring that the output is plain text, improving clarity for subsequent log analysis.
vvzvlad
2025-01-19 11:38:25 +0300
a5a27829deRefactor check_logs function in checker.py to simplify log handling. Removed subscription message detection logic and replaced it with a basic line printing mechanism. The function now returns a default status of "Idle", streamlining the process and reducing complexity in log analysis.
vvzvlad
2025-01-19 11:37:27 +0300
246e073092Update subscription pattern in check_logs function of checker.py to improve error message handling. Enhanced regex to capture error types more accurately, ensuring whitespace is stripped from error messages. This change refines log analysis and improves clarity in health check reporting.
vvzvlad
2025-01-19 11:34:57 +0300
43dbcd0a17Refactor 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.
vvzvlad
2025-01-19 11:34:16 +0300
c062ad8e66Enhance 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.
vvzvlad
2025-01-19 11:32:51 +0300
da56ef57f0Comment 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.
vvzvlad
2025-01-19 11:31:51 +0300
b89e6c20ceRefactor 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.
vvzvlad
2025-01-19 11:29:48 +0300
b93e5f890aRefactor 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.
vvzvlad
2025-01-19 11:11:38 +0300
625a8f71aeUpdate 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.
vvzvlad
2025-01-19 09:54:48 +0300
8acb4768e3Reduce 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.
vvzvlad
2025-01-19 09:48:54 +0300
b9d966ff90Update 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.
vvzvlad
2025-01-19 09:45:18 +0300
1e38b5aca6Refactor 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.
vvzvlad
2025-01-19 09:44:17 +0300
3abc4e0a81Update 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.
vvzvlad
2025-01-19 09:26:27 +0300
49c13d9e42Enhance 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.
vvzvlad
2025-01-18 17:57:29 +0300
4e50ee554bComment 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.
vvzvlad
2025-01-18 15:03:02 +0300
f5706ac887Update health status callback in checker.py to return a fixed message "test ok" instead of dynamic log data
vvzvlad
2025-01-18 14:52:59 +0300
da787935dfAdd node-checker service
vvzvlad
2025-01-18 13:59:41 +0300
77a5f1a071Refactor 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.
vvzvlad
2025-01-17 07:20:54 +0300
8425114abfRefactor update_contracts.sh to remove unnecessary directory change and streamline contract address handling
vvzvlad
2025-01-16 09:16:28 +0300
92f6cdcd40Update playbook.yml to remove unnecessary '--no-dependencies' argument from grpcbalancer installation command
vvzvlad
2025-01-16 09:05:42 +0300
f2cce2f592Refactor 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.
vvzvlad
2025-01-16 08:51:07 +0300
5d8a2cfdd6Refactor update.sh to simplify usage by removing wallet address, private key, and RPC URL parameters; streamline script for improved clarity and maintainability.
vvzvlad
2025-01-16 08:32:17 +0300
4c0268823bAdd execute permission to update.sh in playbook.yml
vvzvlad
2025-01-16 08:26:06 +0300
bbd1de0020Fix variable name in update script call in playbook.yml
vvzvlad
2025-01-16 07:56:19 +0300
3a2847295aRefactor playbook to use 'node' directory instead of 'ritual'; add grpcbalancer installation steps
vvzvlad
2025-01-16 07:48:51 +0300