Description of problem:
When querying an enumeration using the WSMAN enumerate method, not all
entries are returned if there are more than max_elems (default of 100)
in the enumeration.
When querying an enumeration, the first response returns <wsman:Items>
in the body. Successive pulls, however, contain <wsen:Items>.
The current code always queries for <wsen:Items>, which causes the first
batch of attributes to be dropped only when the number of entries in
the enumeration exceeds max_elems.
Version-Release number of selected component (if applicable):
Ocata python-dracclient
How reproducible:
Enumerate the DCIM_iDRACCardEnumeration table using the wsman.enumerate method.
Steps to Reproduce:
1. Query DCIM_iDRACCardEnumeration using wsman.enumerate with logging turned up to DEBUG.
2. Note that entries that are present in the first response are not present in the end results.
Actual results:
The first 100 entries in DCIM_iDRACCardEnumeration are discarded.
Expected results:
All entries in DCIM_iDRACCardEnumeration should be returned.
Additional info:
The patch for this is pending upstream:
https://review.openstack.org/#/c/424754/
Upstream bug:
https://bugs.launchpad.net/python-dracclient/+bug/1659052
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2017:1245