Skip to content

fix(clustertool): limit bootstrap pod waits to 15 minutes - #576

Merged
alfi0812 merged 6 commits into
trueforge-org:mainfrom
Boemeltrein:fix/bootstrap-pod-wait-timeout
Oct 14, 2026
Merged

alfi0812 merged 6 commits into
trueforge-org:mainfrom
Boemeltrein:fix/bootstrap-pod-wait-timeout

Conversation

@Boemeltrein

Copy link
Copy Markdown
Member

Description

The bootstrap checks for system pods and MetalLB pods passed 600 to CheckStatus. The helper interprets this value as minutes, so these checks could wait for 10 hours while the timeout error reported 15 minutes.

Solution
Change both timeout arguments in pkg/gencmd/bootstrap.go from 600 to 15. Each pod-status check now uses the agreed 15-minute timeout, matching the existing error message.

⚒️ Fixes #

⚙️ Type of change

  • 🆕 New feature (e.g., bootstrap, cluster config, or automation)
  • 🐛 Bugfix (e.g., node setup, config generation)
  • 🔃 Chart Updates/Changes included with clustertool
  • 🔃 Refactor (internal changes, no functional impact)
  • ⚠️ Breaking change (changes Talos cluster behavior)

🧪 How Has This Been Tested?

  • Run clustertool commands locally
  • Verified cluster bootstrap on Talos nodes
  • Checked generated configs are valid
  • Validated cluster state after changes

📃 Notes:

✔️ Checklist:

  • ⚖️ Followed project style and contribution guidelines
  • 👀 Self-reviewed my changes
  • 🧪 Documented testing steps
  • 🏷️ PR title follows convention:
    • feat(clustertool):
    • fix(clustertool):
    • chore(clustertool):

Please don't blindly check all the boxes. Read them and only check those that apply.
Those checkboxes are there for the reviewer to see what is this all about and
the status of this PR with a quick glance.

Boemeltrein and others added 3 commits October 14, 2026 22:11
Updated error logging to include duration and improved message format.

Signed-off-by: Boemeltrein <[email protected]>
@alfi0812
alfi0812 merged commit ae654c9 into trueforge-org:main Oct 14, 2026
7 checks passed
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.

1 participant