Pcornel
Automation · IPAM Automation

IPAM Automation Troubleshooting

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

Back to the Topic

Answer

Troubleshoot IPAM automation by checking API tokens and permissions, that the parent prefix and VRF are correct, duplicate or stale records, race conditions between parallel jobs, and drift between IPAM and DHCP or DNS.

Remember

  • Race conditions between parallel jobs.
  • Wrong parent prefix or VRF.
  • Stale records.

First checks

  • Duplicate IP report — conflicts
  • API error responses — causes
  • Reconciliation differences (scan vs IPAM) — accuracy

Commands

curl -sS -D - -o /dev/null <ipam-health-or-read-url>
Read-only/validation observation for DNS/TLS/connectivity plus HTTP status/headers from a documented non-mutating IPAM …

Verify in this order

request → IPAM → conflict/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=5871

Confirmation

Confirm action

Continue?