Bug 1382692 - Installer does not use foreman-admin-email to set administrator mail
Summary: Installer does not use foreman-admin-email to set administrator mail
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2016-10-07 12:29 UTC by Peter Vreman
Modified: 2018-09-04 17:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 17:47:31 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16905 0 None None None 2016-10-13 15:24:46 UTC

Description Peter Vreman 2016-10-07 12:29:04 UTC
Description of problem:
The foreman-admin-email is not applied to the foreman setting 'administrator'. Instead the 'administator' setting defaults to "root@<domainname>".

[crash] root@li-lc-1017:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml settings list | grep administrator
administrator                                          | root.com                          | The default administrator email address

[crash] root@li-lc-1017:~# grep admin_email /etc/foreman-installer/scenarios.d/satellite-answers.yaml
    admin_email: "root.hilti.com"



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


How reproducible:


Steps to Reproduce:
1. Install with '--foreman-admin-email=blah'
2.
3.

Actual results:
Setting 'administrator' is still root@<domainname>

Expected results:
Setting 'administrator' is set to 'blah'

Additional info:
Alternative solution is to remove the 'administrator' setting and replace its use with the mail address from the admin user account instead.

Comment 2 Peter Vreman 2016-10-12 07:39:12 UTC
Additional issue i noticed with an incorrect mail address:

If you supply an invalid mail address, then the db-seed 04-admin.rb will fail and in WARNs the invalid mail addresses error is listed. Then after correcting the mail address the next run of satellite-installer will not apply it. And in the end also the admin account did not get a password set.
A regular user is unable to recover from this without completely clean OS installation and then retry satellite installation again

Comment 3 Stephen Benjamin 2016-10-13 15:24:44 UTC
Created redmine issue http://projects.theforeman.org/issues/16905 from this bug

Comment 4 Bryan Kearney 2018-09-04 17:47:31 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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