Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2826

[AMQ7] base image AMQ_REPLICATED default is true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • AMQ72 1.0.0.GA
    • AMQ72 1.0.0.GA
    • AMQ7
    • None
    • CLOUD Maintenance Sprint 25

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              rhn-support-rkieley Roderick Kieley
              dsimansk@redhat.com David Simansky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: