Ensure CnsVolumeOperationRequest CR reservations are set to 0 on error#3944
Ensure CnsVolumeOperationRequest CR reservations are set to 0 on error#3944deepakkinni wants to merge 1 commit intokubernetes-sigs:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deepakkinni The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e9b684f to
e9c8a64
Compare
Signed-off-by: Deepak Kinni <deepak.kinni@broadcom.com>
e9c8a64 to
49b74e3
Compare
|
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #1147 |
|
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #1158 |
|
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #972 |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #1169 |
|
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #1170 |
|
SUCCESS --- Jenkins Build #975 |
|
FAILED --- Jenkins Build #976 |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #977 |
|
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
|
FAILED --- Jenkins Build #978 |
|
SUCCESS --- Jenkins Build #979 |
What this PR does / why we need it:
Fixes CnsVolumeOperationRequest CRs getting stuck in InProgress state, preventing cleanup and causing temporary quota reservation spike. This issue occurred when CNS operations failed after task creation but before status updates could be persisted due to context expiration or session timeouts.
Changes include:
persistVolumeOperationDetailshelper methodIsRetryAttempthelper for consistent retry detectionWhich issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Testing done:
Special notes for your reviewer:
Changes affect both transaction-enabled and improved idempotency code paths. The quota reservation refinement ensures capacity is retained for retries while preventing permanent leaks.
Release note: