Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6968

Missing jolokia properties configuration in AMQ 7.10-OPR3

XMLWordPrintable

      jolokiaAgentEnabled: true that has a missed properties.

      $ cat /opt/jboss/container/jolokia/etc/jolokia.properties
      host=*
      port=8778
      discoveryEnabled=false
      protocol=https
      useSslClientAuthentication=true
      extraClientCheck=true
      caCert=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
      clientPrincipal=cn=system:master-proxy
      

      it should be like following:

      host=*
      port=8778
      discoveryEnabled=false
      protocol=https
      useSslClientAuthentication=true
      extraClientCheck=true
      caCert=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
      realm=activemq
      clientPrincipal.1=cn=system:master-proxy
      clientPrincipal.2=cn=hawtio-online.hawtio.svc
      clientPrincipal.3=cn=fuse-console.fuse.svc
      

      This regression was caused by https://github.com/rh-messaging/activemq-artemis-broker-kubernetes-image/commit/0de8ea2ac34b83ed5ef45fd610b6531f7072fb6b

      the AMQ_JOLOKIA_AGENT_OPTS env var should be set to

      realm=activemq,caCert=/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt,clientPrincipal.1=cn=system:master-proxy,clientPrincipal.2=cn=hawtio-online.hawtio.svc,clientPrincipal.3=cn=fuse-console.fuse.svc
      

              dbruscin Domenico Francesco Bruscino
              rhn-support-aboucham Abel Bouchama
              Roman Vais Roman Vais (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: