Red Hat Bugzilla – Bug 1272226
ansible step unreliable
Last modified: 2016-01-12 11:13:59 EST
I don't think we have enough information to reproduce this. I feel like we can require network connectivity for ansible to work. Please reopen this if you see it again and know a way to reproduce it.
At the moment I'm total ansible newbie and don't have time to debug it. But I see it capable of failing early on some errors and retry operations. Hoped somebody that knows our setup will be able to make more reliable the setup steps. Setup of 3 instances takes ~ 50 minutes normally, sometimes longer. It's normal that during this period network glitches can happen. It saves a lot of time when environemt setup is reliable.
Anyway, leaving like that for the time being unless somebody can chime in.
It looks like it could be a sshd configuration problem. I wouldn't expected it to failed randomly though. Maybe try the suggestion here:
In any case, I don't think this will have anything to do with our playbook. Could you report your ansible version?
I'm going to reopen this. I don't think it's a release blocker though. If anything, we'll work with Ansible to get this fixed. :)
I don't think it is configuration issue as repeating same thing again just worked (running against newly launched openstack instances so they are always in clean state before ansible).
I think it was a network glitch or who knows what.
The only fact is that file transfer failed and ansible didn't immediately stop, it didn't retry either (as far as I can tell).
I *thought* it can be made more reliably by tuning the steps we do. As I said, can't help right now unfortunately.
So feel free to handle as you see fit. I'm just starting with frequent env creation so I guess after a few weeks I'd have some statistics. Definitely not a release blocker!