Coder Social home page Coder Social logo

vagrant-hp's Introduction

Vagrant HP Provider

Gem Version Dependency Status Code Climate Build Status Coverage Status

This is a Vagrant 1.1+ plugin that adds an HP provider to Vagrant, allowing Vagrant to control and provision machines on HP Cloud.

NOTE: This plugin requires Vagrant 1.1+,

Features

  • Boot Servers on HP Cloud
  • Auto Floating-IP management
  • SSH into the instances.
  • Provision the instances with any built-in Vagrant provisioner.
  • Minimal synced folder support via rsync.

Usage

Install using standard Vagrant 1.1+ plugin installation methods. After installing, vagrant up and specify the hp provider. An example is shown below.

$ vagrant plugin install vagrant-hp
...
$ vagrant up --provider=hp
...

Of course prior to doing this, you'll need to obtain an HP-compatible box file for Vagrant.

Quick Start

After installing the plugin (instructions above), the quickest way to get started is to actually use a dummy HP box and specify all the details manually within a config.vm.provider block. So first, add the dummy box using any name you want:

$ vagrant box add dummy https://github.com/mohitsethi/vagrant-hp/raw/master/dummy_hp.box
...

And then make a Vagrantfile that looks like the following, filling in your information where necessary.

Vagrant.configure("2") do |config|
  config.vm.box = "dummy"

  config.vm.provider :hp do |rs|
    rs.access_key  = "<hp_access_key>"
    rs.secret_key = "<hp_secret_key>"
    rs.flavor   = "standard.xsmall"
    rs.tenant_id = "<hp_tenant_id>"
    rs.server_name = "<server_name>"
    rs.image    = "Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b)"
    rs.keypair_name = "<your_key_pair_name_on_hpcloud>"
    rs.ssh_private_key_path = "<private_key_location>"
    rs.ssh_username = "<ssh_username>"
    rs.availability_zone = "az1"
    # Security Groups defaults to ["default"]
    # rs.security_groups = ["group1", "group2"]
    rs.floating_ip ="33.33.33.10" # Optional
    rs.network = ["830744ee-38a8-4618-a1eb-7c06fcsdf78", "Test_Network"] # Optional
  end
end

And then run vagrant up --provider=hp.

This will start an Ubuntu 12.04 instance in the az1 availability zone within your HP Cloud account. And assuming your SSH information was filled in properly within your Vagrantfile, SSH and provisioning will work as well.

Note that normally a lot of this boilerplate is encoded within the box file, but the box file used for the quick start, the "dummy" box, has no preconfigured defaults.

Box Format

Every provider in Vagrant must introduce a custom box format. This provider introduces hp boxes. You can view an example box in the example_box/ directory. That directory also contains instructions on how to build a box.

The box format is basically just the required metadata.json file along with a Vagrantfile that does default settings for the provider-specific configuration for this provider.

Configuration

This provider exposes quite a few provider-specific configuration options:

  • access_key - The access key for accessing HP Cloud
  • image - The Image-id or Image-Name to boot, such as "Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b)"
  • availability_zone - The availability zone to launch the server ['us-east', 'us-west']. If nil, it will use 'us-west'.
  • flavor - The type of flavor, such as "standard.xsmall"
  • keypair_name - The name of the keypair to use to bootstrap image which support it.
  • secret_key - The secret access key for accessing HP Cloud.
  • ssh_private_key_path - The path to the SSH private key. This overrides config.ssh.private_key_path.
  • ssh_username - The SSH username, which overrides config.ssh.username.
  • server_name - The name of the server provisioned on HP Cloud.
  • tenant_id - The tenant_id to launch the server.
  • security_groups - An array of strings defining the security groups in which this VM is included.

These can be set like typical provider-specific configuration:

Vagrant.configure("2") do |config|
  # ... other stuff

  config.vm.provider :hp do |rs|
    rs.access_key  = "<hp_access_key>"
    rs.secret_key = "<hp_secret_key>"
    rs.flavor   = "standard.xsmall"
    rs.tenant_id = "<hp_tenant_id>"
    rs.server_name = "<server_name>"
    rs.image    = "Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b)"
    rs.keypair_name = "<your_key_pair_name_on_hpcloud>"
    rs.ssh_private_key_path = "<private_key_location>"
    rs.ssh_username = "<ssh_username>"
    rs.availability_zone = "az1"
    # Security Groups defaults to ["default"]
    # rs.security_groups = ["group1", "group2"]
    rs.floating_ip ="33.33.33.10" # Optional
    rs.network = ["830744ee-38a8-4618-a1eb-7c06fcsdf78", "Test_Network"] # Optional
  end

end

Networks

Networking features in the form of config.vm.network are not supported with vagrant-hp, currently. If any of these are specified, Vagrant will emit a warning, but will otherwise boot the HP machine.

Synced Folders

There is minimal support for synced folders. Upon vagrant up, vagrant reload, and vagrant provision, the HP provider will use rsync (if available) to uni-directionally sync the folder to the remote machine over SSH.

This is good enough for all built-in Vagrant provisioners (shell, chef, and puppet) to work!

Development

To work on the vagrant-hp plugin, clone this repository out, and use Bundler to get the dependencies:

$ bundle

Once you have the dependencies, verify the unit tests pass with rake:

$ bundle exec rake

If those pass, you're ready to start developing the plugin. You can test the plugin without installing it into your Vagrant environment by just creating a Vagrantfile in the top level of this directory (it is gitignored) that uses it, and uses bundler to execute Vagrant:

$ bundle exec vagrant up --provider=hp

License and Author

Author:: Mohit Sethi [email protected] endorse

Copyright:: 2014, Mohit Sethi

vagrant-hp's People

Contributors

mohitsethi avatar leonardoeloy avatar manishsethi avatar

Stargazers

 avatar Ingy döt Net avatar Jose Adan Ortiz avatar Christopher Voltz avatar Chris Cornutt avatar Hiroshi Miura avatar Tim Kuhlman avatar  avatar Nick Tan avatar Matt Butcher avatar Rupak Ganguly avatar  avatar  avatar

Watchers

Dave Burchell avatar James Cloos avatar  avatar  avatar Jeff Dutton avatar

vagrant-hp's Issues

availability_zone option broken

Using the following provider config results in machines being spun up on the US-West availability zone:

config.vm.provider :hp do |rs|
rs.access_key = "###"
rs.secret_key = "###"
rs.tenant_id = "###"
rs.image = "..."
rs.keypair_name = "..."
rs.ssh_private_key_path = "..."
rs.ssh_username = "..."
rs.availability_zone = "us-east"
rs.security_groups = ["default"]
end

Also, in your documentation you specify 'us-west' and 'us-east' as valid options while also referencing 'az1' as a valid entry elsewhere, which is correct..?

Reopened : uninitialized constant Vagrant::VM

Was unable to reopen #10 so I've created this issue.

Steps to reproduce:
vagrant plugin install vagrant-aws
vagrant plugin install vagrant-hp
vagrant global-status

Result:

Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

uninitialized constant Vagrant::VM

Invalid key_name provided.

I'm not sure if this this the best place for my issue but i'm using vagrant 1.4.3 (i was unable to install this plugin on v1.3.5 so i upgraded to latest yesterday). Now reading all info on this project i can find I still get 400 response every time with message "Invalid key_name provided."

Using the following provider block
config.vm.provider :hp do |rs|
rs.access_key = -omitted-
rs.secret_key = -omitted-
rs.flavor = "standard.small"
rs.tenant_id = -omitted-
rs.server_name = "vagrant_test"
rs.image = "Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b)"
rs.keypair_name = "PlatformD"
rs.key_name = "PlatformD" #test - no change if included or not
rs.ssh_private_key_path = "~/.ssh/"
rs.ssh_username = "ubuntu"
rs.availability_zone = "az1"
# Security Groups defaults to ["default"]
# rs.security_groups = ["group1", "group2"]
end

on the dummy vagrant box

$ vagrant up --provider=hp
Bringing machine 'default' up with 'hp' provider...
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1
[default] Warning! The HP provider doesn't support any of the Vagrant
high-level network configurations (config.vm.network). They
will be silently ignored.
[default] Finding flavor for server...
[default] Finding image for server...
[default] Launching a server with the following settings...
[default] -- Flavor: standard.small
[default] -- Image: Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b)
[default] -- Name: vagrant_test
/home/gimballock/.vagrant.d/gems/gems/excon-0.25.3/lib/excon/middlewares/expects.rb:6:in response_call': Expected(202) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest) response => #<Excon::Response:0x000000042d9840 @data={:body=>"{\"badRequest\": {\"message\": \"Invalid key_name provided.\", \"code\": 400}}", :headers=>{"nnCoection"=>"close", "Content-Length"=>"70", "Content-Type"=>"application/json; charset=UTF-8", "Date"=>"Thu, 16 Jan 2014 20:48:33 GMT"}, :status=>400, :remote_ip=>"168.87.243.141"}, @body="{\"badRequest\": {\"message\": \"Invalid key_name provided.\", \"code\": 400}}", @headers={"nnCoection"=>"close", "Content-Length"=>"70", "Content-Type"=>"application/json; charset=UTF-8", "Date"=>"Thu, 16 Jan 2014 20:48:33 GMT"}, @status=400, @remote_ip="168.87.243.141"> from /home/gimballock/.vagrant.d/gems/gems/excon-0.25.3/lib/excon/middlewares/response_parser.rb:8:inresponse_call'
from /home/gimballock/.vagrant.d/gems/gems/excon-0.25.3/lib/excon/connection.rb:349:in response' from /home/gimballock/.vagrant.d/gems/gems/excon-0.25.3/lib/excon/connection.rb:247:inrequest'
from /home/gimballock/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/core/connection.rb:57:in request' from /home/gimballock/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/core/deprecated/connection.rb:20:inrequest'
from /home/gimballock/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/hp/compute.rb:227:in request' from /home/gimballock/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/hp/requests/compute/create_server.rb:94:increate_server'
from /home/gimballock/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/hp/models/compute/server.rb:239:in save' from /home/gimballock/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/core/collection.rb:52:increate'
from /home/gimballock/.vagrant.d/gems/gems/vagrant-hp-0.1.2/lib/vagrant-hp/action/create_server.rb:58:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /home/gimballock/.vagrant.d/gems/gems/vagrant-hp-0.1.2/lib/vagrant-hp/action/warn_networks.rb:19:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /home/gimballock/.vagrant.d/gems/gems/vagrant-hp-0.1.2/lib/vagrant-hp/action/sync_folders.rb:22:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /home/gimballock/.vagrant.d/gems/gems/vagrant-omnibus-1.2.1/lib/vagrant-omnibus/action/install_chef.rb:42:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/provision.rb:52:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /home/gimballock/.vagrant.d/gems/gems/vagrant-hp-0.1.2/lib/vagrant-hp/action/connect_hp.rb:38:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:inbusy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:incall'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:inbusy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:inaction'
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'

Floating Ip issue

Hi,

For me it looks like that the option rs.floating_ip is not used. My boxes always get a new IP Address and never use the ip I provided in this option.
I deploy to a HP Cloud V13.5 Compute instance.
I know HP changed the behavior for fixed/floting IP addresses. Maybe this is related to this change but how I can define an IP Address.

Thanks
Ralf

vagrant box add dummy[...] gives uninitialized constant Vagrant::VM

I have tried the basic workflow:
vagrant plugin install vagrant-hp - ended successfully
but when executing vagrant box add dummy https://github.com/mohitsethi/vagrant-hp/raw/master/dummy_hp.box, I get uninitialized constant Vagrant::VM.
I am working with Vagrant 1.6.3 on ubuntu 14.04

vagrant is working fine in other scenarios

Full debug log:

INFO global: Vagrant version: 1.6.3
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Linux"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"
INFO global: Plugins:
INFO global: - builder = 3.2.2
INFO global: - gyoku = 1.1.1
INFO global: - mini_portile = 0.6.0
INFO global: - nokogiri = 1.6.3.1
INFO global: - akami = 1.2.2
INFO global: - archive-tar-minitar = 0.5.2
INFO global: - bundler = 1.6.2
INFO global: - timers = 1.1.0
INFO global: - celluloid = 0.15.2
INFO global: - ffi = 1.9.6
INFO global: - childprocess = 0.5.5
INFO global: - erubis = 2.7.0
INFO global: - excon = 0.31.0
INFO global: - formatador = 0.2.5
INFO global: - mime-types = 1.25.1
INFO global: - multi_json = 1.10.1
INFO global: - net-ssh = 2.9.1
INFO global: - net-scp = 1.1.2
INFO global: - ruby-hmac = 0.4.0
INFO global: - fog = 1.19.0
INFO global: - gssapi = 1.0.3
INFO global: - httpclient = 2.3.4.1
INFO global: - rack = 1.5.2
INFO global: - httpi = 0.9.7
INFO global: - i18n = 0.6.11
INFO global: - json = 1.8.1
INFO global: - rb-fsevent = 0.9.4
INFO global: - rb-inotify = 0.9.4
INFO global: - listen = 2.7.5
INFO global: - little-plugger = 1.1.3
INFO global: - log4r = 1.1.10
INFO global: - logging = 1.8.2
INFO global: - macaddr = 1.0.0
INFO global: - nori = 1.1.5
INFO global: - rb-kqueue = 0.2.2
INFO global: - rdoc = 4.1.2
INFO global: - rest-client = 1.6.8
INFO global: - rubyntlm = 0.1.1
INFO global: - wasabi = 1.0.0
INFO global: - savon = 0.9.5
INFO global: - uuidtools = 2.1.5
INFO global: - wdm = 0.1.0
INFO global: - winrm = 1.1.3
INFO global: - vagrant = 1.6.3
INFO global: - vagrant-aws = 0.0.1
INFO global: - vagrant-hp = 0.1.4
INFO global: - vagrant-login = 1.0.1
INFO global: - vagrant-share = 1.1.2
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/global-status/plugin.rb
INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/version/plugin.rb
INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/rdp/plugin.rb
INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/list-commands/plugin.rb
INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/synced_folders/rsync/plugin.rb
INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/synced_folders/smb/plugin.rb
INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/tinycore/plugin.rb
INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/netbsd/plugin.rb
INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/smartos/plugin.rb
INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/funtoo/plugin.rb
INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/nixos/plugin.rb
INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/windows/plugin.rb
INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/mint/plugin.rb
INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/darwin/plugin.rb
INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/null/plugin.rb
INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/opensuse/plugin.rb
INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/hyperv/plugin.rb
INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/docker/plugin.rb
INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/communicators/winrm/plugin.rb
INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
INFO global: Loading plugins!
INFO manager: Registered plugin: vagrant-login
INFO manager: Registered plugin: vagrant-share
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::PluginLoadError: The plugins failed to load properly. The error message given is
shown below.

uninitialized constant Vagrant::VM>
ERROR vagrant: The plugins failed to load properly. The error message given is
shown below.

uninitialized constant Vagrant::VM
ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant.rb:265:in rescue in <top (required)>' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant.rb:261:in<top (required)>'
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant:101:in require' /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant:101:in

'
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

uninitialized constant Vagrant::VM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.