Bug 1391853

Summary: install.pl complains "No answer provided for 'RHSM Profile Name'"
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: InstallerAssignee: Jan Dobes <jdobes>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 580CC: jhutar, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-12 21:21:49 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 Jan Hutař 2016-11-04 09:08:46 UTC
Description of problem:
install.pl complains "No answer provided for 'RHSM Profile Name'" even when profile name seems to be optional


Version-Release number of selected component (if applicable):
Compose from Thu Nov  3 11:00:56 EDT 2016


How reproducible:
always


Steps to Reproduce:
1. # grep rhsm /mnt/tests/CoreOS/RHN-Satellite/Installer/Sanity/install/answers.txt
rhsm-username = rhn-qa-automation
rhsm-password = redhatqa
rhsm-http-proxy = squid.redhat.com:3128
rhsm-http-proxy-username =
rhsm-http-proxy-password =
2. # /tmp/media.mnt-TucEaz/install.pl --answer-file=/mnt/tests/CoreOS/RHN-Satellite/Installer/Sanity/install/answers.txt --non-interactive --run-updater
[...]
* RHSM Registration.
No answer provided for 'RHSM Profile Name'


Actual results:
Installer fails.


Expected results:
Installer should take `hostname` for a profile name when not provided in answers.txt