katello-change-hostname command fails with error "Error: smart_proxy not found Couldn't find default Capsule id"

Solution Verified - Updated -

Issue

When running katello-change-hostname, following issue occurs

[root@satellite ~]# katello-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.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.