I have a three Logstash instances running a fairly old release ( 6.2.3). Two are running in a standby mode, and one in a active mode. The node, which has the vip is considered the active node.
All this said, all three instances are running, but only the active node processes records.
After some restarts of all three nodes, I see now the following messages on all three nodes:
[WARN ][logstash.inputs.rabbitmq ] Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=405, reply-text=RESOURCE_LOCKED - cannot obtain exclusive access to locked queue '' in vhost '/', class-id=50, method-id=10)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/opt/northstar/thirdparty/logstash/vendor/bundle/jruby/2.3.0/gems/march_hare-3.1.1-java/lib/march_hare/exceptions.rb:121:in `convert_and_reraise'"}
I have restarted the rabbitmq server (remote node) as well as the three logstash instances, but I can not resolve this issue.
All the parameters are commented out (default settings), so there is no persistent queue on disk.
For the pipeline in question, 5 workers are configured and batch size is set to 500
As @Rios already mentioned, this seems to be a issue on the RabbitMQ side, logstash is trying to connect and the rabbitmq server is returning the error you got.
But, can you share your logstash input configuration?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.