fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] new install troubles


From: Honey, Jeff
Subject: Re: [Fab-user] new install troubles
Date: Tue, 31 Oct 2017 17:45:28 +0000

Well, I’ll be jiggered. That was it. Thanks Brandon!

 

Now that I look at the traceback again…it makes more sense. I should have looked further up in the trace.

 

 

From: Brandon Whaley [mailto:address@hidden
Sent: Tuesday, October 31, 2017 12:32
To: Honey, Jeff <address@hidden>
Cc: address@hidden
Subject: Re: [Fab-user] new install troubles

 

Hi Jeff, it sounds like you may have an invalid host key, possibly in your known hosts file?  Can you try moving your known_hosts file out of place temporarily and testing that you can reach out to a known good ssh server?

 

On Tue, Oct 31, 2017 at 12:17 PM Honey, Jeff <address@hidden> wrote:

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="">

  File "/opt/python27/lib/python2.7/site-packages/paramiko/rsakey.py", line 58, in __init__

    cert_type='address@hidden',

  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
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]