Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1636918

Summary: Wrong infinispan configurtation in standalone.xml of metrics-hawkular-metrics image
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: HawkularAssignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED CURRENTRELEASE QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: aos-bugs, wmeng
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-21 18:38:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
hawkular-metrics pod log none

Description Junqi Zhao 2018-10-08 09:23:03 UTC
Created attachment 1491565 [details]
hawkular-metrics pod log

Description of problem:
see https://bugzilla.redhat.com/show_bug.cgi?id=1612648#c7
Since HAWKULAR_METRICS_VERSION revert back to 0.28.4.Final-redhat-1,infinispan configurtation should be reverted back, otherwise hawkular-metrics container can not be start up. Image is metrics-hawkular-metrics-v3.7.65-1

# oc -n openshift-infra get pod
NAME                         READY     STATUS    RESTARTS   AGE
hawkular-cassandra-1-ch56x   1/1       Running   0          1h
hawkular-metrics-sklbj       0/1       Running   3          34m
heapster-6clrn               0/1       Running   7          1h

Error in hawkular-metrics pod
****************************************************************************
2018-10-08 08:41:01,445 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "hawkular-metrics.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => [
    "jboss.naming.context.java.module.hawkular-metrics.hawkular-metrics.env.container.hawkular-metrics is missing [jboss.naming.context.java.jboss.infinispan.container.hawkular-metrics]",
    "jboss.naming.context.java.module.hawkular-metrics.hawkular-metrics.env.cache.locks is missing [jboss.naming.context.java.jboss.infinispan.cache.hawkular-metrics.locks]"
]}
2018-10-08 08:41:01,476 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "hawkular-metrics.war" (runtime-name : "hawkular-metrics.war")
2018-10-08 08:41:01,476 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "activemq-rar.rar" (runtime-name : "activemq-rar.rar")
2018-10-08 08:41:01,479 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.naming.context.java.jboss.infinispan.cache.hawkular-metrics.locks (missing) dependents: [service jboss.naming.context.java.module.hawkular-metrics.hawkular-metrics.env.cache.locks] 
      service jboss.naming.context.java.jboss.infinispan.container.hawkular-metrics (missing) dependents: [service jboss.naming.context.java.module.hawkular-metrics.hawkular-metrics.env.container.hawkular-metrics] 
****************************************************************************

# docker run -u root --rm -it --entrypoint=/bin/bash registry.reg-aws.openshift.com:443/openshift3/metrics-hawkular-metrics:v3.7.65 
Unable to find image 'registry.reg-aws.openshift.com:443/openshift3/metrics-hawkular-metrics:v3.7.65' locally
Trying to pull repository registry.reg-aws.openshift.com:443/openshift3/metrics-hawkular-metrics ... 
v3.7.65: Pulling from registry.reg-aws.openshift.com:443/openshift3/metrics-hawkular-metrics
Digest: sha256:a888812c42aa4feb6676519a6090f8b3607ca0e2f5f9ff7d980a51f2dafc3d32
[root@792679b0bf62 ~]#  cat /opt/eap/standalone/configuration/standalone.xml | grep infinispan
        <extension module="org.jboss.as.clustering.infinispan"/>
                <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
                <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
        <subsystem xmlns="urn:jboss:domain:infinispan:4.0">
            <cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">
            <cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
            <cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">


the "subsystem" part should be
        <subsystem xmlns="urn:jboss:domain:infinispan:4.0">
            <cache-container name="web" default-cache="repl" module="org.wildfly.clustering.web.infinispan">
            <cache-container name="ejb" aliases="sfsb" default-cache="repl" module="org.wildfly.clustering.ejb.infinispan">
            <cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">


Version-Release number of selected component (if applicable):
metrics-cassandra-v3.7.65-1
metrics-hawkular-metrics-v3.7.65-1
metrics-heapster-v3.7.65-1


How reproducible:
Always

Steps to Reproduce:
1. Deploy metrics 3.7
2.
3.

Actual results:
hawkular-metrics container can not be start up.

Expected results:
hawkular-metrics container should be start up.

Additional info:

Comment 1 Junqi Zhao 2018-10-08 09:23:49 UTC
Blocks 3.7 metrics testing

Comment 3 Junqi Zhao 2018-11-19 05:50:20 UTC
Please change to ON_QA, issue is fixed with
metrics-hawkular-metrics-v3.7.72-2

other images:
metrics-cassandra-v3.7.72-2
metrics-heapster-v3.7.72-2

# openshift version
openshift v3.7.72

Comment 4 Junqi Zhao 2018-11-19 05:50:49 UTC
# oc -n openshift-infra get pod
NAME                         READY     STATUS    RESTARTS   AGE
hawkular-cassandra-1-9dghn   1/1       Running   0          28m
hawkular-metrics-tzmm2       1/1       Running   0          28m
heapster-b9tw8               1/1       Running   0          28m

Comment 5 Junqi Zhao 2018-11-20 00:50:07 UTC
Per Comment 3, change to VERIFIED