ansible-scylla-node: increase API port wait timeout to reduce CI flakiness#533
Draft
cursor[bot] wants to merge 3 commits into
Draft
ansible-scylla-node: increase API port wait timeout to reduce CI flakiness#533cursor[bot] wants to merge 3 commits into
cursor[bot] wants to merge 3 commits into
Conversation
Add upgrade_sstables (default true) and invoke nodetool upgradesstables in post_upgrade once CQL is up, so rolling upgrades rewrite SSTables to the current format (including system keyspace drifts). Co-authored-by: Cursor <cursoragent@cursor.com>
Wait for nodetool readiness before upgradesstables, and bound runtime via upgrade_sstables_timeout_seconds (async/poll) like cleanup/repair. Co-authored-by: Cursor <cursoragent@cursor.com>
…iness The 'wait for the API port to come up on all nodes' task used a hardcoded 300s timeout. Under loaded CI runners (multiple docker containers competing for resources) the scylla-server API can take longer than 300s to come up even though the CQL port is already responding, causing intermittent molecule build failures (e.g. build (rockylinux10)) unrelated to the code under test. Bump the timeout to 600s, consistent with prior fixes for the same kind of flakiness in this file (e.g. 34f0e15, 10e2925). Co-authored-by: Manjot Singh <ManjotS@users.noreply.github.com>
This was referenced Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wait for the API port to come up on all nodestask timeout from 300s to 600s inansible-scylla-node/tasks/common.yml.Context
PR #532's
build (rockylinux10)Molecule job failed with:This happens during the
convergescenario, before any of PR #532's changes (which only touchansible-scylla-node/tasks/upgrade/post_upgrade.yml, not exercised by this scenario) run. The CQL port already responded (after retries) but the scylla-server API port took longer than the hardcoded 300s under loaded CI runners (multiple containers competing for resources). The same class of "Timeout when waiting for " failure has also been observed onmasterruns for unrelated services (e.g. scylla-manager port 5080), confirming this is pre-existing CI flakiness, not a regression introduced by PR #532.This mirrors prior fixes for the same kind of flakiness in this file (commits 34f0e15 and 10e2925, which increased retries/timeouts for adjacent readiness checks).
Test plan