Vira Vitanska created DLAB-278:
----------------------------------

             Summary: [DevOps]: Jenkins Job to terminate EDGE should also 
include stopped status
                 Key: DLAB-278
                 URL: https://issues.apache.org/jira/browse/DLAB-278
             Project: Apache DLab
          Issue Type: Bug
            Reporter: Vira Vitanska


*Preconditions:* Edge is stopped

*Steps to reproduce:*
1. Run Jenkins Job to terminate edge

*Actual result:*
Edge isn't terminated
Exception: Unable to find instance IP addresses with instance name: 
vitanska_2407-dmytro_liaskovskyi-edge
Traceback (most recent call last):
File "/root/scripts/edge_terminate.py", line 103, in <module>
edge_conf['edge_instance_name']).get('Public')
File "/usr/lib/python2.7/dlab/meta_lib.py", line 121, in get_instance_ip_address
logging.error("Error with getting bucket by name: " + str(err) + "\n Traceback: 
" + traceback.print_exc(file=sys.stdout))
TypeError: cannot concatenate 'str' and 'NoneType' objects

Fatal error: local() encountered an error (return code 1) while executing 
'~/scripts/edge_terminate.py'

Aborting.
[localhost] local: ~/scripts/edge_terminate.py

Fatal error: local() encountered an error (return code 1) while executing 'cd 
/root; fab terminate'

Aborting.
[localhost] local: cd /root; fab terminate
[localhost] local: chmod 666 /response/*

Fatal error: local() encountered an error (return code 1) while executing 
'/bin/terminate.py'

Aborting.
Build step 'Execute shell' marked build as failure
Finished: FAILURE

*Expected result:*
Edge is terminated



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to