Bug 1425053
Summary: | Hammer does not list over 20 items per page, ignores config file | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Djebran Lezzoum <dlezzoum> |
Component: | API - Content | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | bbuckingham, cduryee, dhlavacd, dlezzoum, jcallaha, katello-qa-list, mhulan, omaciel, satellite6-bugs, tasander, tstrachota, wpinheir |
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: | 1420503 | Environment: | |
Last Closed: | 2018-02-21 16:54:17 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: | 1420503 | ||
Bug Blocks: |
Comment 2
Satellite Program
2017-03-10 21:04:44 UTC
Verified in Satellite 6.3 snap 3. See output below: [root@lenovo-x3850-02 ~]# hammer -p changeme lifecycle-environment list --organization-id=1 ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 27 | l1 | Library 36 | l10 | Library 37 | l11 | Library 38 | l12 | Library 39 | l13 | Library 40 | l14 | Library 41 | l15 | Library 42 | l16 | Library 43 | l17 | Library 44 | l18 | Library 45 | l19 | Library 28 | l2 | Library 46 | l20 | Library 47 | l21 | Library 48 | l22 | Library 49 | l23 | Library 29 | l3 | Library 30 | l4 | Library 31 | l5 | Library 32 | l6 | Library 33 | l7 | Library 34 | l8 | Library 35 | l9 | Library 1 | Library | ---|---------|-------- [root@lenovo-x3850-02 ~]# hammer -p changeme lifecycle-environment list --organization-id=1 --help Usage: hammer lifecycle-environment list [OPTIONS] Options: --by BY Field to sort the results on --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --library LIBRARY set true if you want to see only library environments Possible value(s): 'true', 'false' --name NAME filter only environments containing this name --order ORDER Sort field and order, eg. 'name DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --search SEARCH Search string -h, --help print help [root@lenovo-x3850-02 ~]# hammer -p changeme lifecycle-environment list --organization-id=1 --page 2 ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 33 | l7 | Library 34 | l8 | Library 35 | l9 | Library 1 | Library | ---|---------|-------- Page 2 of 2 (use --page and --per-page for navigation) [root@lenovo-x3850-02 ~]# hammer -p changeme lifecycle-environment list --organization-id=1 --per-page 5 ---|------|-------- ID | NAME | PRIOR ---|------|-------- 27 | l1 | Library 36 | l10 | Library 37 | l11 | Library 38 | l12 | Library 39 | l13 | Library ---|------|-------- Page 1 of 5 (use --page and --per-page for navigation) [root@lenovo-x3850-02 ~]# hammer -p changeme lifecycle-environment list --organization-id=1 --per-page 5 --page 3 ---|------|-------- ID | NAME | PRIOR ---|------|-------- 45 | l19 | Library 28 | l2 | Library 46 | l20 | Library 47 | l21 | Library 48 | l22 | Library ---|------|-------- Page 3 of 5 (use --page and --per-page for navigation) 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/RHSA-2018:0336
|