Bug 1328507

Summary: OpenSCAP email report doesn't substitute %{satellite_url}
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: BrandingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, inecas, mhulan, MikeDawg, sshtein, szadok, tbrisker
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-29 10:49:42 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:

Description Roman Plevka 2016-04-19 14:25:23 UTC
Description of problem:
Email reports for OpenSCAP (literally) display '%{satellite_url}'. The URL is not being filled.

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

How reproducible:
always

Steps to Reproduce:
1. configure email reports and subscribe for retrieving Compliancy reports
2. receive the mail


Actual results:
Summary report from Satellite server at %{satellite_url}

Expected results:
Summary report from Satellite server at my.satellite.server.com

Additional info:

Comment 2 Shlomi Zadok 2016-04-19 20:08:18 UTC
Created redmine issue http://projects.theforeman.org/issues/14721 from this bug

Comment 4 Shlomi Zadok 2016-05-29 08:24:44 UTC

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

Comment 5 Roman Plevka 2016-05-30 09:45:17 UTC
(In reply to Shlomi Zadok from comment #4)
> 
> *** This bug has been marked as a duplicate of bug 1324517 ***

Shlomi, this is completely different issue.
bug 1324517 refers to the title of the email saying 'foreman' instead of 'satellite'. But this refers to non-working variable substition, where satellite hostname should be printed out, but instead, it says '%{satellite_url}'.

For sat6.2.0 GA13.1 the bug 1324517 is gone, but *this* still exists.

Comment 7 Tomer Brisker 2017-06-29 07:19:58 UTC
It would seem this is a branding issue, with the satellite theme changing the string interpolation from foreman_url to satellite_url incorrectly. Changing component and disconnecting & closing upstream issue.

Comment 8 Marek Hulan 2017-06-29 10:49:42 UTC
I think this might be already tracked under BZ 1377679. Please reopen in case it does not fix it for you.

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