Kubernetes on Vagrant - Issue with requested provider

122 views
Skip to first unread message

Lachlan Gilmour

unread,
May 4, 2017, 8:06:14 PM5/4/17
to CoreOS User
I am following this tutorial ;
https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagrant.html

Seems very simple.. I left the provide as default ( docker)
but when running vargrant up I receive the following errors:

Bringing machine 'e1' up with 'libvirt' provider...
Bringing machine 'c1' up with 'libvirt' provider...
Bringing machine 'w1' up with 'libvirt' provider...
==> c1: Box 'coreos-alpha' could not be found. Attempting to find and install...
    c1: Box Provider: libvirt
    c1: Box Version: >= 1151.0.0
==> c1: Loading metadata for box 'http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json'
    c1: URL: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
==> e1: Box 'coreos-alpha' could not be found. Attempting to find and install...
    e1: Box Provider: libvirt
==> c1: An error occurred. The error will be shown after all tasks complete.
    e1: Box Version: >= 1151.0.0
==> e1: Loading metadata for box 'http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json'
    e1: URL: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
==> e1: An error occurred. The error will be shown after all tasks complete.
==> w1: Box 'coreos-alpha' could not be found. Attempting to find and install...
    w1: Box Provider: libvirt
    w1: Box Version: >= 1151.0.0
==> w1: Loading metadata for box 'http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json'
    w1: URL: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
==> w1: An error occurred. The error will be shown after all tasks complete.
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.

An error occurred while executing the action on the 'e1'
machine. Please handle this error then try again:

The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: coreos-alpha
Address: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
Requested provider: [:libvirt]

An error occurred while executing the action on the 'c1'
machine. Please handle this error then try again:

The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: coreos-alpha
Address: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
Requested provider: [:libvirt]

An error occurred while executing the action on the 'w1'
machine. Please handle this error then try again:

The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: coreos-alpha
Address: http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json
Requested provider: [:libvirt]



Looking at the .json I can see that it's requesting I use virtualbox as a provider..?

curl http://alpha.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json                   2159ms

{
  "name": "coreos-alpha",
  "description": "CoreOS alpha",
  "versions": [{
    "version": "1395.0.0",
    "providers": [{
      "name": "virtualbox",
      "url": "https://alpha.release.core-os.net/amd64-usr/1395.0.0/coreos_production_vagrant.box",
      "checksum_type": "sha256",
      "checksum": "ca40836c937c3f500baf4d20d0f4f37a09ec8ac3e54c0a6f747c6753cb0bf0a1"
    }]
  }]
}


Chance Zibolski

unread,
May 5, 2017, 7:22:39 PM5/5/17
to CoreOS User
You seem to be using Vagrant with the libvirt provider. You'll need to use Virtualbox or VMware, as CoreOS does not publish vagrant images for anything other than the two mentioned.
Reply all
Reply to author
Forward
0 new messages