projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0b200
)
Imager issue fix
66/167566/1
author
hyokeun
<hyokeun.jeon@samsung.com>
Thu, 18 Jan 2018 07:49:52 +0000
(16:49 +0900)
committer
hyokeun
<hyokeun.jeon@samsung.com>
Thu, 18 Jan 2018 07:49:52 +0000
(16:49 +0900)
Sometimes VM is in pending state. This will not be stopped. Force terminate it.
Change-Id: Ic1a4776f7988cd125f85cd85e2994215fc5e2dfa
common/aws_ec2.py
patch
|
blob
|
history
diff --git
a/common/aws_ec2.py
b/common/aws_ec2.py
index
0af8d1c
..
dff975d
100644
(file)
--- a/
common/aws_ec2.py
+++ b/
common/aws_ec2.py
@@
-196,7
+196,7
@@
def ping_main(args):
def terminate_main(args):
instance_ids = args.instanceid.split(',')
print instance_ids
- stop_instances(instance_ids)
+
#
stop_instances(instance_ids)
terminate_instances(instance_ids)
describe_instance_by_instanceid(instance_ids)
print '\nMAIN FINISHED AT %s' % (str(datetime.now()))