-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Due to the outdated Python fabric library on Ubuntu Trusty, the following error occurs when trying to deploy to the beaglebones (which are now running Xenial):
Traceback (most recent call last):
File "/usr/local/bin/deploy.py", line 9, in <module>
load_entry_point('assisipy==0.15.0', 'console_scripts', 'deploy.py')()
File "/usr/local/lib/python2.7/dist-packages/assisipy/deploy.py", line 278, in main
project.deploy(args.layer, args.allow_partial)
File "/usr/local/lib/python2.7/dist-packages/assisipy/deploy.py", line 248, in deploy
run('mkdir -p ' + destdir)
File "/usr/lib/python2.7/dist-packages/fabric/network.py", line 639, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/fabric/operations.py", line 1042, in run
shell_escape=shell_escape)
File "/usr/lib/python2.7/dist-packages/fabric/operations.py", line 909, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/lib/python2.7/dist-packages/fabric/state.py", line 388, in default_channel
chan = _open_session()
File "/usr/lib/python2.7/dist-packages/fabric/state.py", line 380, in _open_session
return connections[env.host_string].get_transport().open_session()
File "/usr/lib/python2.7/dist-packages/fabric/network.py", line 151, in __getitem__
self.connect(key)
File "/usr/lib/python2.7/dist-packages/fabric/network.py", line 143, in connect
self[key] = connect(user, host, port, cache=self)
File "/usr/lib/python2.7/dist-packages/fabric/network.py", line 490, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: Incompatible ssh peer (no acceptable kex algorithm)
This workaround on the Beaglebones is a temporary fix.
The long term solution is to migrate completely to Ubuntu 16.04 and Python3.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels