Skip to content

Keep waiting through a transient enableFailed when enabling private endpoints - #216

Merged
brett19 merged 2 commits into
masterfrom
pe-tolerate-enablefailed
Nov 3, 2026
Merged

brett19 merged 2 commits into
masterfrom
pe-tolerate-enablefailed

Conversation

@programmatix

@programmatix programmatix commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

private-endpoints enable currently gives up the first time Capella reports enableFailed. That status is often transient: Capella's enable job waits a hardcoded 3 minutes for its AWS load balancer, marks itself enableFailed if that's exceeded, then requeues and usually succeeds a few minutes later (AV-137114). It's breaking around 30% of FIT private endpoint runs.

This keeps polling through enableFailed for up to 20 minutes (one backend attempt can take that long) and succeeds if the status reaches enabled. Other *Failed states still fail immediately. cbdinocluster never disables the service on failure, so this doesn't have the orphaned-resource problem that got the equivalent Terraform provider fix reverted.

🤖 Generated with Claude Code

programmatix and others added 2 commits November 2, 2026 14:34
…ndpoints

Capella's enable job reports enableFailed when its AWS load balancer takes
longer than a hardcoded 3 minutes, then requeues itself and usually succeeds
a few minutes later (AV-137114). Previously `private-endpoints enable` gave up
on the first enableFailed. Keep polling through it for up to 20 minutes
instead; other *Failed states still fail immediately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brett19
brett19 merged commit ff864aa into master Nov 3, 2026
5 checks passed
@brett19
brett19 deleted the pe-tolerate-enablefailed branch November 3, 2026 14:04
programmatix added a commit to couchbaselabs/fit-cli that referenced this pull request Nov 3, 2026
Picks up couchbaselabs/cbdinocluster#216, which keeps waiting through Capella's transient private endpoint enableFailed (AV-137114) instead of failing the run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

3 participants