Skip to content

Commit

Permalink
neutron: set a failure-timeout on neutron-ha-tool
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dirkmueller committed Mar 25, 2019
1 parent 7dce67e commit 25eab46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chef/cookbooks/neutron/recipes/network_agents_ha.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@
agent "systemd:neutron-l3-ha-service"
op node[:neutron][:ha][:neutron_l3_ha_resource][:op]
action :update
meta ({
"failure-timeout" => "600s"
})
only_if { CrowbarPacemakerHelper.is_cluster_founder?(node) }
end
ha_service_transaction_objects << "pacemaker_primitive[#{ha_service_primitive_name}]"
Expand Down

0 comments on commit 25eab46

Please sign in to comment.