Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3579

ERROR log occurs during CLI reload operation on server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.0.0.CR1
    • 4.0.0.Alpha9
    • CLI, Management
    • None

    Description

      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, 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:

      1. ./jboss-cli.sh --file=cli.script.txt

      Content of cli.script.txt file
      This file is attached to this jira, beginning of this file:

      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
      

      Actual results:
      Standard output:

      ...
      [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)
      ...
      

      Expected results:
      No errors in logs

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: