Skip to content
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

[BUG]: ome_device_info limiting to 50 responses #499

Closed
MallocArray opened this issue May 23, 2023 · 2 comments
Closed

[BUG]: ome_device_info limiting to 50 responses #499

MallocArray opened this issue May 23, 2023 · 2 comments
Labels
area/ome ome modules needs-triage Issue requires triage. type/bug Something isn't working
Milestone

Comments

@MallocArray
Copy link

Bug Description

Using OME Version 3.10.1 (Build 51) and Ansible Collection 7.5.0

When using oem_device_info to get a list of all servers in OME, I can see 233 entries in the OME gui, but this module only returns 50 items. I'm thinking it is a pagination type issue, but I'm not seeing a parameter to adjust how many are returned.

I need to be able to return all items when I'm filtering on a particular type, in my case, I'm doing Type eq 1000 to get only servers.

Component or Module Name

ome_device_info

Ansible Version

2.14

Python Version

Python 3.9

iDRAC/OME/OME-M version

OME Version 3.10.1 (Build 51)

Operating System

iDRAC

Playbook Used

- name: Retrieve basic inventory of all Server devices
  dellemc.openmanage.ome_device_info:
    hostname: "{{ inventory_hostname }}"
    username: "{{ dell_ome_username }}"
    password: "{{ dell_ome_password }}"
    validate_certs: "{{ dell_validate_certs | default(omit) }}"
    ca_path: "{{ dell_ca_path | default(omit) }}"
    system_query_options:
      filter: "Type eq 1000"  # Only Servers
  register: ome_device_info
  until: ome_device_info is not failed
  retries: 5
  delay: 60

Logs

N/A

Steps to Reproduce

Run against OME with 233 items registered

Expected Behavior

All server items returned in the output

Actual Behavior

Only 50 items are being returned

Screenshots

No response

Additional Information

No response

@MallocArray MallocArray added needs-triage Issue requires triage. type/bug Something isn't working labels May 23, 2023
@anupamaloke anupamaloke added the area/ome ome modules label Jun 1, 2023
@anupamaloke
Copy link
Contributor

@MallocArray, thank you for submitting this issue. I have added it to our backlog and we will accordingly prioritize it for future releases.

@sachin-apa
Copy link
Collaborator

Closing the issue as this is fixed with PR # 512 Release 8.1.0

@sachin-apa sachin-apa moved this from To do to Done in OpenManage Ansible Collection May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ome ome modules needs-triage Issue requires triage. type/bug Something isn't working
Development

No branches or pull requests

3 participants