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 2175132 - Setting controlling domain appending dictates how host is stored in database this increases complexity
Summary: Setting controlling domain appending dictates how host is stored in database ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.13.0
Hardware: All
OS: All
unspecified
low
Target Milestone: 6.15.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
: 1996018 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-03 10:08 UTC by Matěj Mudra
Modified: 2024-04-23 17:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:13:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-17299 0 None None None 2023-06-14 18:02:47 UTC
Red Hat Issue Tracker SAT-19712 0 None None None 2024-01-19 11:36:08 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:13:54 UTC

Description Matěj Mudra 2023-03-03 10:08:00 UTC
Description of problem:
Setting which controls how the host is saved in the database results in the inability to control whether the host form displays the host's FQDN or just name. It also results in issues when Ansible creates duplicate hosts.

https://community.theforeman.org/t/running-ansible-roles-creates-duplicate-hosts/13234

Comment 1 Adam Ruzicka 2023-10-10 09:43:31 UTC
Foreman part[1] was merged, afaict katello changes[2] are waiting for review

[1] - https://github.com/theforeman/foreman/pull/9613
[2] - https://github.com/Katello/katello/pull/10538

Comment 2 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 4 Gaurav Talreja 2024-01-19 11:04:27 UTC
Verified.

Tested on Satellite 6.15.0 Snap 7.0

Steps:
1. Verify hostnames are displayed correctly as FQDNs on all hosts page, content hosts page, etc when setting display_fqdn_for_hosts is enabled (default).
2. Verify hostnames are displayed correctly as short names(without domain) on all hosts page, content hosts page, etc when setting display_fqdn_for_hosts is disabled.

Observations:
This works fine and impacts how the names are displayed, when setting is enabled and disabled on all hosts page, content hosts page, dashboards, breadcrumbs, etc places in WebUI, and hostnames aren't stored in databases after this fix so this doesn't impact Hammer/API results and it displays FQDNs there always

I've reported a few issues under this epic[1] where the setting change doesn't affect the use of hostnames, and those issues are tracked under different epic[2], which is considered to be fixed in upcoming release of Satellite,
[1] https://issues.redhat.com/browse/SAT-19712
[2] https://issues.redhat.com/browse/SAT-21815

Comment 5 Marek Hulan 2024-02-29 09:45:23 UTC
*** Bug 1996018 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2024-04-23 17:13:52 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 (Important: Satellite 6.15.0 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-2024:2010


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