Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Partial Failure · Error Handling

Direct answer

Partial failure is when a job succeeds on some targets and fails on others. Report exactly which ones failed and make reruns idempotent so only those are retried.

When to use this

Use this when some targets succeeded and others failed.

First 30 seconds

1. Partial failure: some targets changed, others not.

2. Track results per target.

3. Decide: roll back all or roll forward remaining.

4. Idempotent reruns.

5. Report clearly.

Operational verification

batch → mixed results → reconcile

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation retry/timeout/failure control
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformautomation retry/timeout/failure control · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when some targets succeeded and others failed.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Reporting only overall failure.
  • Re-runs that redo successful work non-idempotently.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Report exactly which failed.
  • Rerun only failed targets.
  • Idempotency makes reruns safe.
Key checks
  • Per-target status report — what succeeded
  • Stop/continue policy — containment
  • Reconciliation step — consistency
ReferenceWhy it matters1 section · depth on demand

What it is

Partial failure: some targets or steps succeed and others fail. Report exactly which, and make re-runs safe.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

A partial failure is a run where some targets or steps succeeded and others failed. It is the normal failure mode for automation over many systems, and the dangerous part is that the estate is now inconsistent: some devices have the new configuration, some do not.

Handling options:

ApproachWhen
Continue, report failuresIndependent targets, change is safe to apply partly
Stop at thresholdShared risk; avoid spreading a bad change
Roll back successesAll-or-nothing changes (consistency required)
Retry failures onlyTransient errors

Whatever the choice, the result must list which targets succeeded, failed and were never attempted. Ansible's play recap and .retry files, or a per-target status table in a script, make the next step straightforward.

PLAY RECAP
sw01 : ok=12 changed=3 unreachable=0 failed=0
sw02 : ok=4  changed=0 unreachable=1 failed=0

Documented example, not captured output.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docautomation retry/timeout/failure control current

Authoritative/upstream documentation reviewed for bounded claims in Error Handling > Partial Failure. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/architecture/patterns/retry · confidence 94%
Confirmation

Confirm action

Continue?