Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dva terminate doesn't terminate an instance #48

Closed
dparalen opened this issue May 20, 2015 · 0 comments
Closed

dva terminate doesn't terminate an instance #48

dparalen opened this issue May 20, 2015 · 0 comments

Comments

@dparalen
Copy link

the terminate function doesn't terminate any instance because of an invalid ostmeam variable value on line 42 of the file dva/work/terminate.py.
Actually, the except statement prevents the error from being shown.
When changed to except None: the error manifests itself and the function finishes without terminating:

[mkovacik@zrnko globe]$ dva -c ~/.pem/validation-staging.yaml terminate -i curl-result.yaml 
There will be 3 termination calls
Traceback (most recent call last):
  File "/usr/bin/dva", line 5, in <module>
    pkg_resources.run_script('dva==0.6', 'dva')
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 483, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1348, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/lib/python2.7/site-packages/dva-0.6-py2.7.egg/EGG-INFO/scripts/dva", line 146, in <module>

  File "build/bdist.linux-x86_64/egg/aaargh/app.py", line 176, in run
  File "/usr/lib/python2.7/site-packages/dva-0.6-py2.7.egg/EGG-INFO/scripts/dva", line 112, in terminate

  File "build/bdist.linux-x86_64/egg/dva/work/terminate.py", line 42, in main
NameError: global name 'ostmeam' is not defined
[mkovacik@zrnko globe]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant