Hey all, one additional update. We've identified a potential issue for some users when using the new pipelined connection, which is the fact that commands run through sudo require that requiretty be disabled in sudoers. To prevent this from causing issues for some users, we've added a new configuration option: pipelining = True|False in ansible.cfg under the [ssh_connection] section, or ANSIBLE_SSH_PIPELINING as an environment variable.
We've also updated the original blog post to reflect this change: http://blog.ansibleworks.com/2014/01/15/ssh-connection-upgrades-coming-in-ansible-1-5/ Thanks! On Thu, Jan 16, 2014 at 10:21 AM, James Cammarata < [email protected]> wrote: > We've gone ahead and reverted the new paramiko pipelining changes as they > were causing some issues with sudo commands. This code has been moved back > to paramiko_alt, so people can continue to test with it as we look into the > issues. > > Thanks! > > > On Wed, Jan 15, 2014 at 4:21 PM, Michael DeHaan > <[email protected]>wrote: > >> Thanks James >> >> Quick update for clarification, we plan to remove the "_old" before >> launch of 1.5. >> >> So, it's there in case anyone yells before we can fix anything should >> those happen, basically :) >> >> >> >> On Wed, Jan 15, 2014 at 5:11 PM, James Cammarata < >> [email protected]> wrote: >> >>> Hi all, just wanted to let you know that the ssh_alt connection type is >>> now live in the development branch simply as "ssh". The previous SSH >>> implementation is still available as >>> "-c ssh_old", just in case anyone runs into any issues with the new >>> code. We've also added the same pipelining capability to the paramiko >>> connection type, as it showed a 5-10% benefit in some basic testing. The >>> previous paramiko connection is also available as paramiko_old. >>> >>> For those who may have missed some of the prior discussion on this, >>> please see the following blog post for details: >>> >>> >>> http://blog.ansibleworks.com/2014/01/15/ssh-connection-upgrades-coming-in-ansible-1-5/ >>> >>> Once again, thanks to Jerome for his incredible work here, and please >>> let us know if you run into any issues with the new connections. >>> >>> Thanks! >>> >>> -- >>> >>> James Cammarata <[email protected]> >>> Sr. Software Engineer, AnsibleWorks, Inc. >>> http://www.ansibleworks.com/ >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Michael DeHaan <[email protected]> >> CTO, AnsibleWorks, Inc. >> http://www.ansibleworks.com/ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > > James Cammarata <[email protected]> > Sr. Software Engineer, AnsibleWorks, Inc. > http://www.ansibleworks.com/ > -- James Cammarata <[email protected]> Sr. Software Engineer, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
