Skip to content

Stuck service operations recovery - #681

Draft
kathap wants to merge 4 commits into
developfrom
stuck-service-operations-recovery
Draft

Stuck service operations recovery#681
kathap wants to merge 4 commits into
developfrom
stuck-service-operations-recovery

Conversation

@kathap

@kathap kathap commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Expose configurable BOSH properties in the cloud_controller_clock job for the three new stuck-operation recovery jobs

  • A short explanation of the proposed change:
    Adds three configurable BOSH properties for the cloud_controller_clock job, each defaulting to 1 hour (frequency_in_seconds), controlling how often the corresponding new periodic jobs run:

    • cc.service_operations_update_stuck_in_progress_failed.frequency_in_seconds
      the ServiceOperationsUpdateStuckInProgressFailed job.
    • cc.service_operations_delete_stuck_in_progress_retry.frequency_in_seconds
      the ServiceOperationsDeleteStuckInProgressRetry job (service instances).
    • cc.service_operations_binding_delete_stuck_in_progress_retry.frequency_in_seconds
      the ServiceOperationsBindingDeleteStuckInProgressRetry job (bindings & keys).
  • An explanation of the use cases your change solves:
    On landscapes where CCDB restarts more frequently than on public IaaS providers, if the DB is briefly unavailable during a service broker polling cycle, the CC polling job can fail permanently (max_attempts=1) while the broker is still processing. This leaves a service operation stuck in in progress indefinitely with no delayed job working on it, requiring operator intervention.

The companion ccng PR adds three jobs that recover these stuck operations automatically. The new BOSH properties let operators tune how frequently each cleanup/retry job runs.

kathap added 3 commits August 13, 2026 11:13
Expose service_operations_update_in_progress_cleanup.frequency_in_seconds
as a configurable BOSH property in the clock job, defaulting to 1 hour,
mirroring the existing create cleanup property.
Expose the frequency of the new stuck service-delete retry clock job as a
configurable BOSH property (default 3600s), and render it into the
cloud_controller_ng.yml config.
Expose cc.service_operations_binding_delete_stuck_in_progress_retry.frequency_in_seconds
and render it into the clock config.
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