[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] api.run: fatal errors versus exceptions
From: |
Robert Terhaar |
Subject: |
Re: [Fab-user] api.run: fatal errors versus exceptions |
Date: |
Thu, 19 Jan 2012 15:42:33 -0500 |
On Jan 19, 2012, at 3:24 PM, Paul Hoffman wrote:
> On Thu, Jan 19, 2012 at 11:16 AM, Jeff Forcier <address@hidden> wrote:
>> N.B. This only impacts *connection* failures and not *authentication*
>> errors (meaning passwords, bad host keys, etc.) Actual "wrong
>> password" errors should already allow you at least 3 tries to
>> re-enter, FWIW.
>
> I understand the design here, but it really doesn't work well for
> systems that are supposed to be automated with no user watching. In
> such cases, "cannot connect" and "cannot log in with the set of
> credentials given in the program" have exactly the same impact, and
> would hopefully be able to be treated the same. Fortunately, wrapping
> in try/except catches both anyway. But, please do consider making
> unattended programs using Fabric as useful as those where someone has
> the ability to type a different password.
>
> --Paul Hoffman
Another great feature I'm looking forward to in fab 1.4 is better SSH Agent
support(!!)
Side note:
For automated systems you should strongly consider using SSH keys instead of
passwords for SSH logins.
- [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/17
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/18
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/18
- Re: [Fab-user] api.run: fatal errors versus exceptions, Steve Hajducko, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions,
Robert Terhaar <=
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19