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

Container image drain script assumes broker name is 'broker'

XMLWordPrintable

      When the drain script runs to fire up the drain broker pod we see:

      Setting redistribution-delay to zero.
      Copying Config files from S2I build
      '/opt/amq/conf/jgroups-ping.xml' -> '/home/jboss/amq28/etc/jgroups-ping.xml'
      Configuring S2I run to start
      Custom Configuration file 'BROKER_XML' is disabled
      Custom Configuration file 'LOGGING_PROPERTIES' is disabled
      Starting artemis-service
      id: cannot find name for user ID 1000870000
      artemis-service is now running (225)
      tail: cannot open 'broker/log/artemis.log' for reading: No such file or directory
      tail: no files remaining
      Drain completed!
      

      Note that 'broker/log/artemis.log' can't be found. In this case the broker name was 'amq28'. There is an environment variable AMQ_NAME that contains the required information and should be used.

      As well the name 'broker' is hard coded in the scaleDown curl call and requires fixing.

              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: