Closed PPadgett closed 4 months ago
Hi @PPadgett ,
Have you tried length
param ? I am trying length
parameter and it is giving expected response from my lab setup. I have 48 subnets in my setup. Querying for 40 subnets.
Task:
tasks:
- name: subnets info
ntnx_subnets_info:
length: 40
register: result
- debug:
var: result
Response:
@PPadgett If you have already tried length
: 98 then can you once try some less number like 40-50 with two calls using offset
? Trying to check if its a processing issue or not due to large size of response from server
I wanted to express my heartfelt gratitude for your prompt and effective support in resolving the issue related to the ‘ntnx_subnet_info’ task within the Ansible Collection. Adding the length fixed the issue..
Describe the bug When utilizing the 'Nutanix.ncp' Ansible Collection, specifically with the 'ntnx_subnet_info' task, it only retrieves a partial list of Nutanix subnets instead of the full list that is confirmed to exist and be configured within our environment.
To Reproduce Steps to reproduce the behavior:
Here is a sample of the playbook used:
Stack trace
Expected behavior The expectation is for the 'ntnx_subnets_info' task to retrieve a comprehensive list of all configured and existing Nutanix subnets, without omitting any subnets.
Additional context The issue persists regardless of the kind parameter setting, indicating it may not be related to the specific type of subnet being queried but potentially to how the collection interfaces with Nutanix API or processes the retrieved data.