Bug 924383 - [RFE] Need a server side tool to assist with the process of changing the hostname of the Katello server
Summary: [RFE] Need a server side tool to assist with the process of changing the host...
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Infrastructure (Show other bugs)
(Show other bugs)
Version: 6.0.0
Hardware: Unspecified Unspecified
high with 1 vote vote
Target Milestone: 6.2
Assignee: John Mitsch
QA Contact: Peter Ondrejka
URL: http://projects.theforeman.org/issues...
Keywords: FutureFeature, PrioBumpGSS, Reopened, Triaged
: 1152797 1222194 (view as bug list)
Depends On:
Blocks: CEE_Sat6_Top_BZs, GSS_Sat6_Top_Bugs 1152797 sat61-release-notes 1269671 1451564
TreeView+ depends on / blocked
Reported: 2013-03-21 16:14 UTC by Mike McCune
Modified: 2018-12-09 16:58 UTC (History)
37 users (show)

Fixed In Version: katello-3.0.0-26
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1480346 (view as bug list)
Last Closed: 2017-09-25 18:59:44 UTC
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
kickstart-sync-log (16.40 KB, text/plain)
2017-09-21 09:02 UTC, Peter Ondrejka
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2803 normal SHIPPED_LIVE Satellite 6.2.12 bug fix update 2017-10-12 19:22:49 UTC
Foreman Issue Tracker 17522 None None None 2016-11-29 22:01 UTC
Foreman Issue Tracker 18403 None None None 2017-04-27 17:50 UTC
Red Hat Bugzilla 1152797 None None None Never
Red Hat Bugzilla 1181283 None None None Never
Red Hat Knowledge Base (Solution) 1232133 None None None Never
Red Hat Bugzilla 1269671 None None None Never
Red Hat Bugzilla 1451564 None None None Never

Description Mike McCune 2013-03-21 16:14:09 UTC
Spacewalk has a tool called 'spacewalk-hostname-rename' that will update the certificates and configurations on the spacewalk server so it can be migrated to a new hostname.

We need this for katello as well.  The current process to change your Katello hostname is undocumented and painful.

Comment 2 Bryan Kearney 2014-06-13 15:27:51 UTC
See also: https://bugzilla.redhat.com/show_bug.cgi?id=876359

Comment 3 Mike McCune 2014-10-15 04:19:57 UTC
we have this now:



Comment 4 Xixi 2014-10-22 23:13:01 UTC
(In reply to Mike McCune from comment #3)
> https://access.redhat.com/solutions/1232133

Documentation BZ tracking official doc inclusion:
Bug 1152797 - [RFE] Provide Method to update Satellite FQDN and associated certificates

Comment 6 David O'Brien 2014-12-10 12:36:52 UTC

Please refer to djuran's comments in this article. Procedure doesn't seem to work.

Comment 9 Eric Helms 2016-03-09 21:12:29 UTC
*** Bug 1222194 has been marked as a duplicate of this bug. ***

Comment 10 Pavel Moravec 2016-07-15 07:24:04 UTC
Does this BZ cover changing hostname of Satellite only, or also Capsule (there are customers with both requests)?

Comment 11 Mike McCune 2016-08-04 15:47:52 UTC
*** Bug 1152797 has been marked as a duplicate of this bug. ***

Comment 14 Bryan Kearney 2016-08-04 20:19:45 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 16 John Mitsch 2016-11-29 21:04:28 UTC
Created redmine issue http://projects.theforeman.org/issues/17522 from this bug

Comment 19 pm-sat@redhat.com 2017-01-25 21:03:41 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17522 has been resolved.

Comment 21 John Mitsch 2017-04-27 17:50:43 UTC
Connecting redmine issue http://projects.theforeman.org/issues/18403 from this bug

Comment 33 John Mitsch 2017-09-14 17:37:35 UTC
I updated my MR to fix the installation media paths, peter tested it with success, it is now merged. 

I reviewed Evgeni's upstream PRs for the issues he mentioned, one is merged, one is waiting on a rebase, and the third is waiting on the contributor. Thanks Evgeni!

I'll submit an upstream PR for http://projects.theforeman.org/issues/20925 and link up these issues with this BZ. After these are merged we will be all set.


Comment 38 Peter Ondrejka 2017-09-21 09:02 UTC
Created attachment 1328879 [details]

Comment 41 errata-xmlrpc 2017-09-25 18:59:44 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.


Note You need to log in before you can comment on or make changes to this bug.