Bug 1251486
Summary: | Automatic installer fails when use.same.password set to true | ||
---|---|---|---|
Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Jan Stastny <jstastny> |
Component: | Installer | Assignee: | Emmett Underhill <eunderhi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Stastny <jstastny> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | atangrin, dlesage, eunderhi, vhalbert |
Target Milestone: | ER5 | Keywords: | QA-Closed |
Target Release: | 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-10 08:55:17 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: | |
Embargoed: |
Description
Jan Stastny
2015-08-07 13:00:36 UTC
I am sorry, I forgot to add Dashboard.admin.password to the -variables argument. This is the workaround command: java -jar dv-installers/jboss-dv-installer-6.2.0.ER4-redhat-1.jar tmp-workspaces/install.xml -variables Teiid.user.password=p@s\$w0rd,adminPassword=p@s\$w0rd,vault.keystorepwd=p@s\$w0rd,Modeshape.password=p@s\$w0rd,Dashboard.admin.password=p@s\$w0rd Regression caused by https://bugzilla.redhat.com/show_bug.cgi?id=1241129 Hi Jan, The new password validation caused a null pointer exception because some values are null during auto-installation. I've added the appropriate null checking to the new PasswordValidator class so automated installation no longer fails to run when "use same passwords" is set and there is no variables file. Thank you, Emmett Underhill *** Bug 1252143 has been marked as a duplicate of this bug. *** If you run the following: java -jar jboss-dv-installer-6.2.0.ER4-redhat-1.jar dv_installer.xml The installer assumes to find the variables file (dv_installer.xml.variables), but will fail because the installation was setup to use one password for all and to not create a new admin user. I've run the installation without a variables file, and with one that contains the adminPassword, both of which I selected to use the same password for all users. The installation succeeds in both of these cases. So yes hopefully the issue has been addressed if I'm understanding correctly. Hi Emmett, yes, if the installer works now with both '-variables' argument and automatic script (either provided via '-variableFile' or taken by installer implicitly by filename), then the problem with 'use.same.password' seems resolved. |