Bug 1766906
| Summary: | Associating more than 10 Ansible roles to a Host only sets based on the per-page setting | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Nagoor Shaik <nshaik> | ||||
| Component: | Hosts | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED ERRATA | QA Contact: | tstrych | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.6.0 | CC: | ahumbe, amasolov, dleroux, egolov, hakon.gislason, inecas, kkinge, mhulan, mkalyat, mmccune, nikhjain, pghadge, snemeth, vdeshpan | ||||
| Target Milestone: | 6.8.0 | Keywords: | Triaged, UserExperience | ||||
| Target Release: | Unused | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | tfm-rubygem-foreman_ansible-4.0.4 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1855202 1862236 (view as bug list) | Environment: | |||||
| Last Closed: | 2020-10-27 12:59:24 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: | 1855202 | ||||||
| Attachments: |
|
||||||
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28463 has been resolved. *** Bug 1805303 has been marked as a duplicate of this bug. *** *** Bug 1807335 has been marked as a duplicate of this bug. *** Hi, Any chance I can get a hotfix for this soon? This bug is impacting us every day, multiple times a day. Really frustrating. Hakon, Happy to get a hotfix for you for this BZ, can you request via a support case as we have a specific process for tracking hotfixes that are driven by our support tool. You can reach me directly via email with the case# if you need and we can help with the hotfix: mmccune comment 0 was reproduced with sat 6.7 with tfm-rubygem-foreman_ansible-4.0.3.5-1 and change was verified with sat 6.8 snap 6 with tfm-rubygem-foreman_ansible-5.1.1-1 I played a bit with adding and removing of ansible roles to host, and with different on page settings. I did not found any other problem. Verified. *** Satellite 6.7.1 Hotfix Available *** 1) Download tfm-rubygem-foreman_ansible-4.0.3.5-2.HOTFIXRHBZ1766906.el7sat.noarch.rpm from this bugzilla to your Satellite 2) stop services: satellite-maintain service stop 3) Install: rpm -Uvh tfm-rubygem-foreman_ansible-4.0.3.5-2.HOTFIXRHBZ1766906.el7sat.noarch.rpm 4) restart: satellite-maintain service start 5) resume operations Created attachment 1700486 [details]
tfm-rubygem-foreman_ansible-4.0.3.5-2.HOTFIXRHBZ1766906.el7sat.noarch.rpm
*** Bug 1855202 has been marked as a duplicate of this bug. *** 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 (Important: Satellite 6.8 release), 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-2020:4366 |
Description of problem: When associating more than per-page setting of Ansible Roles to a Host / HostGroup, it only associates the Roles based on the per-page setting listed on that page. Version-Release number of selected component (if applicable): Satellite 6.6 How reproducible: 100% Steps to Reproduce: 1. Import 15 dummy roles into Satellite server # cd /etc/ansible/roles/ # for i in {1..15}; do ansible-galaxy init --offline ansible-test$i; done 2. Navigate to UI > Configure > Roles > Import from satellite-fqdn > Select all the ansible-test* roles to import. 3. Edit either a Host / Host Group and from Ansible Roles tab > under "Available Ansible Roles" section select per-page setting to 15 to show all the 15 Ansible roles that we imported. And also ensure that per-page setting under "Assigned Ansible Roles" is set to its default i.e. 10. 4. Associate all the 15 roles to the Host / HostGroup click Submit 5. Now re-edit the Host / HostGroup verify the Ansible Roles tab it only saves the number of Roles based on the per-page setting under "Assigned Ansible Roles" even though we allocated more than that in Step4. Actual results: Ansible Roles are save based on the per-page setting under "Assigned Ansible Roles" and not based on the Roles we associated. Expected results: All roles should be allocated based on User selection. Additional info: