Failed to generate "host collection" from the command line.

Solution Verified - Updated -

Issue

Failed to generate "host collection" from the command line.

# hammer host-collection create --organization-id 1 --name "RHEL-TEST" --unlimited-hosts no --description "RHEL-TEST" 
Could not create the host collection:
  Validation failed: Max hosts max_hosts must be given a value if this host collection is not unlimited.

Environment

Red Hat Satellite 6.7

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