[Spacewalk-list] packages.findByNvrea API method - not 100% successful

Tim Lank timlank at timlank.com
Thu Mar 31 12:02:10 UTC 2011


Spacewalk-list:

I have a list of 1039 packages with their name, version, release,
epoch (if it exists), and archLabel and I am trying to return the "id"
from the array structure that the packages.findByNvrea API method
provides.

When I loop through the list of all 1039, it successfully produces the
"id" for 1015 of the packages, but not 24 of them (i.e. I'm getting
about a 98% success rate).

I've checked the input list for the 24 that do not produce the return,
but nothing stands out from these as being different from the other
1015 that are successful.

Can anyone indicate why I wouldn't get a 100% response from this API
call?  Why do these 24 fail to produce any results?

I have an RHN Satellite v5.4.

Thanks,
Tim




More information about the Spacewalk-list mailing list