Project

General

Profile

Actions

Bug #36368

closed

Unable to see all ansible roles available when editing a hostgroup and the "entries per page" is bigger than the number of available roles

Added by Nofar Alfassi 12 months ago. Updated 8 months ago.


Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2166466

Description of problem:

In a system with more than just a few roles imported (more than 10 should be enough), and the option entries per page set to a number bigger than the total of roles present on the system.

Version-Release number of selected component (if applicable):

Satellite 6.12

How reproducible:

Always

Steps to Reproduce:
1. Identify the number of roles present on the system (let's say 29, like in my lab)
2. Set the entries per page to 30
~~
hammer settings set --name entries_per_page --value 30
~~
3. Go to a hostgroup -> Ansible roles. You'll see only a few roles (10) and no option to see a next page.

Actual results:

Only first 10 roles are shown when editing a hostgroup -> Ansible roles.

Expected results:

All roles should be available on the webUI and properly paginated.

Additional info:

If the entries per page is smaller than the number of roles, paginating is enabled, but only the first 10 roles are shown initially. When going to the second page and coming back to the first, then the "entries per page" is actually used.

I'm attaching some screenshots to illustrate the problem.


Related issues 1 (0 open1 closed)

Has duplicate Ansible - Bug #29329: per_page does not work correctly in roles switcher on host edit pageDuplicateNofar AlfassiActions
Actions #1

Updated by Nofar Alfassi 12 months ago

  • Subject changed from Unable to see all ansible roles available when editing a hostgroup and the "entries per page" is bigger than the number of available roles to Unable to see all ansible roles available when editing a hostgroup and the "entries per page" is bigger than the number of available roles
  • Assignee set to Nofar Alfassi
Actions #2

Updated by Nofar Alfassi 12 months ago

  • Related to Bug #29329: per_page does not work correctly in roles switcher on host edit page added
Actions #3

Updated by The Foreman Bot 12 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/556 added
Actions #4

Updated by Nofar Alfassi 12 months ago

  • Related to deleted (Bug #29329: per_page does not work correctly in roles switcher on host edit page)
Actions #5

Updated by Nofar Alfassi 12 months ago

  • Has duplicate Bug #29329: per_page does not work correctly in roles switcher on host edit page added
Actions #6

Updated by The Foreman Bot 11 months ago

  • Fixed in Releases foreman_ansible-12.0.3 added
Actions #7

Updated by Nofar Alfassi 11 months ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Nofar Alfassi 9 months ago

  • Fixed in Releases foreman_ansible-12.0.4 added
  • Fixed in Releases deleted (foreman_ansible-12.0.3)
Actions #9

Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman_ansible/pull/659 added
Actions #10

Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman_ansible/pull/660 added
Actions #11

Updated by The Foreman Bot 8 months ago

  • Fixed in Releases foreman_ansible-10.0.0 added
Actions #12

Updated by Nofar Alfassi 8 months ago

  • Fixed in Releases foreman_ansible-10.4.4 added
  • Fixed in Releases deleted (foreman_ansible-10.0.0)
Actions

Also available in: Atom PDF