[
https://issues.apache.org/jira/browse/DATALAB-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vira Vitanska deleted DATALAB-278:
----------------------------------
> [DevOps]: Jenkins Job to terminate EDGE should also include stopped status
> --------------------------------------------------------------------------
>
> Key: DATALAB-278
> URL: https://issues.apache.org/jira/browse/DATALAB-278
> Project: Apache DataLab
> Issue Type: Bug
> Reporter: Vira Vitanska
> Priority: Minor
> Labels: AWS, AZURE, Debian, DevOps, GCP, RedHat
>
> *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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]