Description of problem: Creating a user-group and assigning it multiple roles is possible on the Satellite GUI but not on the Hammer CLI. It looks like the limit on CLI is 20. Version-Release number of selected component (if applicable): Satellite 6.3 tfm-rubygem-hammer_cli-0.11.0-2.el7.noarch How reproducible: 100% Steps to Reproduce: 1. hammer user-group create --name satusergroup --admin true --roles 'Access Insights Admin,Access Insights Viewer,Boot disk access,Compliance manager,Compliance viewer,Create ARF report,Discovery Manager,Discovery Reader,Edit hosts,Edit partition tables,Manager,Organization admin,Red Hat Access Logs,Remote Execution Manager,Remote Execution User,Site manager,Tasks Manager,Tasks Reader,View hosts,Viewer,Virt-who Manager,Virt-who Reporter,Virt-who Viewer' Actual results: Could not create the user group: Error: one of roles not found Expected results: User group satusergroup created Additional info:
Build: Satellite 6.6 snap 11 [root@qe-testing-rhel7 ~]# hammer user-group create --name satusergroup --admin true --roles 'Access Insights Admin,Access Insights Viewer,Boot disk access,Compliance manager,Compliance viewer,Create ARF report,Discovery Manager,Discovery Reader,Edit hosts,Edit partition tables,Manager,Organization admin,Red Hat Access Logs,Remote Execution Manager,Remote Execution User,Site manager,Tasks Manager,Tasks Reader,View hosts,Viewer,Virt-who Manager,Virt-who Reporter,Virt-who Viewer' User group [satusergroup] created. [root@qe-testing-rhel7 ~]# hammer user-group info --name satusergroup Id: 1 Name: satusergroup Admin: yes Users: User groups: External user groups: Roles: Virt-who Viewer Virt-who Reporter Virt-who Manager View hosts Viewer Tasks Reader Tasks Manager Site manager Remote Execution User Remote Execution Manager Red Hat Access Logs Organization admin Manager Edit partition tables Edit hosts Discovery Reader Discovery Manager Create ARF report Compliance viewer Compliance manager Boot disk access Access Insights Viewer Access Insights Admin Created at: 2019/07/18 12:55:25 Updated at: 2019/07/18 12:55:25
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-2019:3172