-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Description of Issue
salt "vmx1" junos.cli 'show version' format=text dev_timeout=30 dest=/tmp/cli1.txt --out=yaml
[ERROR ] Unhandled exception running status.proxy_reconnect
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/junos_eznc-2.6.3+14.g9b6a706.dirty-py3.6.egg/jnpr/junos/device.py", line 228, in timeout
self._conn.timeout = int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/junos_eznc-2.6.3+14.g9b6a706.dirty-py3.6.egg/jnpr/junos/decorators.py", line 24, in wrapper
dev.timeout = restore_timeout
File "/usr/local/lib/python3.6/dist-packages/junos_eznc-2.6.3+14.g9b6a706.dirty-py3.6.egg/jnpr/junos/device.py", line 231, in timeout
"could not convert timeout value of %s to an " "integer" % (value)
RuntimeError: could not convert timeout value of None to an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/junos_eznc-2.6.3+14.g9b6a706.dirty-py3.6.egg/jnpr/junos/device.py", line 228, in timeout
self._conn.timeout = int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/schedule.py", line 843, in handle_func
ret["return"] = self.functions[func](*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 1241, in call
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2274, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3/dist-packages/contextvars/init.py", line 38, in run
return callable(*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2289, in _run_as
return _func_or_method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/modules/status.py", line 1805, in proxy_reconnect
is_alive = proxyproxy_keepalive_fn
File "/usr/lib/python3/dist-packages/salt/loader.py", line 1241, in call
