Uh oh!
There was an error while loading. Please reload this page.
Add /var and /root free space checks to weka_upgrade_checker - #575
Add /var and /root free space checks to weka_upgrade_checker#575manmeet-weka wants to merge 2 commits into
Conversation
Mirrors the existing logs partition check (warn if < 20% free). Motivated by WEKAPP-627335 where /var at 100% on SMBW nodes caused drive build failures and blocked upgrade. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
vrragosta
commented
Jun 9, 2026
There are a couple of minimal changes that need to accompany every upgrade checker PR:
Please make these changes and I will continue with a review. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
manmeet-weka
commented
Jun 9, 2026
Done — bumped version to 1.12.2 in both version.txt and pg_version, and updated the compiled binary from 172.29.5.93. |
| INFO("CHECKING /root DIRECTORY SPACE USAGE ON BACKENDS") | ||
| results = parallel_execution( | ||
| ssh_bk_hosts, | ||
| ["df -m /root | awk 'NR==2 {print $3, $4}'"], |
There was a problem hiding this comment.
I think you want to check the actual root, no? df -m /
Summary
/varand/rootpartitions across all backend hostsfree_space_check_path()to avoid duplicating the log-space check logicTest plan
/varand/root🤖 Generated with Claude Code