But I am getting while downloading vagrant box
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'box-cutter/centos72' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'box-cutter/centos72' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, 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://vagrantcloud.com/box-cutter/centos72"]
Error: Could not resolve proxy: cdn.boxcutter.io
enter image description here
Related
I'm trying to import vagrant box using the following commands on Windows:
vagrant init generic/freebsd11
vagrant up
But I'm getting the following output:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'generic/freebsd11' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'generic/freebsd11' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
vagrant login. Also, please double-check the name. The expanded<br> URL and error message are shown below:`
URL: ["https://vagrantcloud.com/generic/freebsd11"]
Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation
function was unable to check revocation for the certificate.
Using Vagrant version 2.2.19
Windows 10 build 1809 x64
Virtualbox
C:\Users\shubham\myvagrant>vagrant up
Bringing machine 'sparkvm' up with 'virtualbox' provider...
==> sparkvm: Box 'sparkmooc/base2' could not be found. Attempting to find and in
stall...
sparkvm: Box Provider: virtualbox
sparkvm: Box Version: >= 0
==> sparkvm: Loading metadata for box 'sparkmooc/base2'
sparkvm: URL: https://atlas.hashicorp.com/sparkmooc/base2
The box 'sparkmooc/base2' 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/sparkmooc/base2
Error: Unknown SSL protocol error in connection to atlas.hashicorp.com:443
vagrant cannot download the box sparkmooc/base2 from atlas due to SSL issue. You can do the following
$ vagrant box add sparkmooc/base2 --insecure
$ vagrant up
I have installed Vagrant 1.8.1 on Windows 7. Following documentation, ran these commands:
vagrant init hashicorp/precise32
vagrant up
On vagrant init, Vagrantfile is being generated, but vagrant up is failing and I get following output:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise32' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'hashicorp/precise32' 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/hashicorp/precise32"]
Error:
Here is error from debug info:
URL: ["https://atlas.hashicorp.com/hashicorp/precise32"]
Error:
INFO interface: Machine: error-exit ["Vagrant::Errors::BoxAddShortNotFound", "The box 'hashicorp/precise32' could not be found or\ncould not be accessed in the remote catalog. If this is a private\nbox on HashiCorp's Atlas, please verify you're logged in via\nvagrant login. Also, please double-check the name. The expanded\nURL and error message are shown below:\n\nURL: [\"https://atlas.hashicorp.com/hashicorp/precise32\"]\nError: "]
I have also tried disabling antivirus, but no luck. Then I tried installation on different machine, on that machine also I am getting same error message.
it's answer to issue in vagrant repo helped for me https://github.com/mitchellh/vagrant/issues/6754
short: install http://www.microsoft.com/en-us/download/details.aspx?id=8328
I am getting "Could not resolve host" error while trying to create a vm using vagrant and VirtualBox. I followed the instruction from http://docs.vagrantup.com/v2/getting-started/
Executed the below 2 commands
vagrant init hashicorp/precise32
vagrant up
Below is the error message.
C:\Users\xyz123>vagrant up Bringing machine 'default' up with
'virtualbox' provider...
==> default: Box 'ubuntu/trusty32' could not be found. Attempting to find and in stall...
default: Box Provider: virtualbox
default: Box Version: >= 0 The box 'ubuntu/trusty32' 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/trusty32"] Error: Could not
resolve host: (nil); Host not found
All the help appreciated
Following commands fixed the problem for me with vagrant 1.7.2 on Mac
brew install curl
export DYLD_INSERT_LIBRARIES=
Uncomment below line in Vagrantfile..
config.vm.box_check_update = false
Source: https://github.com/mitchellh/vagrant/issues/3391
Setting up the proxy command worked for me
export https_proxy=http://username:password#proxy_ip:proxy_port
Then
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
default: URL: https://atlas.hashicorp.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v20170202.0.0) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20170202.0.0/providers/virtualbox.box
default: Progress: 8% (Rate: 302k/s, Estimated time remaining: 0:26:21)
You are calling a box inside a box you will you don't need to init again just vagrant up,you will need to start afresh
After running below commands getting a failure without proper error message:
$ vagrant init hashicorp/precise32
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise32' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/precise32'
default: URL: https://atlas.hashicorp.com/hashicorp/precise32
==> default: Adding box 'hashicorp/precise32' (v1.0.0) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/hashicorp/boxes/precise32/versions/1.0.0/providers/virtualbox.box
==> default: Box download is resuming from prior download progress
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Failed writing body (1576 != 7240)
By default vagrant downloads boxes(images) in home directory (~/.vagrant.d). If home has no enough space to store downloaded content you get this error.
To fix: setup default home to a different file system which has enough space
export VAGRANT_HOME=/data/vagrant/