weixin_39972519
weixin_39972519
2020-12-26 00:04

Any one able to run docker-liberty - rabbitmq image in kubernetes cluster with ssl enabled

Hi guys, Is any able to run rabbitmq image with ssl enabled in kubs environments. I have been trying for the past week with NO success, In-fact I did deploy, however the rabbitmq POD keeps on crashing/restarting. Also, how can we debug, as I don't see any error message in the log which may give any clue. what I see in the log:


=INFO REPORT==== 13-Dec-2017::20:05:29 ===
FHC read buffering:  OFF
Limiting to approx 1048476 file handles (943626 sockets)
FHC write buffering: ON
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Database directory at /var/lib/rabbitmq/mnesia/rabbit-rabbitmq-instance-rabbitmq-3707794440-d0clb is empty. Initialising from scratch...
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
    application: mnesia
    exited: stopped
    type: temporary
Waiting for Mnesia tables for 30000 ms, 9 retries left
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Priority queues enabled, real BQ is rabbit_variable_queue
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left
Starting rabbit_node_monitor
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Adding vhost '/'
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Creating user 'guest'
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Setting user tags for user 'guest' to [administrator]
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Setting permissions for 'guest' in '/' to '.*', '.*', '.*'
msg_store_transient: using rabbit_msg_store_ets_index to provide index
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
=WARNING REPORT==== 13-Dec-2017::20:05:29 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index
msg_store_persistent: rebuilding indices from scratch
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
started TCP Listener on [::]:5672
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
started SSL Listener on [::]:5671
 completed with 0 plugins.
Server startup complete; 0 plugins started.
=INFO REPORT==== 13-Dec-2017::20:05:29 ===
Error executing 'postInstallation': User '2010' not found
Stopping and halting node 'rabbit-rabbitmq-instance-rabbitmq-3707794440-d0clb'
RabbitMQ is asked to stop...
=INFO REPORT==== 13-Dec-2017::20:06:30 ===
Stopping RabbitMQ applications and their dependencies in the following order:
    rabbit
    mnesia
    rabbit_common
    os_mon
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
stopped SSL Listener on [::]:5671
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
Stopping application 'rabbit'
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
stopped TCP Listener on [::]:5672
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
Message store for directory '/var/lib/rabbitmq/mnesia/rabbit-rabbitmq-instance-rabbitmq-3707794440-d0clb/msg_store_persistent' is stopped
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
Stopping message store for directory '/var/lib/rabbitmq/mnesia/rabbit-rabbitmq-instance-rabbitmq-3707794440-d0clb/msg_store_persistent'
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
Stopping message store for directory '/var/lib/rabbitmq/mnesia/rabbit-rabbitmq-instance-rabbitmq-3707794440-d0clb/msg_store_transient'
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
    application: rabbit
    exited: stopped
    type: transient
Message store for directory '/var/lib/rabbitmq/mnesia/rabbit-rabbitmq-instance-rabbitmq-3707794440-d0clb/msg_store_transient' is stopped
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
Stopping application 'mnesia'
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
    application: mnesia
    exited: stopped
    type: temporary
Stopping application 'rabbit_common'
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
    application: rabbit_common
    exited: stopped
    type: temporary
Successfully stopped RabbitMQ and its dependencies
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
    application: os_mon
    exited: stopped
    type: temporary
Gracefully halting Erlang VM
Halting Erlang VM with the following applications:
    ranch
    ssl
    public_key
    compiler
    crypto
    xmerl
    syntax_tools
    asn1
    recon
    sasl
    stdlib
    kernel
Stopping application 'os_mon'
=INFO REPORT==== 13-Dec-2017::20:06:31 ===
=INFO REPORT==== 13-Dec-2017::20:06:31 ===

该提问来源于开源项目:docker-library/rabbitmq

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39890814 weixin_39890814 4月前

    Maybe it is this line: Error executing 'postInstallation': User '2010' not found? Do you have a custom configuration file? Does it work running it with the same arguments/config in plain docker?

    In the future, it'd be better to post general debugging questions like this in the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

    点赞 评论 复制链接分享
  • weixin_39972519 weixin_39972519 4月前

    Thanks for responding , This was an old message, the new log started after this error message=INFO REPORT==== 13-Dec-2017::20:05:29 === Error executing 'postInstallation': User '2010' not found we were able to get around this issue. However the container keep on restarting. You guys able to run this image in kubernetes env with ssl enabled ?

    Sure I will post in Docker community slack and slack overflow as well. Thanks again.

    点赞 评论 复制链接分享
  • weixin_39532019 weixin_39532019 4月前

    Yes, we have run this image successfully in Docker with SSL, which is the primary supported configuration. For help configuring your pods, I'd recommend the places already pointed to, or a Kubernetes-specific Slack/forum.

    If this can be reproduced in a simple way (with just docker run) that shows there is definitely an issue with the image, we'd be happy to take a look and try to figure out a fix. Thanks!

    点赞 评论 复制链接分享
  • weixin_39972519 weixin_39972519 4月前

    I do know it works in Docker with SSL, I did test the image. Am asking whether you guys or anyone else test this image in kubernetes env with SSL. Sorry for posting a question in GH issue and thanks for closing it.

    点赞 评论 复制链接分享