In Red Hat Satellite 6 exporting a content-view with export-legacy option fails with error "Could not export the content view: wrong number of arguments (given 2, expected 3..4)"

Solution Verified - Updated -

Issue

  • Exporting a content view with export-legacy option fails with below error:

    #  hammer content-view version export-legacy --id=xx
       Could not export the content view:
          wrong number of arguments (given 2, expected 3..4)
    

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