I'm getting this error when I deploy to both staging and production environments which are two different servers.
$ fab update_staging:v0.043 [[email protected]] Executing task 'update_staging' [[email protected]] run: cd /var/myurl.com; git fetch origin Traceback (most recent call last): File "/Library/Python/2.7/site-packages/fabric/main.py", line 717, in main *args, **kwargs File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 299, in execute multiprocessing File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 198, in _execute return task.run(*args, **kwargs) File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 112, in run return self.wrapped(*args, **kwargs) File "/Library/Python/2.7/site-packages/fabric/decorators.py", line 47, in inner_decorator return func(*args, **kwargs) File ".../servertools/fabfile.py", line 31, in update_staging spupdate(tagname) File ".../servertools/fabfile.py", line 20, in spupdate run("cd /var/myurl.com; git fetch origin") File "/Library/Python/2.7/site-packages/fabric/network.py", line 463, in host_prompting_wrapper return func(*args, **kwargs) File "/Library/Python/2.7/site-packages/fabric/operations.py", line 909, in run return _run_command(command, shell, pty, combine_stderr) File "/Library/Python/2.7/site-packages/fabric/operations.py", line 819, in _run_command stdout, stderr, status = _execute(default_channel(), wrapped_command, pty, File "/Library/Python/2.7/site-packages/fabric/state.py", line 340, in default_channel chan = connections[env.host_string].get_transport().open_session() File "/Library/Python/2.7/site-packages/fabric/network.py", line 84, in __getitem__ self.connect(key) File "/Library/Python/2.7/site-packages/fabric/network.py", line 76, in connect self[key] = connect(user, host, port) File "/Library/Python/2.7/site-packages/fabric/network.py", line 265, in connect client.load_system_host_keys() File "/Library/Python/2.7/site-packages/ssh/client.py", line 152, in load_system_host_keys self._system_host_keys.load(filename) File "/Library/Python/2.7/site-packages/ssh/hostkeys.py", line 155, in load e = HostKeyEntry.from_line(line) File "/Library/Python/2.7/site-packages/ssh/hostkeys.py", line 67, in from_line key = RSAKey(data=base64.decodestring(key)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/base64.py", line 321, in decodestring return binascii.a2b_base64(s) binascii.Error: Incorrect padding There is also another member of the team who is using the script just fine. I assume this was just an authentication error but I am able to ssh into all the servers. I'm at a loss, any help would be much appreciated. Thanks
_______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
