Bug 1706743
Summary: | Candlepin service FAIL to start after satellite-change-hostname | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Nikhil Kathole <nkathole> |
Component: | satellite-change-hostname | Assignee: | Evgeni Golov <egolov> |
Status: | CLOSED ERRATA | QA Contact: | Vladimír Sedmík <vsedmik> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | egolov, ehelms, jomitsch, vsedmik |
Target Milestone: | 6.6.0 | Keywords: | Regression |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | katello-3.12.0-0.5 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 12:47:30 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
Nikhil Kathole
2019-05-06 08:35:26 UTC
I can reproduce this. The problem seems to be that the installer does not refresh the Candlepin/Tomcat keystore. workaround: rm /etc/candlepin/certs/candlepin-ca.* /etc/candlepin/certs/keystore satellite-installer I think this may need an update in the code that does the change hostname itself. That code attempts to delete certificates to have the installer regenerate them. This is fragile if the installation moves certificates around which we have done in 6.6 in some cases. https://github.com/theforeman/foreman-packaging/blob/rpm/develop/packages/katello/katello/hostname-change.rb#L327 https://github.com/theforeman/puppet-certs/commit/1f3ca4fb3a0702f0cf78ca2ebc8f630cde3140e2 https://github.com/theforeman/puppet-candlepin/commit/59590d9207541dcc7bdea1e7c38752e50bc6d284 Created redmine issue https://projects.theforeman.org/issues/26751 from this bug Upstream bug assigned to egolov Upstream bug assigned to egolov Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26751 has been resolved. 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-2019:3172 |