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

Base image AMQ_REPLICATED default is true

XMLWordPrintable

      https://github.com/jboss-container-images/jboss-amq-7-broker-image/blob/amq-broker-72-dev/image.yaml#L39

      The AMQ 7 base image has env variable AMQ_REPLICATED set to true by default. This will add --replicated switch to create command that leads to empty ha section in broker.xml config.

            <ha-policy>
               <replication>
                  <master/>
               </replication>
            </ha-policy>
      

      As a side effect scaledown invocation via Jolokia exec is ignored when this empty section exists. To get the scaledown work properly draining pod need to explicitly define env variable to false. Imho the default value should be set to false to prevent such side effects.

      On a second thought do we need HA section actually for OpenShift image?

              rhn-support-rkieley Roderick Kieley
              rhn-support-rkieley Roderick Kieley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: