There's an exception when you try to exec a tool and there are no tools defined in the pod.
ocho cli
welcome to the ocho CLI ! (CTRL-C or exit to get out)
dcos > exec * ' ' --force
dcos > log *portal
<*portal> -> 100% replies (1 pods total) ->
- marathon.portal #98
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/ochopod/frameworks/marathon.py", line 326, in _exec
if cmd not in tools:
TypeError: argument of type 'NoneType' is not iterable
2015-10-28 17:28:55,796 - DEBUG - http -> shell request "log *portal"
2015-10-28 17:28:55,972 - DEBUG - http in -> /log
There's an exception when you try to exec a tool and there are no tools defined in the pod.