Pcornel
Automation · Runbook Automation

Runbook Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=5559

Back to the Topic

Answer

Troubleshoot runbook automation by checking the execution log, inputs supplied, node connectivity and credentials, preconditions that blocked execution and changes in the target since the runbook was written.

Remember

  • Read the execution log first.
  • Check inputs and targets.
  • Check preconditions that blocked execution.

First checks

  • Failed run logs — cause
  • Target reachability/credentials — common failures
  • Recent changes to runbook — regressions

Commands

git diff --check
Read-only/validation observation for whitespace/conflict-marker style errors in pending repository changes.

Verify in this order

runbook → step → error → fix

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5559

Confirmation

Confirm action

Continue?