Bug 817631
| Summary: | [as7] Honor the "Configuration" plugin config property when starting or restarting the server | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
| Component: | Plugins | Assignee: | Nobody <nobody> |
| Status: | ON_QA --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.4 | CC: | hrupp |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | 707223, 801638 | ||
|
Description
Lukas Krejci
2012-04-30 17:05:42 UTC
[master http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=a6ac574] removes the config, hostConfig, and domainConfig plugin config props, and replaces them with serverConfig, hostConfig, and domainConfig traits. Traits are more appropriate than plugin config props, because the values can change if the user restarts the server and specifies different config file names, and a plugin config cannot be updated by the plugin discovery component once a Resource has been imported. To change a Server's config file name via the RHQ GUI: 1) Update the value of the 'startScriptArgs' conn prop (e.g. append --server-config=standalone-full.xml to it) 2) Execute the Restart operation to restart the server with the new args. Within an hour, you should see the value of the serverConfig trait change to "standalone-full.xml". http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=26a25e8 fixes a bug where a null value was being returned for the "config-file" ("Server Config") trait. |