Bug 2265509

Summary: Missing related changes on Errata page when display_fqdn_for_hosts is disabled
Product: Red Hat Satellite Reporter: Matěj Mudra <mmudra>
Component: Errata ManagementAssignee: Matěj Mudra <mmudra>
Status: CLOSED MIGRATED QA Contact: amolpati
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.15.0CC: ahumbe, chrobert, gtalreja, iballou, rlavi
Target Milestone: streamKeywords: MigratedToJIRA, Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: https://projects.theforeman.org/issues/37203
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 17:04:20 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 Matěj Mudra 2024-02-22 13:23:47 UTC
Steps:

1. Disable the setting display_fqdn_for_hosts in Satellite
2. Prepare dummy errata to apply on host
3. Navigate to Content > Content Types > Errata > Applicable/Installable
4. Select Errata and move to content hosts tab
5. Verify short-names are used and domain isn't appended

I check this used to work earlier on 6.14, and now short name isn't used here on errata page in stream/6.15

Comment 1 amolpati 2024-03-27 08:59:58 UTC
Verified.

Tested on: Satellite stream Snap 50

Steps followed:

1) Navigate to Content -> Products -> Create product -> add dummy repositories in created product and sync the repositories
2) Go to Hosts -> Content Hosts -> click on any symbol present in "Installable Updates" column
3) Click on Packages  -> Actions -> "Package install" remain same and add any older version of errata of dummy repositories 
   and click on perform
4) Disable the setting display_fqdn_for_hosts in Satellite
5) Navigate to Content -> Content Types -> Errata -> Applicable/Installable
6) Verify 2 places where short-names are used and domain isn't appended
        a) Select Errata and move to content hosts tab
        b) Click on Errata checkbox and select "Apply Errata"
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 looks as expected in both the places.

Comment 2 Eric Helms 2024-06-06 17:04:20 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.