You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python nssu_test.py
<Element rpc-reply at 0x7ff4f988a3c0>
<Element rpc-reply at 0x7ff4f983b0c0>
<Element rpc-reply at 0x7ff4f987d080>
<Element rpc-reply at 0x7ff4f8188380>
<Element rpc-reply at 0x7ff4f818b0c0>
host: 10.204.40.214, report: request-package-checks-pending-install rpc is not supported on given device
host: 10.204.40.214, report: NSSU: installing software ... please be patient ...
Traceback (most recent call last):
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/device.py", line 833, in execute
rpc_rsp_e = self._rpc_reply(
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/decorators.py", line 117, in wrapper
rsp = function(self, *args, **kwargs)
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/device.py", line 1473, in _rpc_reply
return self._conn.rpc(rpc_cmd_e, filter_xml)._NCElement__doc
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/ncclient-0.6.15-py3.10.egg/ncclient/manager.py", line 257, in execute
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/ncclient-0.6.15-py3.10.egg/ncclient/operations/third_party/juniper/rpc.py", line 52, in request
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/ncclient-0.6.15-py3.10.egg/ncclient/operations/rpc.py", line 381, in _request
ncclient.operations.errors.TimeoutExpiredError: ncclient timed out while waiting for an rpc reply.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/pyez_nssu_test1/nssu_test.py", line 21, in <module>
ok, msg = sw.install(package=pkg,
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/utils/sw.py", line 1004, in install
return self.pkgaddNSSU(remote_package, dev_timeout=timeout, **kwargs)
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/utils/sw.py", line 266, in pkgaddNSSU
rsp = self.rpc.request_package_nonstop_upgrade(
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/rpcmeta.py", line 363, in _exec_rpc
return self._junos.execute(rpc, **dec_args)
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/decorators.py", line 76, in wrapper
return function(*args, **kwargs)
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/decorators.py", line 23, in wrapper
result = function(*args, **kwargs)
File "/root/pyez_nssu_test1/venv/lib/python3.10/site-packages/junos_eznc-2.7.1+9.ga64698b2.dirty-py3.10.egg/jnpr/junos/device.py", line 847, in execute
raise EzErrors.RpcTimeoutError(self, rpc_cmd_e.tag, self.timeout)
jnpr.junos.exception.RpcTimeoutError: RpcTimeoutError(host: 10.204.40.214, cmd: request-package-nonstop-upgrade, timeout: 7500)
PyEZ connection times out after Master VC reboots as part of NSSU installation.
Sep 11 06:34:22 [NETCONF] - [20857] Outgoing: NOTICE: 'pending' set will be activated at next reboot...
Sep 11 06:34:31 [NETCONF] - [20857] Outgoing: </output>
Sep 11 06:34:31 [NETCONF] - [20857] Outgoing: <package-result>0</package-result>
Sep 11 06:34:31 [NETCONF] - [20857] Outgoing: <output>
Sep 11 06:34:31 [NETCONF] - [20857] Outgoing: failover links
Sep 11 06:34:31 [NETCONF] - [20857] Outgoing: </output>
client_loop: send disconnect: Broken pipe
ncclient.operations.errors.TimeoutExpiredError: ncclient timed out while waiting for an rpc reply.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: