-
Bug
-
Resolution: Done
-
Blocker
-
AMQ 7.2.1 Image 1.0.GA
-
None
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.