Bug 1014187

Summary: FSW 6.0.0 ER4 Post install step vault - Password vault configuration fails
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: ppecka <ppecka>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: ppecka <ppecka>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, jsedlace, psrna, soa-p-jira
Target Milestone: ER7   
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 ppecka 2013-10-01 13:51:20 UTC
Description of problem:
java -jar jboss-eap-6.0.0.fsw.ci-installer.jar

In post install step "Password vault configuration"

after filling keystore password

Hitting "Next" button pops "Invalid File - The file you have chosen either does not exist or is not valid."

tried setting various paths - wont work

Comment 1 Thomas Hauser 2013-10-01 17:33:46 UTC
The feature works if the fields all contain valid information. However, it is not good for us to assume the user knows how to complete this part of the installation. I'm all ears for suggestions to improve this part of the installer. 

The first path must point to a keystore. The second path must point to a directory in which the user wants to store the vault files. 

See this documentation for details:
https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuration_Guide/Create_a_Java_Keystore_to_Store_Sensitive_Strings.html

Summary:
This panel needs some UX passes. The current information is not sufficient for a user without prior knowledge to know how to fill in the required information. However, the feature works when the fields are filled with valid information.

Comment 2 Thomas Hauser 2013-10-01 18:40:39 UTC
The feature works if the fields all contain valid information. However, it is not good for us to assume the user knows how to complete this part of the installation. I'm all ears for suggestions to improve this part of the installer. 

The first path must point to a keystore. The second path must point to a directory in which the user wants to store the vault files. 

See this documentation for details:
https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuration_Guide/Create_a_Java_Keystore_to_Store_Sensitive_Strings.html

Summary:
This panel needs some UX passes. The current information is not sufficient for a user without prior knowledge to know how to fill in the required information. However, the feature works when the fields are filled with valid information.

Comment 7 Thomas Hauser 2013-10-21 15:20:53 UTC
This feature works correctly when all required information is provided. However, it should probably be decided which fields should be affected by the vault (which fields should have their provided values replaced by a vaulted value)

Comment 8 Thomas Hauser 2013-11-13 17:17:43 UTC
Because of new SRAMP changes
https://bugzilla.redhat.com/show_bug.cgi?id=1019983
https://bugzilla.redhat.com/show_bug.cgi?id=1019989
https://bugzilla.redhat.com/show_bug.cgi?id=1019990
https://bugzilla.redhat.com/show_bug.cgi?id=1017212
The functionality of this feature has changed. A keystore will now be generated at the given location, and validation of this location has changed accordingly. The location must now be a non-existent, writable location, and the default values will work out of the box with as a valid password vault.

Comment 9 Pavol Srna 2013-12-13 13:44:52 UTC
Verified in ER7.