vagrant --version returned -1073741701 in ChefDK

68 views
Skip to first unread message

Ivan Lee

unread,
Jul 25, 2017, 5:22:38 PM7/25/17
to Vagrant
Hello,

I am getting "vagrant --version returned -1073741701" in ChefDK v.2.0.28 and vagrant version 1.9.7

PS C:\Users\cheuklee\Documents\chef\cookbooks\adobe_es4> kitchen list
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ShellOut::ShellCommandFailed
>>>>>> Message: Expected process to exit with [0], but received '-1073741701'
---- Begin output of vagrant --version ----
STDOUT:
STDERR:
---- End output of vagrant --version ----
Ran vagrant --version returned -1073741701
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration



The vagrant -v command returns nothing in the ChefDK.

PS C:\Users\cheuklee\Documents\chef\cookbooks\adobe_es4> vagrant -v
PS C:\Users\cheuklee\Documents\chef\cookbooks\adobe_es4>


But, the vagrant command works fine in Windows PowerShell.

PS C:\Users\cheuklee\Documents\chef\cookbooks\adobe_es4> vagrant -v
Vagrant 1.9.7
PS C:\Users\cheuklee\Documents\chef\cookbooks\adobe_es4> kitchen list
Instance           Driver   Provisioner  Verifier  Transport  Last Action    Last Error
default-centos-73  Vagrant  ChefZero     Inspec    Ssh        <Not Created>  <None>


Any Clue?

Alvaro Miranda Aguilera

unread,
Jul 27, 2017, 12:50:54 AM7/27/17
to vagra...@googlegroups.com
Hello

What gappens if you use the fulll path to vagrant binary?

--
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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1820b70b-144a-4bfa-b39b-f36302c18fc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Ivan Lee

unread,
Jul 27, 2017, 2:18:35 AM7/27/17
to Vagrant
Hi, Thanks for replying. Full path no output either.

PS C:\WINDOWS\system32> C:\HashiCorp\Vagrant\bin\vagrant.exe -v
PS C:\WINDOWS\system32> echo $?
False 
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Alvaro

Alvaro Miranda Aguilera

unread,
Jul 27, 2017, 2:51:09 AM7/27/17
to vagra...@googlegroups.com
do you have anti virus there? try disable it for a bit.

if not, and you have a different windows computer, check the signature of the files, md5 or shasum


To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/0e711f37-edce-49d1-9068-72e347f27819%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages