Remove Corosync resource bindings (collocations and orders) tied up with clone_p_neutron-openvswitch-agent:
crm configure delete dhcp-after-ovs
crm configure delete dhcp-with-ovs
crm configure delete l3-after-ovs
crm configure delete l3-with-ovs
Then run 'crm configure’ command and add a location for neutron-l3-agent for all controllers. The exact names of the controllers you can find by running "crm configure show|grep 'location p_neutron-dhcp-agent’” command.
Here is a workaround:
Remove Corosync resource bindings (collocations and orders) tied up with clone_p_ neutron- openvswitch- agent:
crm configure delete dhcp-after-ovs
crm configure delete dhcp-with-ovs
crm configure delete l3-after-ovs
crm configure delete l3-with-ovs
Then run 'crm configure’ command and add a location for neutron-l3-agent for all controllers. The exact names of the controllers you can find by running "crm configure show|grep 'location p_neutron- dhcp-agent’ ” command.
Here is an example: dhcp-agent' dhcp-agent_ on_node- 1.test. domain. local p_neutron- dhcp-agent 0: node-1. test.domain. local dhcp-agent_ on_node- 2.test. domain. local p_neutron- dhcp-agent 0: node-2. test.domain. local dhcp-agent_ on_node- 3.test. domain. local p_neutron- dhcp-agent 0: node-3. test.domain. local l3-agent_ on_node- 1.test. domain. local p_neutron-l3-agent 0: node-1. test.domain. local l3-agent_ on_node- 2.test. domain. local p_neutron-l3-agent 0: node-2. test.domain. local l3-agent_ on_node- 3.test. domain. local p_neutron-l3-agent 0: node-3. test.domain. local
[root@node-1 ~]# crm configure delete dhcp-after-ovs
[root@node-1 ~]# crm configure delete dhcp-with-ovs
[root@node-1 ~]# crm configure delete l3-after-ovs
[root@node-1 ~]# crm configure delete l3-with-ovs
[root@node-1 ~]# crm configure show|grep 'location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
[root@node-1 mirantis]# crm configure
crm(live)configure# location p_neutron-
crm(live)configure# location p_neutron-
crm(live)configure# location p_neutron-