Bug 2094255
Summary: | Configure Cloud Connector runs against an old hostname after a hostname change | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukáš Hellebrandt <lhellebr> |
Component: | satellite-change-hostname | Assignee: | Evgeni Golov <egolov> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.11.0 | CC: | egolov, osousa, pcreech |
Target Milestone: | 6.11.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | katello-4.3.0-3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:35:58 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
Lukáš Hellebrandt
2022-06-07 09:49:19 UTC
Created redmine issue https://projects.theforeman.org/issues/35028 from this bug the verification should be as easy as: 1. get a fresh 6.11 box (not from QE template!) 2. call satellite-change-hostname to rename it to a new name 3. open up `foreman-rake console` and check the following: 1. ForemanRhCloud.foreman_host_name returns the right, new name 2. ::Host.unscoped.search_for('infrastructure_facet.foreman = true').length is 1 Verified with Sat 6.11 snap 24.0. # foreman-rake console Loading production environment (Rails 6.0.4.7) irb(main):001:0> ForemanRhCloud.foreman_host_name => "<NEW_FQDN>" irb(main):002:0> ::Host.unscoped.search_for('infrastructure_facet.foreman = true').length => 1 And Configure -> Inventory Upload -> Configure Cloud Connector: 58: RUNNING HANDLER [redhat.satellite_operations.cloud_connector : Restart rhcd] *** 59: changed: [<NEW_FQDN>] 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 (Moderate: Satellite 6.11 Release), 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-2022:5498 |