Bug 922572
Summary: | Console Configuration Script adds invalid 'security' configuration for ENGINEDataSource in JBoss | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Jason Shepherd <jshepherd> |
Component: | rhsc | Assignee: | Aravinda VK <avishwan> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2.0 | CC: | juan.hernandez, pprakash, rhs-bugs, sabose, shaines, shireesh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhsc-2.0.techpreview1-4 | Doc Type: | Known Issue |
Doc Text: |
Cause: Update of Jboss after RHS console is installed
Consequence: Application is not deployed. Accessing the RHS console results in an HTTP 500 error
Workaround (if any): Edit the standalone.xml under jbossas/standalone/configuration/standalone.xml
Remove <user-name> tag from security element under datasource element
Result: Able to access the RHS console web application
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-28 22:29: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: |
Description
Jason Shepherd
2013-03-18 00:27:37 UTC
Hi Juan, have you come across any issue like this in RHEV-M? I believe this is a problem with a redundant user name, that is accepted by older versions of JBoss but not by new versions. See more details here: http://gerrit.ovirt.org/8611 I think that the file affected by this change doesn't exist in the RHS-C, as it was forked before the file was added. You will probably need to modify the engine-setup script instead, something like this: diff --git a/packaging/fedora/setup/engine-setup.py b/packaging/fedora/setup/engine-setup.py index 8bd3f69..f507375 100755 --- a/packaging/fedora/setup/engine-setup.py +++ b/packaging/fedora/setup/engine-setup.py @@ -2032,9 +2032,6 @@ def configJbossDatasource(xmlObj): </prefill> </pool> <security> - <user-name> - engine - </user-name> <security-domain> EncryptDBPassword </security-domain> Note that this patch is for the upstream engine_3.0, it will probably need adjustment for RHS-C. For existing installations the user will probably need to manually modify the /usr/share/jbossas/standalone/configuration/standalone.xml file to remove the <user-name> tag. Patch sent for review. https://code.engineering.redhat.com/gerrit/#/c/4304/ Is this fix available in the rhsc channel? If not, please let me know how to verify this bug. Verified as fixed in rhsc-2.0.techpreview1-4.el6rhs.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0691.html |