fabric deploy problem

Posted by alexarsh on Stack Overflow See other posts from Stack Overflow or by alexarsh
Published on 2010-05-31T12:05:00Z Indexed on 2010/05/31 13:23 UTC
Read the original article Hit count: 548

Filed under:
|

Hi, I'm trying to deploy a django app with fabric and get the following error:

Alexs-MacBook:fabric alex$ fab config:instance=peergw deploy -H <ip> - 
u <username> -p <password> 

[192.168.2.93] run: cat /etc/issue 

Traceback (most recent call last): 

  File "build/bdist.macosx-10.6-universal/egg/fabric/main.py", line 

419, in main 

  File "/Users/alex/Rabota/server/mx30/scripts/fabric/fab/ 

commands.py", line 37, in deploy 

    checkup() 

  File "/Users/alex/Rabota/server/mx30/scripts/fabric/fab/ 

commands.py", line 140, in checkup 

    if not 'Ubuntu' in run('cat /etc/issue'): 

  File "build/bdist.macosx-10.6-universal/egg/fabric/network.py", line 

382, in host_prompting_wrapper 

  File "build/bdist.macosx-10.6-universal/egg/fabric/operations.py", 

line 414, in run 

  File "build/bdist.macosx-10.6-universal/egg/fabric/network.py", line 

65, in __getitem__ 

  File "build/bdist.macosx-10.6-universal/egg/fabric/network.py", line 

140, in connect 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/client.py", 

line 149, in load_system_host_keys 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/hostkeys.py", 

line 154, in load 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/hostkeys.py", 

line 66, in from_line 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/rsakey.py", 

line 61, in __init__ 

paramiko.SSHException: Invalid key 

Alexs-MacBook:fabric alex$ 

I can't connect to the server via ssh. What can be my problem?

Regards, Arshavski Alexander.

© Stack Overflow or respective owner

Related posts about django

Related posts about fabric

  • Windows Azure Learning Plan - Application Fabric

    as seen on SQL Blog - Search for 'SQL Blog'
    This is one in a series of posts on a Windows Azure Learning Plan. You can find the main post here. This one deals with the Application Fabric for Windows Azure. It serves three main purposes - Access Control, Caching, and as a Service Bus.   Overview and Training Overview… >>> More

  • fabric and svn password

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Assuming that I cannot run something like this with Fabric: run("svn update --password 'password' .") how's the proper way to pass to Fabric the password for the remote interactive command line? I am not sure, but the svn server we're using might have some restrictions to not allow --non-interactive… >>> More

  • Python Fabric error

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm running fabric (Django deployment to apache) and everything seems to work fine until I get to the task for installing the site: def install_site(): "Add the virtualhost file to apache" require('release', provided_by=[deploy, setup]) sudo('cd %(path)/releases/%(release)/%(release);… >>> More

  • How to set target hosts in Fabric file

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I want to use Fabric to deploy my web app code to development, staging and production servers. My fabfile: def deploy_2_dev(): deploy('dev') def deploy_2_staging(): deploy('staging') def deploy_2_prod(): deploy('prod') def deploy(server): print 'env.hosts:', env.hosts env.hosts = [server] … >>> More

  • fabric deploy problem

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Hi, I'm trying to deploy a django app with fabric and get the following error: Alexs-MacBook:fabric alex$ fab config:instance=peergw deploy -H <ip> - u <username> -p <password> [192.168.2.93] run: cat /etc/issue Traceback (most recent call last): File "build/bdist.macosx-10… >>> More