Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-3149

[JDG73] WFLYCTL0079/WFLYLOG0078 occurred during startup with AB_PROMETHEUS_ENABLE=true

XMLWordPrintable

    • CR1
    • -
    • Hide

      This can be reproduced with the following steps.
      https://github.com/jboss-developer/jboss-jdg-quickstarts/tree/jdg-7.3.x/openshift/shared/prometheus-monitoring/README.md

      1. Create a demo-monitoring project.

      $ oc new-project demo-monitoring

      2. Ensure a registry.redhat.io pull secret is in the project and create one if necessary.
      3. Deploy datagrid-service with monitoring enabled.

      $ oc new-app datagrid-service \
        -p APPLICATION_USER=${user} \
        -p APPLICATION_PASSWORD=${password} \
        -p APPLICATION_NAME=${appName} \
        -e AB_PROMETHEUS_ENABLE=true
      
      Show
      This can be reproduced with the following steps. https://github.com/jboss-developer/jboss-jdg-quickstarts/tree/jdg-7.3.x/openshift/shared/prometheus-monitoring/README.md 1. Create a demo-monitoring project. $ oc new -project demo-monitoring 2. Ensure a registry.redhat.io pull secret is in the project and create one if necessary. 3. Deploy datagrid-service with monitoring enabled. $ oc new -app datagrid-service \ -p APPLICATION_USER=${user} \ -p APPLICATION_PASSWORD=${password} \ -p APPLICATION_NAME=${appName} \ -e AB_PROMETHEUS_ENABLE= true
    • DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37, DataGrid Sprint #38, DataGrid Sprint #39

      A pod couldn't start-up with following Exception when using AB_PROMETHEUS_ENABLE=true.

      ERROR: WFLYCTL0013: Operation ("parallel-extension-add") failed - address: ([])
      java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.jboss.as.logging
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:495)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:470)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:432)
      	at org.jboss.as.server@6.0.12.Final-redhat-00001//org.jboss.as.server.ServerService.boot(ServerService.java:427)
      	at org.jboss.as.server@6.0.12.Final-redhat-00001//org.jboss.as.server.ServerService.boot(ServerService.java:386)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:372)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
      	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107)
      	... 11 more
      Caused by: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
      	at org.jboss.as.logging@6.0.12.Final-redhat-00001//org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:194)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
      	at org.jboss.as.controller@6.0.12.Final-redhat-00001//org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      	at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      	at org.jboss.threads@2.3.2.Final-redhat-1//org.jboss.threads.JBossThread.run(JBossThread.java:485)
      

      AB_PROMETHEUS_ENABLE as the environment variable is described in the following documentations.
      5. Setting Up Monitoring
      https://access.redhat.com/documentation/en-us/red_hat_data_grid/7.3/html/red_hat_data_grid_for_openshift/os_setup_monitoring
      11.4.1. Monitoring and Logging
      https://access.redhat.com/documentation/en-us/red_hat_data_grid/7.3/html/red_hat_data_grid_for_openshift/os_reference#env_var_monitoring

              remerson@redhat.com Ryan Emerson
              rhn-support-hdaicho Hiroki Daicho (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: