Bug 1082747
| Summary: | Postgres Plugin - An Invalid Server Configuration Status Should Not Be Stack Trace | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Matt Mahoney <mmahoney> |
| Component: | Plugin -- Other | Assignee: | Thomas Segismont <tsegismo> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.2 | CC: | tsegismo |
| Target Milestone: | DR01 | ||
| Target Release: | JON 3.2.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-29 00:17:18 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1082792 | ||
|
Description
Matt Mahoney
2014-03-31 18:20:05 UTC
Pushed to master
commit dbeedced3664c0cda68f4a53b5bc789647cdd5f6
Author: Thomas Segismont <tsegismo>
Date: Tue Apr 8 16:43:56 2014 +0200
Throwing an Exception is the only way a plugin component can fail the process of starting of a resource. So without changing the agent plugin facet we can't really avoid the stack trace shown on the server.
Still, the stack trace shown when a Postgres server resource is configured with invalid credentials was particularly long, so I changed the plugin component implementation to make the server show a stack trace with no cause and a condensed message ("Invalid password").
Cherry-picked over to release/jon3.2.x commit 2076253a9be9e085a9b08d61d447490b6f369269 Author: Thomas Segismont <tsegismo> Date: Tue Apr 8 16:43:56 2014 +0200 Via product triage, determined that this bug is to be included for DR01 target milestone. Moving to ON_QA as available for test in latest cumulative patch build(DR01): http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.2.GA/5-29-2014/ Verified JON 3.2.2 DR1 This has been verified and released in Red Hat JBoss Operations Network 3.2 Update 02 (3.2.2) available from the Red Hat Customer Portal[1]. [1]: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=31783 |