-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inventory plugin is only resturning 50 results per group #547
Comments
@tallyoh, could you please let us know the version of the openmanage collection that you are using? |
@tallyoh I have a fix for this attached please replace and let me know if it is good, please feel free to submit a PR for the fix. |
I gave this a try, it did not return anymore results than the old version. I still get the top 50. I have over 400 blades in OME. |
If I access the direct RESTful API which returns the same result as the playbook, it will work if I specify $skip=0&$top=2000 I did have to change queries to var.json instead of var.device_info but otherwise the direct rest call was fine |
@DellDavidMcKay Thanks for checking.. i tried here and it seems to be working good, we are paginating the values and fetching all the devices. |
Thank you for fixing this. I can confirm that the recently released 8.5.0 version does indeed fix the inventory plugin. I am now able to get all results (not just the first 50). Thanks again. |
Hello,
I am using the ome_inventory plugin for ansible and I am only able to receive 50 results, and only if I specify a group. Without a group created in ome, I actually dont get any results at all. Has anyone encountered this issue before? Any solutiuon?
Thanks in advance.
The text was updated successfully, but these errors were encountered: