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 1996018

Summary: redhat.satellite.host requires FQDN and is incompatible with append_domain_name_for_hosts false
Product: Red Hat Satellite Reporter: Ahmed Eladawy <aeladawy>
Component: Ansible CollectionAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: egolov, jpathan, momran, satellite6-bugs, snemeth, tris.hoar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1992583 Environment:
Last Closed: 2024-02-29 09:45:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1992583    
Bug Blocks:    

Description Ahmed Eladawy 2021-08-20 10:25:25 UTC
+++ This bug was initially created as a clone of Bug #1992583 +++

Description of problem:
The module enforces having '.'s in the name of the hosts (lines 460-461 in plugins/modules/host.py) This is incompatible if you set your satellite to use append_domain_name_for_hosts false

Version-Release number of selected component (if applicable):
v2.1.2


How reproducible:
Always

Steps to Reproduce:
1. Set append_domain_name_for_hosts false in Administrator -> Settings -> General on satellite
2. Register host
3. Try to update host using module

Actual results:
Module will not be able to match name of the host


Expected results:
Module to update host

Additional info:
Worked arround by commenting lines 460-461

Comment 4 Evgeni Golov 2022-05-12 08:51:00 UTC
*** Bug 1992583 has been marked as a duplicate of this bug. ***

Comment 9 Brad Buckingham 2023-03-06 11:38:36 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 10 Marek Hulan 2023-03-06 12:50:51 UTC
We are not closing this one as we're progressing on changing the behavior. The setting will only affect the way we display the information, but internally we'll always store FQDN. That way, it will be compatible with other inventories (AAP, Insights etc). I have prevented the automation to close this BZ.

Comment 13 Marek Hulan 2024-02-29 09:45:23 UTC
The migration will be performed automatically on upgrade, as it's implemented as a db migration. If the setting was set to false, it will continue hiding the domain on the host index page (in future versions, it should hide it from more pages). The tracker for the effort was BZ 2175132, could you please re-link the customer case there? I'm closing this one as duplicate, sorry for the inconvenience.

*** This bug has been marked as a duplicate of bug 2175132 ***

Comment 14 Red Hat Bugzilla 2024-06-29 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days