Skip to content

Commit 25eab46

Browse files
committed
neutron: set a failure-timeout on neutron-ha-tool
We don't want the neutron-ha-tool service to be stopped after 3 weeks of weekly patching and rebooting the rabbitmq cluster. Set a timeout of a failure if it happened more than 10 minutes ago.
1 parent 7dce67e commit 25eab46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chef/cookbooks/neutron/recipes/network_agents_ha.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@
154154
agent "systemd:neutron-l3-ha-service"
155155
op node[:neutron][:ha][:neutron_l3_ha_resource][:op]
156156
action :update
157+
meta ({
158+
"failure-timeout" => "600s"
159+
})
157160
only_if { CrowbarPacemakerHelper.is_cluster_founder?(node) }
158161
end
159162
ha_service_transaction_objects << "pacemaker_primitive[#{ha_service_primitive_name}]"

0 commit comments

Comments
 (0)