Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1473614

Summary: katello-change-hostname should use only tools available on capsule
Product: Red Hat Satellite Reporter: Peter Ondrejka <pondrejk>
Component: PackagingAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: Jan Hutaƙ <jhutar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, ehelms, jhutar, jomitsch, pondrejk
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 17:11:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Ondrejka 2017-07-21 10:03:15 UTC
When checking the server health, katello-change-hostname uses `hammer ping`, a command not available on capsule. The script should be checked so that it is ready for use on capsule servers.

Comment 3 John Mitsch 2017-07-26 12:51:32 UTC
Thanks Brad,

I made a note to take a look at this

-John

Comment 14 John Mitsch 2017-08-28 13:57:54 UTC
Peter,

I'll look at cleaning up the terminology, thanks for catching that. As far as workflow for a capsule, you can generate the certs with  a new fqdn, copy the certs over, and then run katello-change-hostname with --certs-tar

Comment 15 John Mitsch 2017-08-28 15:23:46 UTC
Created redmine issue http://projects.theforeman.org/issues/20768 from this bug

Comment 16 Satellite Program 2017-08-29 16:01:47 UTC
Upstream bug assigned to jomitsch

Comment 17 Satellite Program 2017-08-29 16:01:50 UTC
Upstream bug assigned to jomitsch

Comment 18 John Mitsch 2017-09-08 13:34:55 UTC
Connecting redmine issue http://projects.theforeman.org/issues/20821 from this bug

Comment 24 Bryan Kearney 2018-02-21 17:11:03 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336