Bug 1024239
Summary: | Strange behaviour of connection-properties=hoge:remove, :disable and :remove of a datasource | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Osamu Nagano <onagano> |
Component: | JCA | Assignee: | Stefano Maestri <smaestri> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Simka <msimka> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.1 | CC: | brian.stansberry, jolee, kkhan, sfikes |
Target Milestone: | DR9 | ||
Target Release: | EAP 6.4.0 | ||
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: |
Description
Osamu Nagano
2013-10-29 08:03:29 UTC
There is a similar complaint from JON side. [Datasource configuration changes SHOULD NOT require a complete reload/restart of EAP] https://bugzilla.redhat.com/show_bug.cgi?id=1004977 Please use the subsystem component for problems with the management behavior of a subsystem. Use the CLI component for client-side issues. Thanks! General consideration: in CLI you have to explicit enable service restart to don't need a restart for certain operations (like :enable and :disable on DS), and its exactly what webconsole is doing under the hood: /subsystem=datasources/data-source=ExampleDS:disable{allow-resource-service-restart=true} regarding point 1: You have to disable the DS before add/remove subresources, exaclty because it will restart resource service using those properties (most likely vendor specific configurations for DB connection) Point 2: already said in my general considetarion you need {allow-resource-service-restart=true}. :remove doesn't need it because is not changing state of related services, but just remove them all. IOW :remove doesn't imply a :disable, it's just a remove of the resource and related services Thank you for the clarification. I'm not aware of {allow-resource-service-restart=true}, it works as expected. -- [standalone@localhost:9999 /] /subsystem=datasources/data-source=ExampleDS:disable{allow-resource-service-restart=true} {"outcome" => "success"} [standalone@localhost:9999 /] /subsystem=datasources/data-source=ExampleDS:enable {"outcome" => "success"} -- Though how about the inconsistant result of successive :remove of a connection property? I would like to confirm that this will also address the invalid state after an :disable + restart. /profile=full/subsystem=datasources/data-source=Test1:disable /server-group=main-server-group:restart-servers() # check status /profile=full/subsystem=datasources/data-source=Test1:read-resource(recursive=true) -> correctly shown as disabled /host=master/server=server-one/subsystem=datasources/data-source=Test1:read-resource(recursive=true) -> Incorrectly shown as enabled Regarding comment #5: Yes, it should address this too Can someone clarify if it is a bug that after disable without using {allow-resource-service-restart=true} it is not possible to re-enable a resource? Or is it the case that this just needs to be explicitly specified? Were we planning to alter the behavior when using CLI to automatically include this even if not specified explicitly when disabling a data source? It was not clear to me what fix or fixes were planned for this issue. Also, my customer is asking about when this will be fixed. There does not appear to be any target release at present? Same question as Stephen. Can someone clarify if it is a bug? My opinion 1. first try to remove property fails, second try succeeds => bug 2. disable => restart-required reload enable or disable{allow-resource-service-restart=true} enable => not a bug I think the same with Martin, 1. is a bug, 2. is not. Yup 1 is a bug, 2 is not. 1 Affect also current WildFly, opened a jira verified on EAP 6.4.0.DR9 |