Resuming an interrupted deployment

Resume a deployment after a failed stage or a closed terminal, continuing from the last stage that completed in the saved profile.

A failed stage or a closed terminal does not lose the deployment. The LCM records progress in a saved profile under the site identifier and continues from the last stage that completed.

  1. Reattach to a container that exited, which is the usual case.
    sudo podman start -ai ccc-lcm
  2. Read the deployment status on the startup screen, which names the stage that failed or the last stage that succeeded.
  3. Select the option to resume the deployment.
  4. Select a starting point, either a preset or an individual stage, and confirm the selection.

The run continues. The resume screen offers the following presets.

Table 1. Resume presets
PresetStart point
Full deploymentThe first stage, running everything again
Start from configurationThe site configuration stage
Start from GitOpsThe Flux stage

For an unattended run, resume by passing the stage options with the same site identifier.