Kevin Fenzi wrote:
On Wed, 15 Oct 2014 16:07:42 -0700 Michael DeHaan <[email protected]> wrote:

"I think this is a bug, has anyone tested this ?"

Sounds like this should be reported with RHEL, definitely.

Please do and post the bugzilla here if you can.

While we could add special code to say "don't try CP on EL6 if ssh says it CAN CP" it seems shipping the feature broken would have been detected by them.

I ran into this as well, but haven't had too much time to isolate it.

However, I did find that controlpersist works with ansible, but if you enable pipelining, then it hangs on the first connection.

So, perhaps there's a issue around pipelining?

With pipelining = True commented out on el6, things still fail for me on the first run. They do fail with a different error, but perhaps that's just due to slightly different code paths with pipelining on and off, I haven't looked at the ansible code at all.

In case it matters, I adjusted the control_path variable to avoid using ~/.ansible since $HOME is on NFS in my environment.

With pipelining disabled:

$ ansible web -m ping -o
...
web12 | FAILED => failed to resolve remote temporary directory from 
/var/tmp/ansible-tmp-1413420275.15-6744099385111: `mkdir -p 
/var/tmp/ansible-tmp-1413420275.15-6744099385111 && chmod a+rx 
/var/tmp/ansible-tmp-1413420275.15-6744099385111 && echo 
/var/tmp/ansible-tmp-1413420275.15-6744099385111` returned empty string

With pipelining enabled:

$ ansible web -m ping -o
...
web12 | FAILED >> {"failed": true, "msg": "", "parsed": false}

This is still using openssh-5.3p1-100.el6.x86_64 which was a scratch build that Petr made per RHBZ #953088. I have not checked whether there are any differences in the -104 packages included in the latest RHEL updates (and they haven't made it to my CentOS mirror yet).

This is also with ansible-1.6.10-1.el6 from EPEL. I have not yet updated to 1.7.x (I see 1.7.2-1 is in epel-testing now, so I'll prbably wait for that to hit stable).

HTH,

--
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Until you spread your wings, you'll have no idea how far you can walk.
   -- Demotivators (www.despair.com)

Attachment: pgp6EhrqK9ksW.pgp
Description: PGP signature

Reply via email to