It looks like RABBITMQ_NODE_ONLY environment variable is the problem here.
RABBIT* environment vairables for the "beam" process started via init script (with working plugins):
RABBITMQ_PID_FILE=/var/run/rabbitmq/pid
RABBITMQ_NODE_PORT=5673
RABBIT* environment vairables for the "beam" process started via OCF (with not working plugins):
RABBITMQ_NODE_ONLY=1
RABBITMQ_NODENAME=rabbit@node-4
RABBITMQ_PID_FILE=/var/run/rabbitmq/pid
RABBITMQ_NODE_PORT=5673
For the experiment purpose I've remove RABBITMQ_NODE_ONLY=1 from OCF script and executed "crm resource restart p_rabbitmq-server" - rabbit has started with plugins:
/<email address hidden>: Server startup complete; 6 plugins started.
It looks like RABBITMQ_NODE_ONLY environment variable is the problem here.
RABBIT* environment vairables for the "beam" process started via init script (with working plugins): PID_FILE= /var/run/ rabbitmq/ pid NODE_PORT= 5673
RABBITMQ_
RABBITMQ_
RABBIT* environment vairables for the "beam" process started via OCF (with not working plugins): NODE_ONLY= 1 NODENAME= rabbit@ node-4 PID_FILE= /var/run/ rabbitmq/ pid NODE_PORT= 5673
RABBITMQ_
RABBITMQ_
RABBITMQ_
RABBITMQ_
For the experiment purpose I've remove RABBITMQ_ NODE_ONLY= 1 from OCF script and executed "crm resource restart p_rabbitmq-server" - rabbit has started with plugins:
/<email address hidden>: Server startup complete; 6 plugins started.