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 2265480 - Missing ActivationKey related changes when display_fqdn_for_hosts is disabled
Summary: Missing ActivationKey related changes when display_fqdn_for_hosts is disabled
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Activation Keys
Version: 6.15.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: stream
Assignee: Matěj Mudra
QA Contact: amolpati
URL: https://projects.theforeman.org/issue...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-22 09:30 UTC by Matěj Mudra
Modified: 2024-05-29 18:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 37201 0 Low Ready For Testing Missing ActivationKey related changes when display_fqdn_for_hosts is disabled 2024-02-28 19:08:16 UTC
Github Katello katello pull 10904 0 None Merged Refs #37201 - display short host name in activation keys menu 2024-02-29 16:17:07 UTC
Red Hat Issue Tracker SAT-21375 0 None None None 2024-02-23 00:20:54 UTC
Red Hat Issue Tracker SAT-23509 0 None None None 2024-02-29 07:07:37 UTC

Description Matěj Mudra 2024-02-22 09:30:03 UTC
Description of problem:

Missing ActivationKey related changes when display_fqdn_for_hosts is disabled.

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

6.15.0


How reproducible:


Steps to Reproduce:
1. Disable the setting display_fqdn_for_hosts in Satellite
2. Navigate to Content > Lifecycle > Activation Keys > Create/Select any AK
3. Move to Associations tab -> Content Hosts
4. Verify short-names are used and domain isn't appended

Actual results:

The FQDN is displayed.

Expected results:

Only the shortname is displayed.

Comment 1 amolpati 2024-03-27 08:57:43 UTC
Verified.

Tested on: Satellite stream Snap 50

Steps followed:

1) Enabled repositories -> sync repositories -> provision the host
2) Disable the setting in General -> display_fqdn_for_hosts in Satellite
3) Navigate to Content > Lifecycle > Activation Keys > Create/Select any AK  
4) Move to Associations tab -> Content Hosts

Additional info:

after disabled "display_fqdn_for_hosts", as per the above steps it is displaying short-name w/o domain name
Exp. - "phil-tyrrell"
after enabled "display_fqdn_for_hosts", as per the above steps it is displaying full-name with domain name
Exp. - "phil-tyrrell.vrdsgirtnb.foo"

Observation:
It is working as expected.


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