[Satellite 6] Creating Content View with hammer fails with: 'Error: At least one of options --product-id, --product is required.'

Solution Verified - Updated -

Issue

We are following the chapter 3.2 of Hammer CLI Guide to create a Content View with hammer. The command is failing with the following error:

Could not create the content view:
  Error: At least one of options --product-id, --product is required.

  See: 'hammer content-view create --help'.

Environment

  • Red Hat Satellite 6

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