Bug 1420503
Summary: | Hammer does not list over 20 items per page, ignores config file | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Taft Sanders <tasander> | |
Component: | API - Content | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.2.7 | CC: | ajoseph, bbuckingham, bkearney, dhlavacd, dlezzoum, jcallaha, mhulan, omaciel, sghai, tprinz, tstrachota, wpinheir, yamato | |
Target Milestone: | Unspecified | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1425053 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-18 15:25:34 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: | 1425053 |
Description
Taft Sanders
2017-02-08 20:06:10 UTC
Created redmine issue http://projects.theforeman.org/issues/18470 from this bug Upstream bug assigned to tstrachota The issue is caused by missing search params in the apidoc for lifecycle environment index action. Hammer detects when the pagination options are present and tries to iterate over the pages to get full results. If the options are missing, it assumes there's no pagination. So the issue is server side. Adding this should fix it: param_group :search, Api::V2::ApiController There's multiple resources in Katello's api that seem to be affected (I tried to grep for this param group in the controller files) so fixing this deserves checking the whole API. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18470 has been resolved. *** Bug 1303077 has been marked as a duplicate of this bug. *** I do not see these being backported into 6.2.z. There are clones tracking these issues for other versions of satellite. Is there a chance of getting this backported into 6.2.z or will this be in 6.3 (CPS Energy is asking for this). Thanks. |