[JBoss JIRA] (WFLY-7794) Adding information how to quit batch mode when a batch fails
by Ondra Chaloupka (JIRA)
[ https://issues.jboss.org/browse/WFLY-7794?page=com.atlassian.jira.plugin.... ]
Ondra Chaloupka reassigned WFLY-7794:
-------------------------------------
Assignee: Alexey Loubyansky (was: Jason Greene)
> Adding information how to quit batch mode when a batch fails
> ------------------------------------------------------------
>
> Key: WFLY-7794
> URL: https://issues.jboss.org/browse/WFLY-7794
> Project: WildFly
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 10.1.0.Final
> Reporter: Ondra Chaloupka
> Assignee: Alexey Loubyansky
> Priority: Minor
>
> When running an interactive batch in CLI and there is some fail in steps it would be nice to get information how to exit the batch mode. The proper command is {{discard-batch}} (as I understood from documentation at https://developer.jboss.org/wiki/CLIBatchMode) but it's a bit uneasy to find that command.
> Currently when some error occurs I can see message like
> {quote}
> [standalone@localhost:9990 / #] run-batch
> The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
> WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
> Step: step-2
> Operation: /subsystem=transactions:write-attribute(name=process-id-uuid, value=false)
> Failure: WFLYCTL0105: process-id-uuid is invalid in combination with process-id-socket-binding
> {quote}
> Could there be added a note that for quiting interactive batch mode use {{discard-batch}} command?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFLY-7794) Adding information how to quit batch mode when a batch fails
by Ondra Chaloupka (JIRA)
Ondra Chaloupka created WFLY-7794:
-------------------------------------
Summary: Adding information how to quit batch mode when a batch fails
Key: WFLY-7794
URL: https://issues.jboss.org/browse/WFLY-7794
Project: WildFly
Issue Type: Enhancement
Components: CLI
Affects Versions: 10.1.0.Final
Reporter: Ondra Chaloupka
Assignee: Jason Greene
Priority: Minor
When running an interactive batch in CLI and there is some fail in steps it would be nice to get information how to exit the batch mode. The proper command is {{discard-batch}} (as I understood from documentation at https://developer.jboss.org/wiki/CLIBatchMode) but it's a bit uneasy to find that command.
Currently when some error occurs I can see message like
{quote}
[standalone@localhost:9990 / #] run-batch
The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
Step: step-2
Operation: /subsystem=transactions:write-attribute(name=process-id-uuid, value=false)
Failure: WFLYCTL0105: process-id-uuid is invalid in combination with process-id-socket-binding
{quote}
Could there be added a note that for quiting interactive batch mode use {{discard-batch}} command?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFLY-7792) Mixed domain with EAP 6.2 slave: data sources operations failed
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7792?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7792:
--------------------------
Description:
Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and *+EAP 6.2.0+* is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap620\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap620\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
"rolled-back" => true,
"result" => [true]
}
{noformat}
This only happens when talking with *+EAP 6.2.0+*
was:
Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and EAP 6.2.0 is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap620\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap620\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
"rolled-back" => true,
"result" => [true]
}
{noformat}
> Mixed domain with EAP 6.2 slave: data sources operations failed
> ---------------------------------------------------------------
>
> Key: WFLY-7792
> URL: https://issues.jboss.org/browse/WFLY-7792
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Reporter: Lin Gao
> Assignee: Lin Gao
>
> Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and *+EAP 6.2.0+* is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
> {noformat}
> [domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"host\" => \"eap620\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ],
> \"operation\" => \"test-connection-in-pool\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
> }
> } at resource [
> (\"host\" => \"eap620\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
> "rolled-back" => true,
> "result" => [true]
> }
> {noformat}
> This only happens when talking with *+EAP 6.2.0+*
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFLY-7792) Mixed domain with EAP 6.2 slave: data sources operations failed
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7792?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7792:
--------------------------
Description:
Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and EAP 6.2.0 is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap620\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap620\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
"rolled-back" => true,
"result" => [true]
}
{noformat}
was:
Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and EAP 6.2.0 is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
"rolled-back" => true,
"result" => [true]
}
{noformat}
> Mixed domain with EAP 6.2 slave: data sources operations failed
> ---------------------------------------------------------------
>
> Key: WFLY-7792
> URL: https://issues.jboss.org/browse/WFLY-7792
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Reporter: Lin Gao
> Assignee: Lin Gao
>
> Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and EAP 6.2.0 is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
> {noformat}
> [domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"host\" => \"eap620\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ],
> \"operation\" => \"test-connection-in-pool\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
> }
> } at resource [
> (\"host\" => \"eap620\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
> "rolled-back" => true,
> "result" => [true]
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFLY-7792) Mixed domain with EAP 6.2 slave: data sources operations failed
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7792?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7792:
--------------------------
Description:
Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and EAP 6.2.0 is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
"rolled-back" => true,
"result" => [true]
}
{noformat}
was:
Run a mixed domain where EAP 7.1.0.DR9 is the master and EAP 6.4.0/6.3.0/6.2.0 is a slave server. Operations on data sources are broken due to incompatibility of models:
{noformat}
[domain@127.0.0.100:9990 /] /host=eap640/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0297: Transforming operation {
\"address\" => [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
],
\"operation\" => \"test-connection-in-pool\",
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
}
} at resource [
(\"host\" => \"eap640\"),
(\"server\" => \"server-one\"),
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\")
] to subsystem 'datasources' model version '1.3.0' -- attributes [connection-url] WFLYCTL0336: The following attributes are nillable in the current model but must be defined in the target model version: [connection-url]",
"rolled-back" => true,
"result" => [true]
}
{noformat}
The fix for JBEAP-5770 seems to be the cause.
> Mixed domain with EAP 6.2 slave: data sources operations failed
> ---------------------------------------------------------------
>
> Key: WFLY-7792
> URL: https://issues.jboss.org/browse/WFLY-7792
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management, JCA
> Reporter: Lin Gao
> Assignee: Lin Gao
>
> Run a mixed domain where WildFly 11.0.0-SNAPSHOT is the master and EAP 6.2.0 is a slave server. Operation on data source ExampleDS failed due to incompatibility of models:
> {noformat}
> [domain@127.0.0.100:9990 /] /host=eap620/server=server-one/subsystem=datasources/data-source=ExampleDS:test-connection-in-pool
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ],
> \"operation\" => \"test-connection-in-pool\",
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"ae186a65-8c76-41d0-bd23-79154b5f92f7\"
> }
> } at resource [
> (\"host\" => \"eap640\"),
> (\"server\" => \"server-one\"),
> (\"subsystem\" => \"datasources\"),
> (\"data-source\" => \"ExampleDS\")
> ] to subsystem 'datasources' model version '1.2.0' -- attributes [statistics-enabled] WFLYJCA0088: Attributes [statistics-enabled] rejected. Must be true",
> "rolled-back" => true,
> "result" => [true]
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months