Bug 480759

Summary: forced to set ssl-set-email in answers file although it should default to admin-email
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: InstallerAssignee: Clifford Perry <cperry>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 530Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-09 10:37:50 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:    
Bug Blocks: 462714, 479461    
Attachments:
Description Flags
rhn-installation.log from second run (comment #1) none

Description Jan Hutař 2009-01-20 11:37:55 UTC
Description of problem:
I was forced to set ssl-set-email in answers file although it should default to admin-email


Version-Release number of selected component (if applicable):
Satellite-5.3.0-RHEL5-re20081223.1 (x86_64)


How reproducible:
always


Steps to Reproduce:
1. # /mnt/.../install.pl --answer-file=answers.txt --non-interactive --disconnected --run-updater


Actual results:
...
** Database: Populating database.
** Database: Skipping database population.
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
You must enter an email address.
The answer '' provided for 'Admin Email Address' is invalid.


Expected results:
Installation should proceed without need to set ssl-set-email in my answers.txt.


Additional info:
My answers.txt file:
# grep -e admin-email -e ssl-set-email /root/answers.txt
# admin-email = user, otheruser
admin-email = jhutar
# The email address for the SSL certificates.  Defaults to 'admin-email'.
# ssl-set-email =

Comment 1 Jan Hutař 2009-01-20 13:28:56 UTC
When I ssl-set-email, installation continued, but I got:

# $SATELLITE_INSTALL/install.pl --answer-file=answers.txt --non-interactive --disconnected --run-updater --skip-db-install --skip-db-population
...
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
* Performing initial configuration.
* Activating RHN Satellite.
No answer provided for 'Where is your satellite certificate file'

# grep satellite-cert-file answers.txt
# satellite-cert-file = /tmp/satcert.cert
satellite-cert-file = redhat-internal-devel.cert
# pwd
/root
# ls redhat-internal-devel.cert
redhat-internal-devel.cert

Is this another bug?

Regards,
Jan

Comment 2 Jan Hutař 2009-01-20 13:31:57 UTC
Created attachment 329461 [details]
rhn-installation.log from second run (comment #1)

Comment 3 Jan Hutař 2009-01-22 11:18:12 UTC
I see that in the Satellite-5.3.0-RHEL5-re20090119.1 as well (and just noticed installer returns 0 in that case, is that OK?):

# /mnt/redhat/devel/candidate-trees/Satellite-5.3.0-RHEL5-re20090119.1/x86_64/x86_64/install.pl --answer-file=answers.txt --non-interactive --disconnected --run-updater
* Starting the Red Hat Network Satellite installer.
* Performing pre-install checks.
* Pre-install checks complete.  Beginning installation.
* RHN Registration.
** Registration: Disconnected mode.  Not registering with RHN.
* Installing required packages.
The following packages from Red Hat Enterprise Linux that are not part
of the @base group have to be installed on this system for the installer
and the Satellite to operate correctly:

	java-1.4.2-gcj-compat
	tomcat5-jsp-2.0-api
	tomcat5-servlet-2.4-api

** Checking if yum is available ...
Installing packages. The log can be found in

	/var/log/rhn/rhn-installation.log

You can tail -f in another terminal to see the progress.
Running yum -y install java-1.4.2-gcj-compat tomcat5-jsp-2.0-api tomcat5-servlet-2.4-api
* Applying updates.
* Installing RHN packages.
* Now running spacewalk-setup.
* Setting up Oracle environment.
* Setting up database.
** Database: Installing the embedded database (not the schema).
** Database: Shutting down the database first.
** Database: Installing the database:
** Database: This is a long process that is logged in:
** Database:   /var/log/rhn/install_db.log
*** Progress: #############################################
** Database: Installation complete.
** Database: Setting up database connection.
** Database: Testing database connection.
** Database: Populating database.
*** Progress: ##################################################################
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
You must enter an email address.
The answer '' provided for 'Admin Email Address' is invalid.
# echo $?
0
# grep -v -e '^#' -e '^$' answers.txt
admin-email =
rhn-username =
rhn-password =
rhn-http-proxy =
rhn-http-proxy-username =
rhn-http-proxy-password =
ssl-set-org =
ssl-set-org-unit = 
ssl-set-city =
ssl-set-state =
ssl-set-country =
ssl-password = 
satellite-cert-file =
admin-email = jhutar
ssl-set-org = Systems Management QA Brno
ssl-set-city = Brno
ssl-set-country = CZ
ssl-password = reset
satellite-cert-file = redhat-internal-devel.cert
rhn-parent = satellite.rhn.webqa.redhat.com

Comment 4 Jan Pazdziora 2009-02-12 15:15:53 UTC
Reassigning to Jesus, the new Installer component owner.

Comment 6 Clifford Perry 2014-05-09 10:37:50 UTC
We have not addressed this specific bug in over 5 years years. This does not seem to have an active customer case with the bug report either. Closing out as wontfix to clear from backlog. 

Please re-open if you disagree and wish further review.

Cliff