Unable to assign more than 20 roles to a user group using Hammer CLI on Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • Unable to assign more than 20 roles to a user group using Hammer CLI. The below error is seen,
# 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'

Could not create the user group:
 Error: one of roles not found

Environment

  • Red Hat Satellite 6.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content