Hide Forgot
Description of problem: The generation of the password allows quotation marks in the password. If the generated password meets the following conditions: i) Begins with " ii) Contains no other " characters the s-ramp-shell-0.3.1.Final-redhat-4.jar will throw the following error: Invalid argument: Invalid final argument - did you forget to close your quotes? S-RAMP shell shutting down...done. This results in a failed installation. Version-Release number of selected component (if applicable): 6.0.0.ER7-2 How reproducible: Extremely rarely. Not reproducible by choice, only random chance. Steps to Reproduce: 1. Install until the password generated by the code results in a password meeting the above conditions (many, many installations) Actual results: Failed S-RAMP repo seeding Expected results: S-RAMP repo seeding succeeds. Additional info:
Fixed in 587e553e8d81037928c2277ed5504b0cc8ab3e31 of installer-commons.
This issue is also hit if the password starts with ' and contains no other ' character. Issue can be artificially reproduced by attempting to run java -jar bin/s-ramp-shell-0.3.1.Final-redhat-4.jar -f dtgov-sramp-repo-seed-cli-commands.txt and modifying the dtgov-sramp-repo-seed-cli-commands.txt to contain placeholder credentials, making the password start with either " or ' and not having any closing quotation, while a server is running.
Verified in ER8