Bug 1011060

Summary: Installer: If the user customizes the "overlord credentials" section of the installer, sramp seeding will fail
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Thomas Hauser <thauser>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Len DiMaggio <ldimaggi>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0 GACC: atangrin, soa-p-jira
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Thomas Hauser 2013-09-23 14:43:07 UTC
Description of problem:
The installer does not substitute correct values in the dtgov-sramp-repo-seed-cli-commands.txt. It uses the default values, so if the user is changed the sramp repo seeding will fail because it relies upon this file.


How reproducible:
Always.

Steps to Reproduce:
1. Advance in the installer to the "Overlord Credentials" panel.
2. Change the password or the username from default.
3. Observe that the dtgov-sramp-repo-seed-cli-commands.txt still contains default values.

Actual results:
The dtgov-sramp-repo-seed-cli-commands.txt contains the default values of the files, rather than the gathered value.

Expected results:
The dtgov-sramp-repo-seed-cli-commands.txt contains correct values.

Additional info:
The reason for this is that izpack does variable substitution when the file is laid down. This is easily reparable but is not in the beta (unless we rebuild with the fix.)

Comment 1 Len DiMaggio 2013-09-23 17:24:45 UTC
Running command: [java, -Xmx1024m, -jar, bin/s-ramp-shell-0.3.1.Final-redhat-2.jar, -f, dtgov-sramp-repo-seed-cli-commands.txt]
Exit Code: 1
Command failure: [java, -Xmx1024m, -jar, bin/s-ramp-shell-0.3.1.Final-redhat-2.jar, -f, dtgov-sramp-repo-seed-cli-commands.txt] failed with exit code:1

Comment 2 Thomas Hauser 2013-09-24 17:35:32 UTC
This bug is fixed by the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1010965

Comment 3 Len DiMaggio 2013-10-04 18:49:35 UTC
In the Oct 4 ER4 respin #2 build, the installer is not able to change the Overlord user name - the name "admin" is always used.

Comment 4 Len DiMaggio 2013-10-04 19:01:20 UTC
The fact that the "admin" name is hardcoded is logged as a bug here:

https://bugzilla.redhat.com/show_bug.cgi?id=1013903