Missing policy for RabbitMQ
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Fix Released
|
Critical
|
Alexey Lebedeff | |||
9.x |
Fix Released
|
Critical
|
Alexey Lebedeff |
Bug Description
RabbitMQ hasn't any policy. By default pacemaker has incorrect configuration for rabbitmq.
Steps to reproduce:
1. Deploy env with 3 controller + 1 compute
2. Make ssh to controller and execute:
root@node-2:~# file $(pcs resource show p_rabbitmq-server | grep policy_file | awk -F 'policy_file=' '{print $2}')
/usr/sbin/
3. And execute:
root@node-2:~# rabbitmqctl list_policies
Listing policies ...
root@node-2:~#
Expected results:
[Step2] Make ssh to controller and execute:
root@node-2:~# file $(pcs resource show p_rabbitmq-server | grep policy_file | awk -F 'policy_file=' '{print $2}')
/usr/sbin/
[Step3] And execute:
root@node-2:~# rabbitmqctl list_policies
Listing policies ...
/ ha-notif all ^(event|
/ heat_rpc_expire all ^heat-engine-
/ results_expire all ^results\\. {"expires":3600000} 1
/ tasks_expire all ^tasks\\. {"expires":3600000} 1
root@node-2:~#
Actual:
[Step 2] Make ssh to controller and execute:
root@node-2:~# file $(pcs resource show p_rabbitmq-server | grep policy_file | awk -F 'policy_file=' '{print $2}')
/usr/sbin/
[Step 3] And execute:
root@node-2:~# rabbitmqctl list_policies
Listing policies ...
root@node-2:~#
Reproducibility:
Always
Workaround:
1.Make ssh on one of controllers and execute: crm_resource --resource p_rabbitmq-server --set-parameter policy_file --parameter-value /usr/sbin/
2.Restart rabbitmq cluster with pcs by command: pcs resource restart p_rabbitmq-server
Impact:
This bug break events replication (Messages(events) are lost when rabbit restarting on one of nodes). May be critical/blocker for celiometers.
Description of the environment:
iso: 9.0-mos.all #443.
shotgun2 report: http://
description: | updated |
tags: | removed: need-info |
Changed in mos: | |
assignee: | MOS Oslo (mos-oslo) → Alexey Lebedeff (alebedev-a) |
tags: | added: blocker-for-qa |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug