Bug 824818
Summary: | [eap6] setting Keepalive Time when adding a new ThreadPool | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Libor Zoubek <lzoubek> | |
Component: | Plugins | Assignee: | Nobody <nobody> | |
Status: | ON_QA --- | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.4 | CC: | hrupp, jshaughn, loleary, theute | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | RHQ 4.13 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 825384 (view as bug list) | Environment: | ||
Last Closed: | 2014-09-03 20:29:50 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: | 998673 | |||
Bug Blocks: | 707223, 825384 |
Description
Libor Zoubek
2012-05-24 11:05:37 UTC
This has now been fixed in master branch by the commits for bug 811288. The commits relevant to this bug from master branch: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=acc5f0a08049440b70441fda1d591e225f2156ab http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=1490b713fd1b2b0829521225eb4d9ab21b1f4e90 The keepalive-time validation is complicated on the EAP6 side. Here are the rules from the actual resource description: 1) The keepalive-time can be null 2) If either time or unit are non-null then both of them need to be non-null Currently there is no support to implement the complex validation rules described by EAP6 without lists that support min and max. In this case it would be implemented with a list with min=0 and max=1 and if a single element is present then translate that into the EAP6 map having a value, if list has a size of zero set the property to null. However, these rules are not enforced by EAP6 (tested all the resources that have this property). Users can set either time or unit to null and the configuration is accepted by the server. Until the more complex solution is implemented given the weak enforcement from EAP6 side, all the required flags have been removed from the resource descriptor. This will avoid user confusion and prevent false configuration errors. master branch commit for required removal: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=10ad78d37ed54185afee537929c7411f0f40b694 |