Remove neutron-l3-agent from corosync

This totally removes neutron-l3-agent from corosync setup,
allowing Fuel health-check test to pass.
(HA tests; Check pacemaker status)

Change-Id: I88f7f4569629335611a8d8e78a2bfef1bfaaf122
This commit is contained in:
Samir Ibradžić 2016-03-04 00:38:57 +09:00
parent c8f713275f
commit a226fbc3ca
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@ if member($roles, 'primary-controller') {
exec {'stop-l3-agent':
command => 'crm resource stop p_neutron-l3-agent',
path => '/usr/bin:/usr/sbin'
} ->
exec {'delete-l3-agent':
command => 'crm configure delete p_neutron-l3-agent',
path => '/usr/bin:/usr/sbin'
}
} else {
service {$ovs_agent_name: