`ERROR! A worker was found in a dead state`
AdvancedTroubleshootingVault, Performance and Execution Behaviour
Answer
Likely causes → A fork process died, usually because the Linux OOM killer stopped it. Typical triggers are high forks, huge registered results (a find across /, slurp of large files), large fact sets, or a container controller with a low memory limit.
Diagnose →
dmesg -T | grep -i -E 'killed process|oom'
kubectl describe pod <awx-job-pod> | grep -i OOMKilled # AWX
Fix → Lower forks, avoid registering big outputs (filter on the target, use changed_when and short stdout), use gather_subset to cut facts, and give the controller or AWX job pod more memory.
Prevent → Set memory requests and limits for execution nodes based on measured peaks, and watch controller memory during large runs.
More on Vault, Performance and Execution Behaviour
`ERROR! Attempting to decrypt but no vault secrets found`Beginner`ERROR! Decryption failed (no vault secrets were found that could decrypt) on inventories/prod/group_vars/all/vault.yml`BeginnerBoth `--vault-id [email protected]` and `--vault-id prod@prompt` are passed, and prod files still fail to decryptIntermediate`Vault format unhexlify error: Odd-length string` after pasting an `encrypt_string` valueIntermediate`Problem running vault password script /home/ci/.vault_pass ([Errno 8] Exec format error). If this is not a script, remove the executable bit from the file.`AdvancedEvery change to `vault.yml` produces an unreadable diff and constant merge conflictsIntermediate