Skip to content

3.8.7 and 3.8.8 startup existence warning #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
abel533 opened this issue Sep 16, 2020 · 3 comments
Closed

3.8.7 and 3.8.8 startup existence warning #438

abel533 opened this issue Sep 16, 2020 · 3 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@abel533
Copy link

abel533 commented Sep 16, 2020

Enable plug-ins at startup through enabled_plugins:

[rabbitmq_management].

Start command:

docker run --rm -p 15673:15672 -v D:/RabbitMQ/enabled_plugins:/etc/rabbitmq/enabled_plugins rabbitmq:3.8.8

warning message:

2020-09-16 08:30:59.346 [info] <0.669.0> Running boot step rabbit_mgmt_reset_handler defined by app rabbitmq_management
2020-09-16 08:30:59.346 [info] <0.669.0> Running boot step rabbit_management_load_definitions defined by app rabbitmq_management
2020-09-16 08:30:59.346 [warning] <0.701.0> Metrics collection disabled in management agent, management only interface started
2020-09-16 08:30:59.383 [info] <0.701.0> Management plugin: HTTP (non-TLS) listener started on port 15672
2020-09-16 08:30:59.383 [info] <0.807.0> Statistics database started.

The management interface does not display properly

1
2

Direct installation is no problem

image

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Sep 16, 2020
@wglambert
Copy link

There's a rabbitmq:management tag with the management plugin installed https://github.com/docker-library/docs/tree/master/rabbitmq#management-plugin

@yosifkit
Copy link
Member

The warning is because the image disables management metrics in the default image because prometheus metrics are enabled (#422):

# Enable Prometheus-style metrics by default (https://github.com/docker-library/rabbitmq/issues/419)
RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_prometheus; \
echo 'management_agent.disable_metrics_collector = true' > /etc/rabbitmq/conf.d/management_agent.disable_metrics_collector.conf

But it is re-enabled in the management image:

# make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default)
RUN rm -f /etc/rabbitmq/conf.d/management_agent.disable_metrics_collector.conf

@abel533
Copy link
Author

abel533 commented Sep 17, 2020

Thank you!

I haven't noticed the management tag, and now i know.

@abel533 abel533 closed this as completed Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

3 participants