Bug 1128151
| Summary: | Error while upgrading from JON 3.1.2 to 3.3: [rhq.autoinstall.server.admin.password] must exist and be set to a valid string value | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Matt Mahoney <mmahoney> |
| Component: | Core Server | Assignee: | Jay Shaughnessy <jshaughn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Filip Brychta <fbrychta> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.0 | CC: | fbrychta, myarboro |
| Target Milestone: | ER04 | ||
| Target Release: | JON 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-12-11 14:02:01 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: | |||
Setting severity to high as it will affect all upgrades. This required property (rhq.autoinstall.server.admin.password) is irrelevant for upgrades, because a password for rhqadmin had been set in previous JON version. It should not be required during upgrade process at all.
master commit d83319b26276e4e24b197252dfecc4127311a0e2
Author: Jay Shaughnessy <jshaughn>
Date: Mon Sep 15 11:28:05 2014 -0400
Ensure that the property gets a string value assigned during upgrade so that
the properties file passes validation. The dummy value is "ignored-on-upgrade",
the rhqadmin user will already exist in an upgraded server's DB.
release/jon3.3.x commit 500a752d2f660d04e3c7e867041898559553e2e7
Author: Jay Shaughnessy <jshaughn>
Date: Mon Sep 15 11:28:05 2014 -0400
(cherry picked from commit d83319b26276e4e24b197252dfecc4127311a0e2)
Signed-off-by: Jay Shaughnessy <jshaughn>
Moving to ON_QA as available for test with build: https://brewweb.devel.redhat.com/buildinfo?buildID=388959 Verified on Version : 3.3.0.ER04 Build Number : 99d2107:d7c537e |
Description of problem: The following error occurred while upgrading from JON 3.2.1 to JON 3.3 08:28:00,012 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Validation errors: [rhq.autoinstall.server.admin.password] must exist and be set to a valid string value at org.rhq.enterprise.server.installer.ServerProperties.validate(ServerProperties.java:332) [rhq-installer-util-4.12.0.JON330DR01.jar:4.12.0.JON330DR01] at org.rhq.enterprise.server.installer.ServerProperties.validate(ServerProperties.java:270) [rhq-installer-util-4.12.0.JON330DR01.jar:4.12.0.JON330DR01] at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:149) [rhq-installer-util-4.12.0.JON330DR01.jar:4.12.0.JON330DR01] at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:92) [rhq-installer-util-4.12.0.JON330DR01.jar:4.12.0.JON330DR01] at org.rhq.enterprise.server.installer.Installer.main(Installer.java:59) [rhq-installer-util-4.12.0.JON330DR01.jar:4.12.0.JON330DR01] Version-Release number of selected component (if applicable): JON 3.1.2 upgrade to JON 3.3 DR01 How reproducible: Steps to Reproduce: 1.Install an instance of JON 3.1.2 2.Perform an upgrade of JON 3.1.2 to JON 3.3 3. Actual results: Error indicating password not existing during upgrade. Expected results: No error should occur - non-existing password should be handled properly. Additional info: