Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

The requested URL returned error: 404 Not Found #2

Open
gretel opened this issue Feb 11, 2016 · 7 comments
Open

The requested URL returned error: 404 Not Found #2

gretel opened this issue Feb 11, 2016 · 7 comments

Comments

@gretel
Copy link

gretel commented Feb 11, 2016

trying to work on poise-monit, bundle exec kitchen converge gives me:

-----> Creating <default-centos-6>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Box 'opscode-centos-6' could not be found. Attempting to find and install...
           default: Box Provider: virtualbox
           default: Box Version: >= 0
       ==> default: Box file was not detected as metadata. Adding it directly...
       ==> default: Adding box 'opscode-centos-6' (v0) for provider: virtualbox
           default: Downloading: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6_chef-provisionerless.box
An error occurred while downloading the remote file. The error
       message, if any, is reproduced below. Please fix this error and try
       again.

       The requested URL returned error: 404 Not Found
@coderanger
Copy link
Member

I think your kitchen-vagrant is out of date. I don't actually use vagrant for my tests so I don't have a ton of experience with using it with my test harness but it's definitely something I want to support.

@gretel
Copy link
Author

gretel commented Feb 11, 2016

it's not.

@coderanger
Copy link
Member

Hmm, can you paste what the generated Vagrantfile looks like? From my reading of the code, it should just have the box set to bento/centos-6. Paging @cheeseplus too.

@gretel
Copy link
Author

gretel commented Feb 11, 2016

sure, ./poise-monit/.kitchen/kitchen-vagrant/kitchen-poise-monit-default-centos-6:

Vagrant.configure("2") do |c|
  c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
  c.vm.box = "opscode-centos-6"
  c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6_chef-provisionerless.box"
  c.vm.hostname = "default-centos-6"
  c.vm.synced_folder ".", "/vagrant", disabled: true
  c.vm.provider :virtualbox do |p|
  end
end

@coderanger
Copy link
Member

I derp, I was looking at kitchen-vagrant's master branch which is very different. Can you try running it from master?

@gretel
Copy link
Author

gretel commented Feb 11, 2016

not tonight i'm afraid.. i.e. https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4-i386_provisionerless.box seems to be just there. 6 is ancient, i'd say.

@coderanger
Copy link
Member

Seth confirmed that there aren't aliases in place for the "latest 6" or "latest 7". You can fix this locally by creating a .kitchen.local.yml file with:

platforms:
- name: ubuntu-12.04
- name: ubuntu-14.04
- name: centos-6.4
- name: centos-7.2

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

2 participants