nautobot-ansible
nautobot-ansible copied to clipboard
REST API Inventory Better Handle Large Inventories
ISSUE TYPE
- Bug Report
SOFTWARE VERSIONS
pynautobot
N/A - REST API Inventory
Ansible:
x.x
Nautobot:
1.1.4
Collection:
networktocode.nautobot
SUMMARY
With large inventories, Ansible may cause requests to timeout for Nautobot due to asking for all resources.
STEPS TO REPRODUCE
- Create a large inventory in Nautobot
- Use Nautobot Inventory
- See timeouts and large CPU utilization
EXPECTED RESULTS
Completed inventory
ACTUAL RESULTS
Incomplete inventory
Possible Solution
- Look into handling pagination built into Nautobot instead of requesting all
- Evaluate moving to pynautobot to handle pagination
- Others