Description of problem: If we enter different 'rhq.autoinstall.server.admin.password' and confirm password on console, should report error. -----------snap---------------- [hudson@jeeva-er04-vhi bin]$ ./rhqctl install 07:19:10,233 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1 The [rhq.autoinstall.server.admin.password] property is required but not set in [rhq-server.properties]. Do you want to set [rhq.autoinstall.server.admin.password] value now? yes|no: yes rhq.autoinstall.server.admin.password (enter as plain text): Confirm: rhq.autoinstall.server.admin.password (enter as plain text): rhq.autoinstall.server.admin.password (enter as plain text): Confirm: rhq.autoinstall.server.admin.password (enter as plain text): rhq.autoinstall.server.admin.password (enter as plain text): Confirm: rhq.autoinstall.server.admin.password (enter as plain text): Version-Release number of selected component (if applicable): JBoss Operations Network Version : 3.3.0.ER04 Build Number : 99d2107:d7c537e GWT Version : 2.5.0 SmartGWT Version : 3.0p How reproducible: always Steps to Reproduce: 1. leave blank 'rhq.autoinstall.server.admin.password' in rhq-server.properties file 2. execute './rhqctl'
So the only issue here is you want to see a message like "Passwords did not match - try again" ?? This should NOT allow you to proceed further. Until you confirm the password correctly, it should continually loop until you do so. did this procede further in the isntall and the install completed? If so, what did it use for password?
Yes, only issue is here, want to see error message something like as you mentioned, "Passwords did not match - try again". In the current approach, It is not showing the error message, but until we confirm the password correctly, it is continually loop until we do so. Only error message is missing.
master commit: commit 8e70ef29bfdf410fc68eb5bb20ecc49ce5f6111a Author: John Mazzitelli <mazz> Date: Thu Oct 9 15:13:03 2014 -0400 BZ 1150064 - print message telling user the password did not confirm release/jon3.3.x commit: commit c6a1d47f097e3c77551ab66151ee762a364783a0 Author: John Mazzitelli <mazz> Date: Thu Oct 9 15:13:03 2014 -0400 BZ 1150064 - print message telling user the password did not confirm (cherry picked from commit 8e70ef29bfdf410fc68eb5bb20ecc49ce5f6111a)
Moving to ON_QA as available to test with the latest brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=394734
Works as expected. Version: JBoss Operations Network Version : 3.3.0.ER05 Build Number : 92b6d6a:2cdb528 GWT Version : 2.5.0 SmartGWT Version : 3.0p Log: The [rhq.autoinstall.server.admin.password] property is required but not set in [rhq-server.properties]. Do you want to set [rhq.autoinstall.server.admin.password] value now? yes|no: yes rhq.autoinstall.server.admin.password (enter as plain text): Confirm: rhq.autoinstall.server.admin.password (enter as plain text): Did not match. Please try again. rhq.autoinstall.server.admin.password (enter as plain text):