neutron-ha-tool: do not replicate dhcp
Neutron already takes care of the HA for dhcp agents. See neutron setting `dhcp_agents_per_network` in `neutron.conf`. Having the OCF script call dhcp replication function of neutron-ha-tool would mean that the tool will try to plug each network to each DHCP agent, which contradicts neutron's settings. Change-Id: I87d9f7010092178c1677e14456b5e2606e5830dc
This commit is contained in:
parent
fe84d75954
commit
08b85da715
@ -6,9 +6,8 @@
|
||||
# This resource agent wraps the neutron-ha-tool Python script.
|
||||
# It can be used to monitor neutron for the availability of the
|
||||
# l3-agents and migrate routers away from agents that are
|
||||
# currently offline. Additionally it makes sure that dns and dhcp
|
||||
# configuration is synchronized across all dhcp-agents. The
|
||||
# neutron-ha-tool was originally part of the openstack-network
|
||||
# currently offline.
|
||||
# The neutron-ha-tool was originally part of the openstack-network
|
||||
# cookbook for Chef. However as of icehouse it got dropped
|
||||
# from upstream, and is now maintained here:
|
||||
#
|
||||
@ -255,15 +254,6 @@ neutron_ha_tool_start() {
|
||||
retry="--retry"
|
||||
fi
|
||||
|
||||
${OCF_RESKEY_binary} --replicate-dhcp $retry $INSECURE
|
||||
|
||||
rc=$?
|
||||
if [ $rc -ne 0 ]; then
|
||||
ocf_log err "Neutron HA Tool failed to replicate networks to DHCP" \
|
||||
"agents."
|
||||
return $OCF_ERR_GENERIC
|
||||
fi
|
||||
|
||||
${OCF_RESKEY_binary} --l3-agent-migrate $retry --now $INSECURE
|
||||
|
||||
rc=$?
|
||||
|
Loading…
Reference in New Issue
Block a user