Skip to content

Increase renewal timeout and add Initializing-state diagnostics - #2

Open
psasidhar wants to merge 1 commit into
mainfrom
fix/renewal-timeout-initializing
Open

Increase renewal timeout and add Initializing-state diagnostics#2
psasidhar wants to merge 1 commit into
mainfrom
fix/renewal-timeout-initializing

Conversation

@psasidhar

Copy link
Copy Markdown

Three changes to manager/manager.go:

  1. issueRenewalTimeout: 60s → 5min Gives the issuer time to stamp Initializing and ZTS time to sign before the driver times out and abandons the in-flight CertificateRequest.

  2. case "Initializing" in handleRequest poll loop Tracks when Initializing is first observed, warns if it persists >1min, and logs elapsed time when the CR is eventually signed or times out.

  3. Log in findPendingRequest when an existing CR is skipped as non-resumable Surfaces the one-cycle-delay scenario: if a CR is still Initializing when the retry runs, this log confirms the driver is creating a replacement CR.

Three changes to manager/manager.go:

1. issueRenewalTimeout: 60s → 5min
   Gives the issuer time to stamp Initializing and ZTS time to sign before
   the driver times out and abandons the in-flight CertificateRequest.

2. case "Initializing" in handleRequest poll loop
   Tracks when Initializing is first observed, warns if it persists >1min,
   and logs elapsed time when the CR is eventually signed or times out.

3. Log in findPendingRequest when an existing CR is skipped as non-resumable
   Surfaces the one-cycle-delay scenario: if a CR is still Initializing when
   the retry runs, this log confirms the driver is creating a replacement CR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Sasi Palaka <palakas@yahooinc.com>
@psasidhar
psasidhar force-pushed the fix/renewal-timeout-initializing branch from 8ef8dfa to 41aab78 Compare July 24, 2026 14:20
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