Ansible has stopped working for me

65 views
Skip to first unread message

Mike Johnston

unread,
Apr 11, 2017, 7:11:35 PM4/11/17
to Ansible Project
I'm having an issue that I cannot google my way out of for some reason.  I had Ansible working just fine on all my systems but I hadn't used it in a while.  I went back to push some changes recently and now I cannot push anything...I can't even 'ansible ping' anything.  I can manually SSH into each host with just my ssh keys with no issue, but when I run my playbook I get a "unreachable": true error message.  Below is the ouput and I receive this output on any ansible playbook I run.   I've also tested this from another system with the same result, so it must be a node configuration issue or something.  Any direction would be appreciated.

################
[mijohnst@server1]# ansible all -m ping --ask-pass

server1 | UNREACHABLE! => {
   "changed": false,
   "msg": "Failed to connect to the host via ssh: \nmuxserver_listen bind(): Permission denied\r\n",
   "unreachable": true
}
################

Brian Coca

unread,
Apr 11, 2017, 9:36:13 PM4/11/17
to Ansible Project
run with -vvv and see the full ssh command, try to run that manually
and debug the issue from there.


----------
Brian Coca

Mike Johnston

unread,
Apr 12, 2017, 3:58:06 PM4/12/17
to Ansible Project
When I run that command with -vvv I receive the exact same output. 

If you're asking to ping manually, that works.  Using SSH into the client works too.

Greg DeKoenigsberg

unread,
Apr 12, 2017, 4:00:17 PM4/12/17
to Ansible Project
On Tue, Apr 11, 2017 at 12:53 PM, Mike Johnston <mijo...@gmail.com> wrote:
> I'm having an issue that I cannot google my way out of for some reason. I
> had Ansible working just fine on all my systems but I hadn't used it in a
> while. I went back to push some changes recently and now I cannot push
> anything...I can't even 'ansible ping' anything. I can manually SSH into
> each host with just my ssh keys with no issue, but when I run my playbook I
> get a "unreachable": true error message. Below is the ouput and I receive
> this output on any ansible playbook I run. I've also tested this from
> another system with the same result, so it must be a node configuration
> issue or something. Any direction would be appreciated.

How long is "a while"? :)

Maybe a more precise question is "what version of Ansible are you using?"

--g

> ################
> [mijohnst@server1]# ansible all -m ping --ask-pass
>
> server1 | UNREACHABLE! => {
> "changed": false,
> "msg": "Failed to connect to the host via ssh: \nmuxserver_listen bind():
> Permission denied\r\n",
> "unreachable": true
> }
> ################
>
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/7b590fdd-78da-4bd0-85bf-e1c86218c6f0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Greg DeKoenigsberg
Ansible Community Guy

Stephen John Smoogen

unread,
Apr 12, 2017, 5:12:26 PM4/12/17
to ansible...@googlegroups.com
On 12 April 2017 at 15:58, Mike Johnston <mijo...@gmail.com> wrote:
> When I run that command with -vvv I receive the exact same output.
>
> If you're asking to ping manually, that works. Using SSH into the client
> works too.
>

Could you supply the following information:
1. OS of the system you are running the command from
2. The version of the OS/kernel
3. The version of ansible you are running.

The nmuxserver_listen bind() error usually comes from the OS/kernel
'shutting' off access to the software. This can come from
apparmor/selinux/macos antivirus etc. There can be other problems..
but those were the ones I remember the most coming up.


> On Tuesday, April 11, 2017 at 8:36:13 PM UTC-5, Brian Coca wrote:
>>
>> run with -vvv and see the full ssh command, try to run that manually
>> and debug the issue from there.
>>
>>
>> ----------
>> Brian Coca
>
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/345acd6c-4409-448a-bf23-87cbfd1d019d%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Stephen J Smoogen.

Brian Coca

unread,
Apr 12, 2017, 5:18:09 PM4/12/17
to Ansible Project
If -vvv gives you the exact same output, there is something really
wrong with your version of Ansible.

----------
Brian Coca

Mike Johnston

unread,
Apr 12, 2017, 6:54:37 PM4/12/17
to Ansible Project
About a month is what I would say that it was working and now it's not.  I'm using 2.2.1.0. 

I've sold my issue...sort off...although I don't know what caused it.  My home directory is on a gluster file system and that has been updated in the past month.  When I moved it over to a regular NFS system it all started working again.  I guess it's a gluster bug.  :/

Mike Johnston

unread,
Apr 12, 2017, 6:55:50 PM4/12/17
to Ansible Project
Solved I mean...
Reply all
Reply to author
Forward
0 new messages