Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2166

Reloading the embed host controller logs ERROR messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.ER5
    • 7.0.0.ER2 (Beta)
    • CLI, Management
    • None
    • Hide
      unzip -q jboss-eap-7.0.0.ER2.zip
      cd jboss-eap-7.0/bin
      
      RELOAD='reload --host=master --admin-only=true' 
      echo 'embed-host-controller --std-out=echo' > test.cli 
      for i in {1..99} ; do echo "echo ${i}." >> test.cli ; echo $RELOAD >> test.cli ; done
      
      ./jboss-cli.sh --file=test.cli
      
      Show
      unzip -q jboss-eap-7.0.0.ER2.zip cd jboss-eap-7.0/bin RELOAD='reload --host=master --admin-only=true' echo 'embed-host-controller --std-out=echo' > test.cli for i in {1..99} ; do echo "echo ${i}." >> test.cli ; echo $RELOAD >> test.cli ; done ./jboss-cli.sh --file=test.cli

      Embed host controller sometime logs ERROR message while booting up after the reload ('reload --host=master --admin-only=true').

      ERROR [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("read-attribute") failed - address: ([("host" => "master")]) - failure description: "WFLYCTL0030: No resource definition is registered for address [(\"host\" => \"master\")]"
      

      My initial thought on this was that issue is reproducible only on virtualized systems as I saw the error only a few times on my local machine, but I tried some bare-metal servers in MWQE lab and the error poped-up quite often there.

      Reproducer job (#6 and #7 ran with 7.0.0.ER2 bits) :
      - https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-cli-embed-host-reload/

      In extreme cases, error can appear after every other reload operation (46 out of 99)
      - https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-cli-embed-host-reload/7/jdk=java1.8,label_exp=eap-sustaining&&EAP-RHEL7/console

              kwills@redhat.com Ken Wills
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: