Skip to content

Commit

Permalink
Monitor service should not check for active
Browse files Browse the repository at this point in the history
Monitoring of services should not be qualified with
state being active. As we might hit issues during launch
even before the service is active.

Change-Id: Id113c2e575bf845fcf9a18d1ce92dec98ef8763c
Closes-Bug: #1458442
  • Loading branch information
rrugge committed May 28, 2015
1 parent 81b1966 commit d24bbfc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/config/svc-monitor/svc_monitor/svc_monitor.py
Expand Up @@ -718,8 +718,6 @@ def _relaunch_service_instance(self, si):
self._create_service_instance(si)

def _check_service_running(self, si):
if si.state != 'active':
return
st = ServiceTemplateSM.get(si.service_template)
if st.virtualization_type == 'virtual-machine':
status = self.vm_manager.check_service(si)
Expand Down

0 comments on commit d24bbfc

Please sign in to comment.