satellite-change-hostname command fails with error Error: smart_proxy not found Couldn't find default Capsule id in Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • When running satellite-change-hostname, following issue occurs:

    # satellite-change-hostname satellite1.example.com -u admin -p changeme
    Error: smart_proxy not found
    Couldn't find default Capsule id
    Failed 'hammer -u admin -p changeme --output json capsule info --name satellite1.example.com' with exit code 70
    

Environment

  • Red Hat Satellite 6.5

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