I'm in a new environment and trying to get a Fabric management host setup and
keep banging my head up against this:
<snip>
Traceback (most recent call last):
File "/opt/python27/lib/python2.7/site-packages/fabric/main.py", line 757, in
main
*args, **kwargs
File "/opt/python27/lib/python2.7/site-packages/fabric/tasks.py", line 386,
in execute
multiprocessing
File "/opt/python27/lib/python2.7/site-packages/fabric/tasks.py", line 276,
in _execute
return task.run(*args, **kwargs)
File "/opt/python27/lib/python2.7/site-packages/fabric/tasks.py", line 173,
in run
return self.wrapped(*args, **kwargs)
File "/root/fabstuff/fabfile.py", line 7, in checkpuppet
run('netstat -anp')
File "/opt/python27/lib/python2.7/site-packages/fabric/network.py", line 687,
in host_prompting_wrapper
return func(*args, **kwargs)
File "/opt/python27/lib/python2.7/site-packages/fabric/operations.py", line
1090, in run
shell_escape=shell_escape, capture_buffer_size=capture_buffer_size,
File "/opt/python27/lib/python2.7/site-packages/fabric/operations.py", line
930, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/opt/python27/lib/python2.7/site-packages/fabric/state.py", line 435,
in default_channel
chan = _open_session()
File "/opt/python27/lib/python2.7/site-packages/fabric/state.py", line 416,
in _open_session
transport = connections[env.host_string].get_transport()
File "/opt/python27/lib/python2.7/site-packages/fabric/network.py", line 159,
in __getitem__
self.connect(key)
File "/opt/python27/lib/python2.7/site-packages/fabric/network.py", line 151,
in connect
user, host, port, cache=self, seek_gateway=seek_gateway)
File "/opt/python27/lib/python2.7/site-packages/fabric/network.py", line 434,
in connect
client.load_system_host_keys()
File "/opt/python27/lib/python2.7/site-packages/paramiko/client.py", line
102, in load_system_host_keys
self._system_host_keys.load(filename)
File "/opt/python27/lib/python2.7/site-packages/paramiko/hostkeys.py", line
97, in load
e = HostKeyEntry.from_line(line, lineno)
File "/opt/python27/lib/python2.7/site-packages/paramiko/hostkeys.py", line
354, in from_line
key = RSAKey(data=decodebytes(key))
File "/opt/python27/lib/python2.7/site-packages/paramiko/rsakey.py", line 58,
in __init__
cert_type='[email protected]',
File "/opt/python27/lib/python2.7/site-packages/paramiko/pkey.py", line 394,
in _check_type_and_load_cert
type_ = msg.get_text()
File "/opt/python27/lib/python2.7/site-packages/paramiko/message.py", line
178, in get_text
return u(self.get_string())
File "/opt/python27/lib/python2.7/site-packages/paramiko/py3compat.py", line
55, in u
return s.decode(encoding)
File "/opt/python27/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 1: invalid
continuation byte
</snip>
I've used the hosts default python and then installed my own from source but
get the same error. I've gotta be missing something simple here. Can anyone
point me in the right direction?
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user