Bug 901192 (JBPAPP6-1638)
Summary: | CLONE - The command :reload does not check the new configuration, and will cause server crashes if that config is broken | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Tom Fonteyne <tfonteyn> |
Component: | Server | Assignee: | Brian Stansberry <brian.stansberry> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.0 | CC: | brian.stansberry, gianluca.pasqualini, jcechace, pgier, pkremens, rsvoboda, tfonteyn |
Target Milestone: | ER2 | ||
Target Release: | EAP 6.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1638 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-20 13:47:11 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
Tom Fonteyne
2012-11-19 13:31:14 UTC
Link: Added: This issue Cloned from AS7-5976 Workflow: Removed: GIT Pull Request workflow Added: jira Security: Added: Public First, editing the xml file underneath a running server is a bad practice we shouldn't attempt to support. Second, it does check the xml – when it parses it. The only reason to do basic validation before shutting down the old services is to support people trying to manually edit the xml under a running server. For which, see above. reopening as per Brian's request Is this item targeted to EAP 6.1.0 ? If yes, please add 'jboss-eap-6.1.0' flag. This will be in EAP 6.1.0. It was fixed in upstream quite a while ago. Unless I'm doing something wrong the behavior in ER3 is exactly the same as described in bug report. After performing /host=master:reload with the corrupted host.xml server process will quit with ConfigurationPersistenceException. Changing status back to assigned See my comment on Dec 10 on AS7-5976: "The critical task here is to validate the behavior is correct if the reload operation includes the restart-servers=false parameter. In that case the user's intent is the servers remain unaffected by the reload, so having the PC terminate due to failure is incorrect. Having the PC terminate due to failure to reload the HC is ok if no servers are running, as a PC with no servers and an unusable HC is of little value." So, use /host=master:reload(restart-servers=false) to check the behavior if you don't want servers affected. Verified on EAP 6.1.0 ER4. Corrupting the host.xml and calling /host=master:reload(restart-servers=false) won't affect running servers. PC without running servers is terminated. |