error: You specified a box version constraint with a direct box file path #1365
Comments
@bcwaldon, I haven't modify Vagrantfile. My Mac OS as follows: $ uname -a Then, I comment this line, run successfully. |
@jonboulle , I modified two lines: Size of the CoreOS cluster created by Vagrant#$num_instances=1 Official CoreOS channel from which updates should be downloaded#$update_channel='alpha' |
I'm seeing this behavior as well. Here are my
|
Same problem here I even tried adding the .box file manually and still can not get the boxes to install If uncomment |
Haha my bad If I comment out
In the vagrant file it works Also add that I updated to vagrant 1.6.5 and am still seeing the same problem |
@jonboulle Every single time I try to run vagrant up I run into this issue. It just hangs on the version line. I am running Mac OSX 10 10.9.5, Vagrant 1.6.5 dn5272oh:coreos-vagrant pwaters$ vagrant up |
Here is my config.rb
|
So I can actually force this to reproduce by munging the URL; for example, by setting an invalid $ fgrep update_channel config.rb
$update_channel='broken'
$ vagrant up
Bringing machine 'core-01' up with 'virtualbox' provider...
Bringing machine 'core-02' up with 'virtualbox' provider...
Bringing machine 'core-03' up with 'virtualbox' provider...
==> core-01: Box 'coreos-broken' could not be found. Attempting to find and install...
core-01: Box Provider: virtualbox
core-01: Box Version: >= 308.0.1
You specified a box version constraint with a direct box file
path. Box version constraints only work with boxes from Vagrant
Cloud or a custom box host. Please remove the version constraint
and try again. Can you confirm that
|
I add this line right after the box url was being dynamically set p config.vm.box_url It outputted a valid box url of http://stable.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json |
dn5272oh:coreos-vagrant pwaters$ curl http://stable.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json |
@pwaterz doh, I just realised vagrant does have a debugging mode (it's not listed in the help output). Could you please run |
|
It hasn't errored out yet, but it looks like it can't get to the url through curl |
Odd, it just started working |
Heisenbug.. |
It hangs for a longtime on trying to do the curl, then for some reason it worked this time....blasphemy |
config.rb:
user-data is just copied from user-data.sample. No changes. output from
output from
No heisenbug here. If I comment the
|
btw, using curl 7.38.0-2 |
@bhundven I'm stumped, clearly this is causing it to fail, but I have no idea why the curl is 404ing from within Vagrant, but working fine on the command line? This is completely consistent and repeatable, right? Do you get exactly the same behaviour if you try e.g.
|
@jonboulle I'm also stumped. It might be helpful to get @mitchellh to take a look at the debug output? Yes, I just confirmed I have the same issue with beta.
|
@jonboulle So, as @mitchellh said. Something wrong with coreos's web server? |
This isn't an issue with modern versions of coreos-vagrant as version handling done differently now |
Issue by hustcat
$ vagrant up
Bringing machine 'core-01' up with 'virtualbox' provider...
Bringing machine 'core-02' up with 'virtualbox' provider...
Bringing machine 'core-03' up with 'virtualbox' provider...
==> core-01: Box 'coreos-beta' could not be found. Attempting to find and install...
core-01: Box Provider: virtualbox
core-01: Box Version: >= 308.0.1
You specified a box version constraint with a direct box file
path. Box version constraints only work with boxes from Vagrant
Cloud or a custom box host. Please remove the version constraint
and try again.
what's wrong?
The text was updated successfully, but these errors were encountered: