]
Brian Stansberry commented on WFCORE-3579:
------------------------------------------
[~jfdenise] The log message is from the CLI process. I assume they are coming from
internal CLI processing establishing a connection. Can these kinds of things be suppressed
from the logs, as they are not the direct result of user action? Obviously they
shouldn't be suppressed if they cause things not to work, but if it's just
internal polling waiting for a state to be reached, and then later the state is reached
We can/will try and sort this on the server side, but it's doubtful it will happen for
WF 12 as Ken and I are engaged on other items.
[~luck3y] FYI. My guess is this relates to the /host=foo:add stuff; i.e. a window where
there is no host-state attribute as the server boots. It's also possible the embedded
server stuff bypasses the stuff we have to prevent requests being handled while the server
is booting and provide a uniform failure.
ERROR log occurs during CLI reload operation on server
------------------------------------------------------
Key: WFCORE-3579
URL:
https://issues.jboss.org/browse/WFCORE-3579
Project: WildFly Core
Issue Type: Bug
Components: CLI, Domain Management
Affects Versions: 4.0.0.Alpha9
Reporter: Marek Kopecký
Assignee: Brian Stansberry
Priority: Blocker
Attachments: cli.script.txt
*Description of the issue:*
ERROR log occurs during CLI reload operation on server:
{{ERROR \[org.jboss.as.controller.management-operation\] (pool-3-thread-2) WFLYCTL0013:
Operation ("read-attribute") failed - address: (\[("host" =>
"master")\]) - failure description: "WFLYCTL0201: Unknown attribute
'host-state'"}}
This issue is regression against WF11
Reload handler and its "host-state" code is
[
here|https://github.com/wildfly/wildfly-core/blob/master/cli/src/main/jav...],
but this issue is probably caused by some "debug -> error" logging change
...
I'm able to reproduce this only on embedded server. Non-embedded server is probably
too slow to hit this issue
*How reproducible:*
I see this intermittently on fast virtual machines
*Steps to Reproduce:*
# ./jboss-cli.sh --file=cli.script.txt
*Content of cli.script.txt file*
This file is attached to this jira, beginning of this file:
{noformat}
embed-host-controller --std-out=echo
reload --host=master --admin-only=true
reload --host=master --admin-only=true
reload --host=master --admin-only=true
reload --host=master --admin-only=true
reload --host=master --admin-only=true
reload --host=master --admin-only=true
reload --host=master --admin-only=true
{noformat}
*Actual results:*
Standard output:
{noformat}
...
[0m[0m01:36:06,021 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly
Full 12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha9) starting
[0m[31m01:36:06,061 ERROR [org.jboss.as.controller.management-operation] (CLI command
executor) WFLYCTL0013: Operation ("read-attribute") failed - address:
([("host" => "master")]) - failure description: "WFLYCTL0201:
Unknown attribute 'host-state'"
[0m[0m01:36:06,072 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/host=master/core-service=management/management-interface=native-interface' is
deprecated, and may be removed in a future version. See the attribute description in the
output of the read-resource-description operation to learn more about the deprecation.
[0m[0m01:36:06,073 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/host=master/core-service=management/management-interface=http-interface' is
deprecated, and may be removed in a future version. See the attribute description in the
output of the read-resource-description operation to learn more about the deprecation.
[0m[0m01:36:06,097 INFO [org.jboss.as.patching] (MSC service thread 1-3) WFLYPAT0050:
WildFly Full cumulative patch ID is: base, one-off patches include: none
[0m[33m01:36:06,102 WARN [org.jboss.as.domain.management.security] (MSC service thread
1-1) WFLYDM0111: Keystore
/home/hudson/hudson_workspace/workspace/early-testing-cli-embedded-manual/4b767fc2/wildfly/domain/configuration/application.keystore
not found, it will be auto generated on first use with a self signed certificate for host
localhost
[0m[0m01:36:06,185 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/profile=default/subsystem=undertow/server=default-server/https-listener=https'
is deprecated, and may be removed in a future version. See the attribute description in
the output of the read-resource-description operation to learn more about the
deprecation.
[0m[0m01:36:06,196 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/profile=ha/subsystem=undertow/server=default-server/https-listener=https' is
deprecated, and may be removed in a future version. See the attribute description in the
output of the read-resource-description operation to learn more about the deprecation.
[0m[0m01:36:06,204 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/profile=full/subsystem=undertow/server=default-server/https-listener=https' is
deprecated, and may be removed in a future version. See the attribute description in the
output of the read-resource-description operation to learn more about the deprecation.
[0m[0m01:36:06,217 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/profile=full-ha/subsystem=undertow/server=default-server/https-listener=https'
is deprecated, and may be removed in a future version. See the attribute description in
the output of the read-resource-description operation to learn more about the
deprecation.
[0m[0m01:36:06,287 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly
Full 12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha9) (Host Controller) started in 266ms
- Started 54 of 59 services (18 services are lazy, passive or on-demand)
...
{noformat}
*Expected results:*
No errors in logs