The hammer command in Red Hat Satellite 6 fails with error Validation failed: Targeting: Bookmark Must select a bookmark or enter a search query

Solution Verified - Updated -

Issue

  • Running hammer command in Red Hat Satellite 6 fails with below error:

    # hammer job-invocation create --feature ansible_run_playbook --inputs playbook="adhoc.yml" --search-query "name ~ abc123"
    Validation failed: Targeting: Bookmark Must select a bookmark or enter a search query, Search query Must select a bookmark or enter a search query
    

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