Bug 1461194
Summary: | [RFE] API to fetch list of hosts without full host details | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Duryee <cduryee> | |
Component: | Hosts | Assignee: | Tomer Brisker <tbrisker> | |
Status: | CLOSED ERRATA | QA Contact: | jcallaha | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.2.9 | CC: | bbuckingham, bill.scherer, bkearney, dcaplan, dkaylor, egolov, fwissing, inecas, jcallaha, mhulan, sreber, tbrisker | |
Target Milestone: | Unspecified | Keywords: | FieldEngineering, FutureFeature, PrioBumpField, PrioBumpPM, PrioBumpQA | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | foreman-1.11.0.84-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1480348 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-25 18:59:44 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1437197 |
Description
Chris Duryee
2017-06-13 19:13:54 UTC
The listActiveSystems call takes approximately 2 sec for 2K hosts. This new API would need similar performance, at least under 10 seconds for 5K hosts. Created redmine issue http://projects.theforeman.org/issues/20072 from this bug Upstream bug assigned to tbrisker Upstream bug assigned to tbrisker Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20072 has been resolved. Verified in Satellite 6.2.12 Snap 1. -bash-4.2# curl --user admin:changeme -k https://ibm-x3550m3-10.lab.eng.brq.redhat.com/api/v2/hosts?thin=true { "total": 21, "subtotal": 21, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [{"id":5,"name":"base1"},{"id":13,"name":"base10"},{"id":11,"name":"base11"},{"id":20,"name":"base12"},{"id":19,"name":"base13"},{"id":12,"name":"base14"},{"id":15,"name":"base15"},{"id":16,"name":"base16"},{"id":21,"name":"base17"},{"id":18,"name":"base18"},{"id":17,"name":"base19"},{"id":4,"name":"base2"},{"id":14,"name":"base20"},{"id":3,"name":"base3"},{"id":6,"name":"base4"},{"id":2,"name":"base5"},{"id":7,"name":"base6"},{"id":8,"name":"base7"},{"id":10,"name":"base8"},{"id":9,"name":"base9"}] } *** Bug 1298348 has been marked as a duplicate of this bug. *** 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/RHBA-2017:2803 |