From 3911861e8aa494f035b74ac8cc37aabd67c1e255 Mon Sep 17 00:00:00 2001 From: Rudra Rugge Date: Thu, 28 May 2015 10:57:18 -0700 Subject: [PATCH] Monitor service should not check for active 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 --- src/config/svc-monitor/svc_monitor/svc_monitor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/config/svc-monitor/svc_monitor/svc_monitor.py b/src/config/svc-monitor/svc_monitor/svc_monitor.py index 006a772748a..bc29eb816ae 100644 --- a/src/config/svc-monitor/svc_monitor/svc_monitor.py +++ b/src/config/svc-monitor/svc_monitor/svc_monitor.py @@ -739,8 +739,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)