Automation · Automation Troubleshooting
Missing Dependency
Cheat sheet · https://pcornel.dk/topic.php?topic=6054
Answer
Missing Dependency isolates absent, incompatible or unreachable runtime requirements such as modules, binaries, libraries, collections, providers, interpreters, services or external APIs.
Remember
- Package name present ≠ required version or architecture is active.
- Dependency installed ≠ runner resolves that instance.
- Lock file exists ≠ runtime environment matches it.
- External service DNS resolves ≠ dependency is functionally available.
First checks
pip check / ansible-galaxy collection list / Get-Module -ListAvailable— installed dependencies- Lock file vs environment — mismatch
- Execution environment image — consistency
Verify in this order
run → import/command → missing → install pinned
Where it usually breaks
Dependency presence is bounded evidence; it does not prove compatibility, correct resolution path, trusted provenance or functional external service behavior.
Missing Dependency troubleshooting proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad retry or unrelated edits make the incident non-reproducible and hide residual state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6054