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

"Vagrant up" on macOS returns empty error output #8039

Closed
fcarran opened this issue Nov 27, 2016 · 8 comments
Closed

"Vagrant up" on macOS returns empty error output #8039

fcarran opened this issue Nov 27, 2016 · 8 comments

Comments

@fcarran
Copy link

fcarran commented Nov 27, 2016

Vagrant version

Installed Version: 1.8.7
Latest Version: 1.8.7

Host operating system

MacOS 10.12.1

Guest operating system

ubuntu/trusty64
nrel/CentOS-6.5-x86_64

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|

  config.vm.define "acs" do |acs|
    acs.vm.box = "ubuntu/trusty64"
    acs.vm.hostname = "acs"
    acs.vm.network "private_network", ip: "192.168.33.10"
  end

  config.vm.define "web" do |web|
    web.vm.box = "nrel/CentOS-6.5-x86_64"
    web.vm.hostname = "web"
    web.vm.network "private_network", ip: "192.168.33.20"
    web.vm.network "forwarded_port", guest: 80, host: 8080
  end

  config.vm.define "db" do |db|
    db.vm.box = "nrel/CentOS-6.5-x86_64"
    db.vm.hostname = "db"
    db.vm.network "private_network", ip: "192.168.33.30"
  end
end

Expected behavior

Running "vagrant up", I expected for these 3 boxes to come up.

Actual behavior

Received the following output

Bringing machine 'acs' up with 'virtualbox' provider...
Bringing machine 'web' up with 'virtualbox' provider...
Bringing machine 'db' up with 'virtualbox' provider...
==> acs: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    acs: Box Provider: virtualbox
    acs: Box Version: >= 0
The box 'ubuntu/trusty64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/ubuntu/trusty64"]
Error:

I was unable to find another issue opened about this issue with macOS.
Please let me know if I can assist with debugging further.

@ijaureguialzo
Copy link

I was having the same problem with new box downloads and updates, downgraded to 1.8.6 and it's working again.

@isabanin
Copy link

isabanin commented Nov 28, 2016

Same issue here with centos/7 box and Vagrant 1.8.7:

$ vagrant init centos/7
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
$ vagrant up --provider virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'centos/7' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'centos/7' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/centos/7"]
Error: 

@fcarran
Copy link
Author

fcarran commented Nov 28, 2016

Thanks for the tips.
Got around the issue as ijaureguialzo pointed out. I uninstalled using the recommended method (left my Vagrantfile as it was) and downloaded 1.8.6 from here: https://releases.hashicorp.com/vagrant/1.8.6/
I ran the installation, noticed that version still shows 1.8.7, but now running "vagrant up" works.
Hope this helps.

@fhenri
Copy link

fhenri commented Nov 28, 2016

check #7969

@hagay3
Copy link

hagay3 commented Nov 28, 2016

Seems like embedded curl is the issue , just remove it
sudo rm -rf /opt/vagrant/embedded/bin/curl

@uhlissuh
Copy link

downgraded to 1.8.6 and it's working again.

This worked for me too.

@chrisroberts
Copy link
Member

Closing as dup of #7969

@ghost
Copy link

ghost commented Apr 3, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants