openSUSE / vagrant-ceph

Builds a cluster of servers using libvirt. Supports multiple configurations.
GNU Lesser General Public License v3.0
18 stars 22 forks source link

Can't add box as described in readme #45

Open hemna opened 5 years ago

hemna commented 5 years ago

vagrant box add --provider libvirt --name opensuse/Kubic-kubeadm-cri-o https://download.opensuse.org/repositories/devel:/kubic:/images/openSUSE_Tumbleweed/openSUSE-Tumbleweed-Kubic.x86_64-15.0-kubeadm-cri-o-Vagrant-x86_64-Build14.1.vagrant.libvirt.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

hemna commented 5 years ago

Also,

┌─[waboring@walt-dev2] - [~/devel/vagrant-ceph] - [Mon Jul 15, 12:40] └─[$] <git:(master)> vagrant box add boxes/openSUSE-13.2.x86_64-1.13.2.libvirt-Build21.39.json /usr/share/vagrant/plugins/commands/login/client.rb:8: warning: already initialized constant VagrantPlugins::LoginCommand::Client::APP /usr/lib64/ruby/gems/2.5.0/gems/vagrant-2.2.0/plugins/commands/login/client.rb:8: warning: previous definition of APP was here ==> box: Loading metadata for box 'boxes/openSUSE-13.2.x86_64-1.13.2.libvirt-Build21.39.json' box: URL: file:///home/waboring/devel/vagrant-ceph/boxes/openSUSE-13.2.x86_64-1.13.2.libvirt-Build21.39.json ==> box: Adding box 'openSUSE-13.2' (v1.13.2) for provider: libvirt box: Downloading: http://download.opensuse.org/repositories/home:/swiftgist/boxes/openSUSE-13.2.x86_64-1.13.2.libvirt-Build21.39.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

hemna commented 5 years ago

Also,

└─[$] <git:(master*)> BOX="openSUSE-13.2" vagrant up
Vagrant failed to initialize at a very early stage:

There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /home/waboring/devel/vagrant-ceph/Vagrantfile
Line number: 41
Message: RuntimeError: Box openSUSE-13.2 missing from config.yml
denisok commented 5 years ago

@hemna

  1. please read updated documentation for the Kubic images. You shouldn't download devel one's: https://en.opensuse.org/openSUSE:Ceph#Using_Rook_in_Vagrant_cluster
  2. I don't think 13.2 is supported anyway, we probably just should drop it. But if you need the box, you could just change the name to openSUSE one's and it would get it automatically from the vagrant cloud: https://app.vagrantup.com/opensuse/