You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2019/10/22 20:13:56 UTC

[incubator-mxnet-ci] branch master updated: fix instance state (#12)

This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-ci.git


The following commit(s) were added to refs/heads/master by this push:
     new fcc2798  fix instance state (#12)
fcc2798 is described below

commit fcc27980ef3eb61e8a900ce2eec381dc00052f0c
Author: Chaitanya Prakash Bapat <ch...@gmail.com>
AuthorDate: Tue Oct 22 13:13:49 2019 -0700

    fix instance state (#12)
---
 services/jenkins-autoscaling/lambda_mxnet_ci/autoscaling/handler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/jenkins-autoscaling/lambda_mxnet_ci/autoscaling/handler.py b/services/jenkins-autoscaling/lambda_mxnet_ci/autoscaling/handler.py
index 3f78434..d48ed14 100755
--- a/services/jenkins-autoscaling/lambda_mxnet_ci/autoscaling/handler.py
+++ b/services/jenkins-autoscaling/lambda_mxnet_ci/autoscaling/handler.py
@@ -417,7 +417,7 @@ def _unconnected_instances(nodes: list, instance_uptime: Dict[str, int], ec2_res
     dict_starting_nodes: Dict[str, List[str]] = defaultdict(list)
     instances_filter = ec2_resource.instances.filter(
         Filters=[
-            {'Name': 'instance-state-name', 'Values': ['starting', 'running']},
+            {'Name': 'instance-state-name', 'Values': ['pending', 'running']},
             {'Name': 'tag:AutoScaledSlave', 'Values': ['True']}  # Ensure only listing instances managed by auto scaling
         ])
     for instance in instances_filter: