Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1474238 - Cannot navigate filter pages for role via Hammer
Summary: Cannot navigate filter pages for role via Hammer
Keywords:
Status: CLOSED DUPLICATE of bug 1428516
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.2.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-24 08:13 UTC by Sanket Jagtap
Modified: 2017-08-07 13:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-04 13:57:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sanket Jagtap 2017-07-24 08:13:16 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.2.11 snap1
rpm -qa | grep satellite
satellite-6.2.11-1.0.el7sat.noarch
tfm-rubygem-foreman_theme_satellite-0.1.46-1.el7sat.noarch
satellite-installer-6.2.0.13-1.el7sat.noarch
satellite-cli-6.2.11-1.0.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1.Create a role
2.Assign various permissions to the role
3.Try to view those perms, filters via CLI Hammer

Actual results:
hammer> role filters --name bug_role_ak --page=1
----|------------------------|--------|------------|-------------|----------------------------
ID  | RESOURCE TYPE          | SEARCH | UNLIMITED? | ROLE        | PERMISSIONS
----|------------------------|--------|------------|-------------|----------------------------
234 | Katello::ActivationKey | none   | no         | bug_role_ak | view_activation_keys
235 | Katello::ContentView   | none   | no         | bug_role_ak | view_content_views
236 | Katello::Product       | none   | no         | bug_role_ak | view_products
237 | Katello::KTEnvironment | none   | no         | bug_role_ak | view_lifecycle_environments
.......
......
----|------------------------|--------|------------|-------------|----------------------------
Page 1 of 4 (use --page and --per-page for navigation)

hammer> role filters --name bug_role_ak --page=2
----|------------------------|--------|------------|-------------|----------------------------
ID  | RESOURCE TYPE          | SEARCH | UNLIMITED? | ROLE        | PERMISSIONS
----|------------------------|--------|------------|-------------|----------------------------
234 | Katello::ActivationKey | none   | no         | bug_role_ak | view_activation_keys
235 | Katello::ContentView   | none   | no         | bug_role_ak | view_content_views
236 | Katello::Product       | none   | no         | bug_role_ak | view_products
237 | Katello::KTEnvironment | none   | no         | bug_role_ak | view_lifecycle_environments
.....
....
----|------------------------|--------|------------|-------------|----------------------------
Page 1 of 4 (use --page and --per-page for navigation)

Also , tried with per-page option, no luck the result is same with count 20

hammer> role filters --name bug_role_ak --per-page=35
----|------------------------|--------|------------|-------------|----------------------------
ID  | RESOURCE TYPE          | SEARCH | UNLIMITED? | ROLE        | PERMISSIONS
----|------------------------|--------|------------|-------------|----------------------------
234 | Katello::ActivationKey | none   | no         | bug_role_ak | view_activation_keys
235 | Katello::ContentView   | none   | no         | bug_role_ak | view_content_views
236 | Katello::Product       | none   | no         | bug_role_ak | view_products
237 | Katello::KTEnvironment | none   | no         | bug_role_ak | view_lifecycle_environments
......
......
----|------------------------|--------|------------|-------------|----------------------------
Page 1 of 4 (use --page and --per-page for navigation)


Expected results:
The pages should be navigated.

Additional info:

Comment 3 Marek Hulan 2017-08-04 13:57:52 UTC
I believe this is a duplicate of BZ 1428516 which has been already verified by QE. Please reopen if I misunderstood the request.

*** This bug has been marked as a duplicate of bug 1428516 ***


Note You need to log in before you can comment on or make changes to this bug.