Thank you very much Alvaro!

Your debug solution did work and now Vagrant up is working.

Short story- After setting path of Git in environment variable 'Path', the
issue got resolved.

Long story:
So, after setting the mode to debug level, I was able to see following
during 'Vagrant Up' execution:
======
 INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error
occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this
library are caused by ssh-agent issues. Try disabling your SSH
agent or removing some keys and try again.
======

then, I ran 'Vagrant ssh' command, its output showed:
======
ERROR warden: Error occurred: `ssh` executable not found in any directories
in the %PATH% variable. Is an
SSH client installed? Try installing Cygwin, MinGW or Git, all of which
contain an SSH client. Or use your favorite SSH client with the following
authentication information shown below:

Host: 127.0.0.1
Port: 2222
Username: vagrant
Private key: C:/Users/Rohit.Kohli/.vagrant.d/insecure_private_key
....
......
======

I checked my computers environment variable-Path and did find path of some
of the ssh tools I had installed on my computer. Then I checked Path
variable for another guy in my team and found that path for Git was also
set. And after setting Git, 'Vagrant Up' started working.


On Wed, May 11, 2016 at 2:56 AM, Alvaro Miranda Aguilera <[email protected]>
wrote:

> in cmd.exe
>
> set VAGRANT_LOG=debug
>
> in bash
> export VAGRANT_LOG=debug
>
> then
>
> vagrant up
>
>
> alvaro.
>
> On Wed, May 11, 2016 at 2:56 AM, Rohit Kohli <[email protected]>
> wrote:
>
>> So I tried as suggested but nothing extra showed up in output, it failed
>> with same error output as originally posted.
>>
>> I checked vagrant up -h but did not find any command to make vagrant up
>> command run in debug mode. Is there any other way to get output in debug
>> mode?
>>
>> Thanks,
>> Rohit
>>
>> On Tue, May 10, 2016 at 10:04 AM, Alvaro Miranda Aguilera <
>> [email protected]> wrote:
>>
>>>
>>> On Tue, May 10, 2016 at 4:26 PM, Rohit Kohli <[email protected]>
>>> wrote:
>>>
>>>> The problem is that I need to use Test Kitchen along with vagrant and
>>>> when test kitchen tries to create a VM through Vagrant it fails with same
>>>> error.
>>>
>>>
>>>
>>> Just to confirm, without test kitchen, hashicorp/precise32 works ?
>>>
>>> If doesnt can you share this output
>>>
>>> for cmd.exr
>>>
>>> vagrant halt
>>> set VAGRANT_LOG=debug
>>> vagrant up
>>>
>>> And share a gist with the generated output
>>>
>>> Thanks
>>> alvaro.
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>>> IRC: #vagrant on Freenode
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Vagrant" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/vagrant-up/QedGb_ihl-Y/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew1%3DGcdnKRMSyNSqTo0umdeShsLKNSV7sG2Tv3buv8M1w%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew1%3DGcdnKRMSyNSqTo0umdeShsLKNSV7sG2Tv3buv8M1w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>> IRC: #vagrant on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Vagrant" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/vagrant-up/CADu1NvyKWVycxxCyozdCENg5hXg%2BwfDMJcdqHQCLi6eXTEP9tA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/vagrant-up/CADu1NvyKWVycxxCyozdCENg5hXg%2BwfDMJcdqHQCLi6eXTEP9tA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vagrant-up/QedGb_ihl-Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewuesY%2B%2BPJvXibCZnkVeJAAqh342VRSxNtOpf%3DyoaHKDw%40mail.gmail.com
> <https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewuesY%2B%2BPJvXibCZnkVeJAAqh342VRSxNtOpf%3DyoaHKDw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CADu1NvwL5Om%3D-DQ_mTwkm94v3tXTsAdyLrRTynLYkK%3DwaLz3zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to