Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blt vm fails with vagrant 1.8.7 #654

Closed
benjifisher opened this issue Nov 11, 2016 · 3 comments
Closed

Blt vm fails with vagrant 1.8.7 #654

benjifisher opened this issue Nov 11, 2016 · 3 comments

Comments

@benjifisher
Copy link
Contributor

We are still investigating and will provide more details, including

  • Versions of OS X and BLT
  • Results of blt doctor
  • Full output of blt vm

The command blt vm fails on two of my coworkers' systems. I believe the problem is that vagrant uses the system libcurl. If this is too old, then vagrant fails to download the box.

On my system, the command succeeds:

  • OS X 10.12.1 (Sierra)
  • composer info acquia/blt reports versions : * 8.5.0.
  • vagrant --version reports 1.8.5 (not the latest)

and

$ /usr/bin/curl --version
curl 7.49.1 (x86_64-apple-darwin16.0) libcurl/7.49.1 SecureTransport zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets 

Possible work-arounds (need testing) are to download the box with either

vagrant box add --insecure geerlingguy/ubuntu1404

or downloading the box from http://files.midwesternmac.com/boxes/ubuntu1404/virtualbox-114.box and adding it with

vagrant box add --name geerlingguy/ubuntu1404 path/to/file.box

Possible resolutions of this issue include

  • Update the system requirements for BLT to require a minimum version of OS X.
  • Add a work-around to the Onboarding instructions (or adding a new "troubleshooting" page).
  • Update BLT so that it uses a fallback method when vagrant fails to download the box.
@benjifisher
Copy link
Contributor Author

It turns out that the issue was not the system version of libcurl but a bug in the latest version (1.8.7) of vagrant. See this post on StackOverflow.

I will update the issue title. I do not know whether you want to close the issue or keep it open for better visibility.

@benjifisher benjifisher changed the title Blt vm fails with old versions of openssl Blt vm fails with vagrant 1.8.7 Nov 11, 2016
@geerlingguy
Copy link
Contributor

See: geerlingguy/drupal-vm#981 (upstream issue in drupal-vm). And yes, it's a major bug in Vagrant 1.8.7. Hopefully 1.8.8 comes out soon... and doesn't introduce any other regressions :P

If you want to remain on Vagrant 1.8.7, see this workaround: hashicorp/vagrant#7969 (comment)

@grasmash
Copy link
Contributor

Thanks for posting. I'm closing since this is an upstream issue in Vagrant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants