can't enabled plugins rabbimq_tracing

143 views
Skip to first unread message

peera...@gmail.com

unread,
Jul 12, 2018, 12:47:58 AM7/12/18
to rabbitmq-users
Hello 
I try to use kubernetes for managing RabbitMQ Services. I Read and Try on
https://github.com/rabbitmq/rabbitmq-peer-discovery-k8s and it work pretty fine.
Now i try to monnitoring massage by use rabbitmqctl trace_on in the container.
But when i try to enable plugins rabbitmq_tracing it display error "Cannot_write_enabled_plugins_file".
I already check umask and it 0022 so i don't know how to solve this

Thank you
Gone
problem.png

Daniil Fedotov

unread,
Jul 12, 2018, 4:41:27 AM7/12/18
to rabbitmq-users
erofs means that the filesystem is in read-only mode. For kubernetes it might be the case. Can you check how is the filesystem for /etc/rabbitmq mounted in your container?

peera...@gmail.com

unread,
Jul 12, 2018, 7:11:05 AM7/12/18
to rabbitmq-users
Hi Daniil
Thank you for reply 
Is this you looking for?

Gone
rb3.png

Daniil Fedotov

unread,
Jul 12, 2018, 10:35:40 AM7/12/18
to rabbitmq-users
The ls command shows configured permissions for files and directories, but it does not show if the filesystem was mounted in read-only mode. You should check that in your kubernetes configuration.

Luke Bakken

unread,
Jul 12, 2018, 2:14:51 PM7/12/18
to rabbitmq-users
Hello -

What is the output of the mount command when run as root?

Luke

peera...@gmail.com

unread,
Jul 12, 2018, 9:19:16 PM7/12/18
to rabbitmq-users
Hi Luke
Here What i Try


rb4.png

Luke Bakken

unread,
Jul 13, 2018, 11:47:52 AM7/13/18
to rabbitmq-users
Hello,

You can see that /etc/rabbitmq is a read-only filesystem. To enable plugins, the rabbitmq-plugins command must be able to write to this location.

Or, you can use the RABBITMQ_ENABLED_PLUGINS_FILE environment variable to use a different location for this file.

Thanks,
Luke
Reply all
Reply to author
Forward
0 new messages