On Thu, Feb 23, 2012 at 8:25 PM, Ivan Sergeyenko <[email protected]> wrote: > Hi Jeff, > > Yes, I am using agent forwarding and SSH remote. Switching to HTTPS > remote fixed the issue. Disabling forwarding and using local public > key with SSH remote works as well.
OK, thanks, so it may be a similar problem to what the other user experienced. If you have the time, could you enable the stdlib logging module in your fabfile, at level DEBUG, and send me a copy of the output from when you run it with forwarding on + SSH remote (i.e. the problem scenario)? It should spit out a bunch of 'ssh.<whatevs>' log lines. Best, Jeff > > Thanks, > Ivan > > On Thu, Feb 23, 2012 at 10:15 PM, Jeff Forcier <[email protected]> wrote: >> Hi Ivan >> >> On Thu, Feb 23, 2012 at 3:57 PM, Ivan Sergeyenko <[email protected]> wrote: >> >>> As far as I can tell, both commands are executed, but Fabric never >>> gets notified that they're done. Splitting the command into two "run" >>> statements fixes the issue: >> >>> I have tried this on multiple servers with different git repos, always >>> getting the same result. Needless to say, running the same command >>> manually on the server works fine. >> >> Do you have the new agent forwarding behavior enabled, and is the git >> remote in question SSH-based (vs https:// or git://)? I've heard one >> other report of odd/buggy behavior when running Git remotely + using >> agent forwarding, though that case was an SSHException being raised, >> not a hang, IIRC. >> >> If you're using agent forwarding and/or are using an SSH remote, you >> could try disabling it and using git:// or https:// for the git repo's >> remote URL, and see if the combo command still breaks. That might at >> least help narrow down what the problem is. >> >> Best, >> Jeff >> >> -- >> Jeff Forcier >> Unix sysadmin; Python/Ruby engineer >> http://bitprophet.org -- Jeff Forcier Unix sysadmin; Python/Ruby engineer http://bitprophet.org _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
