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

"Error while reading metadata" WFLYCTL0030: No resource definition is registered for address : 'management-operations\active-operation'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.4.22.GA
    • None
    • Web Console
    • None
    • False
    • None
    • False

      After patching with 7.4.17, error occurs and unable to view 'Management Operations' menu in management console. However, similar resource path is accessible via CLI command.

      Tested with 7.4.0 and 7.4.10 working fine, but 7.4.17 and 7.4.20 have same error issue.

       

      <Detail steps to reproduce the issue>

      1. Install JBoss EAP 7.4.0.GA
      2. Start the instance with domain mode: $JBOSS_HOME/bin/domain.sh
      3. Open browser with clearing cache, and enable developer console (F12)
      4. Access JBoss management console with 'finest' logLevel: http://localhost:9990/console/index.html?logLevel=finest
      5. Login with admin user (SuperUser role/group)
      6. Go to menu: Runtime > Management Operations > View
      7. Able to get the result of active operations

      8. Patch with 7.4.10.GA and repeat steps (#2 ~ #6)
      9. Able to get the result of active operations

      10. Patch with 7.4.17.GA and repeat steps (#2 ~ #6)
      11. "Error while reading metadata" error occurs.

      12. Patch with 7.4.20.GA and repeat steps (#2 ~ #6)
      13. "Error while reading metadata" error occurs.

      ---------------------------------
      hal-0.js:10905 09:50:05.428 INFO o.j.h.c.finder.ColumnRegistry Successfully resolved column 'domain-browse-by'  
      hal-0.js:10905 09:50:06.640 DEBUG o.j.h.c.finder.Finder Update history: #runtime;path=domain-browse-by~mgmt-operations  
      hal-0.js:10905 09:50:07.837 DEBUG o.j.h.m.processing.MetadataProcessor Process required resources [\{domain.controller}//core-service=management/service=management-operations/active-operation=*] for id 'management-operations' (recursive=true)  
      hal-0.js:10905 09:50:07.844 DEBUG o.j.h.m.processing.LookupRegistryTask Registry lookup: LookupResult({domain.controller}//core-service=management/service=management-operations/active-operation=* -> nothing present)  
      hal-0.js:10905 09:50:07.860 DEBUG o.j.h.m.processing.LookupDatabaseTask Database lookup: LookupResult({domain.controller}//core-service=management/service=management-operations/active-operation=* -> nothing present)  
      hal-0.js:10905 09:50:07.863 DEBUG o.j.h.m.processing.RrdTask About to execute 1 (1+0) composite operations (regular+optional)  
      hal-0.js:10905 09:50:07.864 DEBUG o.j.h.m.processing.RrdTask Composite operations: /core-service=management/service=management-operations/active-operation=*:read-resource-description(access-control=combined-descriptions,operations=true,recursive-depth=3,locale=en)  
      hal-0.js:10905 09:50:07.866 DEBUG o.j.h.d.dispatch.Dispatcher DMR operation: Composite(1)  
      hal-0.js:5775 
              
              
             POST http://localhost:9990/management 500 (Internal Server Error)
      EVd @ hal-0.js:5775

      ...

      GHe @ hal-0.js:10892  
      hal-0.js:10905 09:50:07.881 DEBUG o.j.h.m.processing.MetadataProcessor Failed to process metadata: "WFLYCTL0030: No resource definition is registered for address [  
          (\"core-service\" => \"management\"),  
          (\"service\" => \"management-operations\"),  
          (\"active-operation\" => \"*\")  
      ]"
      ---------------------------------

      14. However, same resource path can be accessable via CLI command: [domain@localhost:9990 /] /host=master/core-service=management/service=management-operations:read-children-resources(child-type=active-operation)

      {  
          "outcome" => "success",  
          "result" => {"1735114767" => {  
              "access-mechanism" => "NATIVE",  
              "address" => [  
                  ("host" => "master"),  
                  ("core-service" => "management"),  
                  ("service" => "management-operations")  
              ],  
              "caller-thread" => "management-handler-thread - 1",  
              "cancelled" => false,  
              "domain-rollout" => false,  
              "domain-uuid" => undefined,  
              "exclusive-running-time" => -1L,  
              "execution-status" => "executing",  
              "operation" => "read-children-resources",  
              "running-time" => 589825L  
          }}  
      }

              hpehl@redhat.com Harald Pehl
              hpehl@redhat.com Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: