-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.4.23.GA
-
None
-
False
-
-
False
-
-
-
-
-
-
-
-
Environment
- Product/Version: JBoss EAP 7.4
- Subsystem: Metrics, Infinispan
If a deployment (e.g., test.war) that uses Infinispan for web session clustering is disabled or undeployed, subsequent requests to the MicroProfile Metrics endpoint (/metrics) trigger multiple ERROR messages in server.log.
This occurs because the Infinispan cache resources associated with the deployment are removed from the management model, but the Metrics subsystem fails to unregister the corresponding metrics. Consequently, the Prometheus exporter attempts to read attributes from non-existent management resources.
ERROR [org.jboss.as.controller.management-operation] (management I/O-2) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "web"),
("cache" => "test.war")
]) - failure description: "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"infinispan\"),
(\"cache-container\" => \"web\"),
(\"cache\" => \"test.war\")
]' not found"
Additional Notes:
- This issue is partially mitigated in JBoss EAP 8.x by
WFCORE-6476andJBEAP-25654, which reduced the logging level of failed internal read-only operations to DEBUG. - However, the root cause (the unregistered metrics remain as "ghost" entries in the registry) is still there. So, you can still see the same log message when enabling DEBUG logging for "org.jboss.as.controller.management-operation" category in JBoss EAP 8.x.
- relates to
-
JBEAP-32304 [GSS](7.4.z) Infinispan cache container metrics for each deployment are not registered when deploying a web application after start-up
-
- New
-
-
JBEAP-32305 [GSS](8.1.z) Infinispan cache container metrics for each deployment are not registered when deploying a web application after start-up
-
- New
-
- links to