# ansible testserver -m ping -vvvv: FAILED =\> SSH Error: debug1: Calling cleanup 0x8078582(0x0)

**URL:** <https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088>\
**Category:** Ansible Project\
**Created:** [April 26, 2015, 9:38am UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088 "2015-04-26T09:38:35Z")\
**Posts on this page:** 19\
**Page:** 3

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 4, 2015, 1:46pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/41 "2015-05-04T13:46:32Z")

</div>

VirtualBox

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 6, 2015, 5:51am UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/42 "2015-05-06T05:51:08Z")

</div>

Brain, I’ve made OpenIndiana Vagrant boxes available for you to ease the reproduction of the bug:

- [https://atlas.hashicorp.com/dusank](https://atlas.hashicorp.com/dusank)

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 6, 2015, 6:33pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/43 "2015-05-06T18:33:00Z")

</div>

Having issues with vagrant, the "vagrant init dusank/oi-desktop  
--provider virtualbox" suggested on the site returns as an 'invalid  
option'  
and trying to download the box directly gives me an 'unrecognized  
format' error. Probably a versions issue, looking into that.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 6, 2015, 6:46pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/44 "2015-05-06T18:46:57Z")

</div>

Just leave out the “–provider virtualbox” argument. It does not seem to work and virtualbox is the default provider anyhow.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 6, 2015, 6:50pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/45 "2015-05-06T18:50:54Z")

</div>

You just run the command, it creates a Vagrantfile, then you can run `vagrant up` which downloads the box if it is not cached already.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 6, 2015, 6:53pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/46 "2015-05-06T18:53:13Z")

</div>

if i do that it cannot find the box

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 6, 2015, 6:54pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/47 "2015-05-06T18:54:13Z")

</div>

if i add the full url i get the invalid format, not sure what is going on

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 6, 2015, 6:54pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/48 "2015-05-06T18:54:59Z")

</div>

is there a way for me to download the image directly, I will probably  
get it done faster than debugging vagrant.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 6, 2015, 7:02pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/49 "2015-05-06T19:02:51Z")

</div>

Simply running `vagrant init dusank/oi-server` or `vagrant init dusank/oi-desktop` works for me with Vagrant 1.7.2.

I am not aware of any other way to download the boxes.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 6, 2015, 7:15pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/50 "2015-05-06T19:15:42Z")

</div>

You can try downloading from [https://atlas.hashicorp.com/dusank/boxes/oi-server/versions/2015.05/providers/virtualbox.box](https://atlas.hashicorp.com/dusank/boxes/oi-server/versions/2015.05/providers/virtualbox.box) or [https://atlas.hashicorp.com/dusank/boxes/oi-desktop/versions/2015.05/providers/virtualbox.box](https://atlas.hashicorp.com/dusank/boxes/oi-desktop/versions/2015.05/providers/virtualbox.box) and then renaming/moving the hc-download file.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 7, 2015, 4:31pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/51 "2015-05-07T16:31:11Z")

</div>

Brian, have you been finally able to reproduce the bug?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 7, 2015, 4:31pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/52 "2015-05-07T16:31:56Z")

</div>

downloaded, but not tested, I have not had the time yet.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 8, 2015, 6:37pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/53 "2015-05-08T18:37:56Z")

</div>

Brian, when do you think you’ll find enough time to look into it?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 10, 2015, 8:56pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/54 "2015-05-10T20:56:19Z")

</div>

Ok, i think i found the issue, Sun ssh does not like control master,  
on my 'test machines' i had paramiko as the default connection.

I had made it part of my initialization at one point and completely  
forgot about it (hidden in my 'Solaris-family' ansible.cfg. So you  
can either override the ssh args in the ansible.cfg or just switch to  
using paramiko (I suggest the latter as it will perform better than  
Sun ssh).

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 11, 2015, 8:40am UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/55 "2015-05-11T08:40:58Z")

</div>

Thanks Brian, that is great news!

Does Ansible not use paramiko by default? At least that is how I understood the paramiko section here [http://docs.ansible.com/glossary.html](http://docs.ansible.com/glossary.html)

Can you please tell me what exactly I should put into ansible.cfg to make this switch to paramiko use happen?

=Dusan

---

<div class="post-metadata">

**Author:** ![Marcus\_Franke](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Marcus\_Franke](https://forum.ansible.com/u/Marcus_Franke)\
**Post date:** [May 11, 2015, 8:48am UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/56 "2015-05-11T08:48:54Z")

</div>

> Does Ansible not use paramiko by default? At least that is how I understood the paramiko section here [http://docs.ansible.com/glossary.html](http://docs.ansible.com/glossary.html)
> 
> Can you please tell me what exactly I should put into ansible.cfg to make this switch to paramiko use happen?

Hi Dusan,

have a look at the ssh (native) section on that page, ansible will use  
OpenSSH as default, when that one is “sufficiently new” as these  
support ControlMaster and ControlPersist settings. I guess paramiko does  
not support them.

Regards,  
Marcus

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 11, 2015, 8:58am UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/57 "2015-05-11T08:58:21Z")

</div>

Thanks Marcus, that clears things up for me. The documentation could be improved a bit on this, to at least reference the Connection Type section from the paramiko one to avoid confusion.

---

<div class="post-metadata">

**Author:** ![Dusan\_Kysel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@Dusan\_Kysel](https://forum.ansible.com/u/Dusan_Kysel)\
**Post date:** [May 11, 2015, 9:34am UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/58 "2015-05-11T09:34:14Z")

</div>

Can someone please point me to the manual page for the ansible command?

I figured out by way of guessing that adding “-c paramiko” does the trick (it finally works for me), yet I would still like to read the documentation on the command and somehow cant find it.

And last but not least many thanks to Brian for his time, patience and great support!

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 11, 2015, 1:30pm UTC](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088/59 "2015-05-11T13:30:15Z")

</div>

set transport = paramiko in ansible.cfg. The default 'smart' tries to  
use the local ssh if the version is new enough (does not factor Sun  
ssh in) and fallbacks on paramiko otherwise. I'll make a note to try  
to also use paramiko in the case of Sun ssh.

[Previous page](https://forum.ansible.com/t/ansible-testserver-m-ping-vvvv-failed-ssh-error-debug1-calling-cleanup-0x8078582-0x0/18088.md?page=2)
