Skip to content

Commit

Permalink
Don't orchestrate start if the instance is local_expect=="started"
Browse files Browse the repository at this point in the history
So an instance evaluating as "stdby up" when a monitored resource goes down
(the only resource determining the service is up instead of stdby up), the
orchestrator does try an instance start, and the resource orchestrator can
enter the resource restart and TOC codepath.
  • Loading branch information
cvaroqui committed Oct 6, 2017
1 parent 9a76dca commit 099c94c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/osvcd_mon.py
Expand Up @@ -500,6 +500,8 @@ def service_orchestrator_auto(self, svc, smon, status):
"""
if not self.compat:
return
if smon.local_expect != "started":
return
if svc.frozen() or self.freezer.node_frozen():
#self.log.info("service %s orchestrator out (frozen)", svc.svcname)
return
Expand Down

0 comments on commit 099c94c

Please sign in to comment.