Skip to content

Cluster Cleanup Rework #1155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Cluster Cleanup Rework #1155

wants to merge 5 commits into from

Conversation

ArneTR
Copy link
Member

@ArneTR ArneTR commented Apr 18, 2025

  • Cluster cleanup routine moved to Python
  • Fixed APT Package install
  • Added NTP syncing

Greptile Summary

Migrated cluster cleanup from Bash to Python with enhanced NTP synchronization and APT package management, improving error handling and system maintenance integration.

  • Added NTP synchronization checks and management in /tools/cluster/cleanup_original.py with proper error handling
  • Integrated cleanup routine with validation workflow in /cron/client.py to trigger validation after package updates
  • Added check_ntp() function in /lib/system_checks.py to verify NTP status with WARN level alerts
  • Removed /tools/cluster/cleanup_original.sh in favor of more robust Python implementation

@ArneTR ArneTR requested a review from ribalba April 18, 2025 13:50
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 file(s) reviewed, 8 comment(s)
Edit PR Review Bot Settings | Greptile

ArneTR and others added 4 commits April 18, 2025 15:53
* main:
  .github workflows yml typos
  Added removal of sudoers.d to uninstall script
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Copy link
Member

@ribalba ribalba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants