Hide Forgot
Description of problem: "# hammer lifecycle-environment list" only displays 20 lifecycle environment with no option to display the rest of the environments Version-Release number of selected component (if applicable): 6.1,6.2 How reproducible: Always Steps to Reproduce: 1. Create 20+ Life-cycle environments 2. run "# hammer lifecycle-environment list" 3. 20 lifecycle-environments will be displayed followed by message at the bottom: Page 1 of 2 (use --page and --per-page for navigation) But these options are actually not present Actual results: Only 20 environments can be displayed. Expected results: Either the command should display all the list or should have the page or --per-page option which it claims exists Additional info:
Hi, This issue is resolved in upstream project. Upstream Bug link - http://projects.theforeman.org/issues/18470. I am attaching this link to Bugzilla for further progess on bugzilla.
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18470 has been resolved.
Verified. Satellite-6.3 Snap 9 Package versions: satellite-6.3.0-16.0.beta.el7sat.noarch tfm-rubygem-hammer_cli-0.10.2-1.el7sat.noarch tfm-rubygem-hammer_cli_katello-0.10.0-1.el7sat.noarch [root@snap9 foreman-debug-huBtb]# hammer lifecycle-environment list ---|--------------------------|------------------------- ID | NAME | PRIOR ---|--------------------------|------------------------- 2 | Library | 1 | Library | 3 | Lifecycle Environment 0 | Library 4 | Lifecycle Environment 1 | Lifecycle Environment 0 13 | Lifecycle Environment 10 | Lifecycle Environment 9 14 | Lifecycle Environment 11 | Lifecycle Environment 10 15 | Lifecycle Environment 12 | Lifecycle Environment 11 16 | Lifecycle Environment 13 | Lifecycle Environment 12 17 | Lifecycle Environment 14 | Lifecycle Environment 13 18 | Lifecycle Environment 15 | Lifecycle Environment 14 19 | Lifecycle Environment 16 | Lifecycle Environment 15 20 | Lifecycle Environment 17 | Lifecycle Environment 16 21 | Lifecycle Environment 18 | Lifecycle Environment 17 22 | Lifecycle Environment 19 | Lifecycle Environment 18 5 | Lifecycle Environment 2 | Lifecycle Environment 1 23 | Lifecycle Environment 20 | Lifecycle Environment 19 24 | Lifecycle Environment 21 | Lifecycle Environment 20 25 | Lifecycle Environment 22 | Lifecycle Environment 21 26 | Lifecycle Environment 23 | Lifecycle Environment 22 27 | Lifecycle Environment 24 | Lifecycle Environment 23 28 | Lifecycle Environment 25 | Lifecycle Environment 24 6 | Lifecycle Environment 3 | Lifecycle Environment 2 7 | Lifecycle Environment 4 | Lifecycle Environment 3 8 | Lifecycle Environment 5 | Lifecycle Environment 4 9 | Lifecycle Environment 6 | Lifecycle Environment 5 10 | Lifecycle Environment 7 | Lifecycle Environment 6 11 | Lifecycle Environment 8 | Lifecycle Environment 7 12 | Lifecycle Environment 9 | Lifecycle Environment 8 ---|--------------------------|------------------------- [root@snap9 foreman-debug-huBtb]# hammer lifecycle-environment list --per-page 2 ---|---------|------ ID | NAME | PRIOR ---|---------|------ 2 | Library | 1 | Library | ---|---------|------ Page 1 of 14 (use --page and --per-page for navigation) [root@snap9 foreman-debug-huBtb]# hammer lifecycle-environment list --per-page 2 --page 3 ---|--------------------------|------------------------- ID | NAME | PRIOR ---|--------------------------|------------------------- 13 | Lifecycle Environment 10 | Lifecycle Environment 9 14 | Lifecycle Environment 11 | Lifecycle Environment 10 ---|--------------------------|------------------------- Page 3 of 14 (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