Skip to content

Instantly share code, notes, and snippets.

@modius
Last active December 15, 2015 16:28
Show Gist options
  • Save modius/5289102 to your computer and use it in GitHub Desktop.
Save modius/5289102 to your computer and use it in GitHub Desktop.
berkshelf-vagrant plugin issue; running vagrant 1.1.0 (with fix from https://github.com/RiotGames/berkshelf-vagrant/issues/3 in place) on Mountain Lion. (this also happens with vagrant 1.1.4 but don't have this machine handy)
Olorin:myberk modius$ export set VAGRANT_LOG=info
Olorin:myberk modius$ vagrant up
INFO global: Vagrant version: 1.1.0
...
INFO environment: Loading plugin from JSON: berkshelf-vagrant
ERROR root: Failed to load plugin: berkshelf-vagrant
ERROR root: -- Error: #<Gem::LoadError: Unable to activate berkshelf-vagrant-1.0.6, because net-ssh-2.2.2 conflicts with net-ssh (~> 2.6.6), net-scp-1.0.4 conflicts with net-scp (~> 1.1.0)>
ERROR root: -- Backtrace:
ERROR root: /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/specification.rb:746:in `activate'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems.rb:212:in `rescue in try_activate'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems.rb:209:in `try_activate'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant.rb:179:in `require_plugin'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:654:in `block in load_plugins'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:651:in `each'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:651:in `load_plugins'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:128:in `initialize'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `new'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `<top (required)>'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
INFO interface: error: Failed to load the "berkshelf-vagrant" plugin. View logs for more details.
Failed to load the "berkshelf-vagrant" plugin. View logs for more details.
Olorin:myberk modius$ export set VAGRANT_LOG=info
Olorin:myberk modius$ vagrant up
INFO global: Vagrant version: 1.1.0
INFO manager: Registered plugin: box command
INFO manager: Registered plugin: destroy command
INFO manager: Registered plugin: halt command
INFO manager: Registered plugin: init command
INFO manager: Registered plugin: package command
INFO manager: Registered plugin: plugin command
INFO manager: Registered plugin: provision command
INFO manager: Registered plugin: reload command
INFO manager: Registered plugin: resume command
INFO manager: Registered plugin: ssh command
INFO manager: Registered plugin: ssh-config command
INFO manager: Registered plugin: status command
INFO manager: Registered plugin: suspend command
INFO manager: Registered plugin: up command
INFO manager: Registered plugin: ssh communiator
INFO manager: Registered plugin: Arch guest
INFO manager: Registered plugin: Debian guest
INFO manager: Registered plugin: Fedora guest
INFO manager: Registered plugin: FreeBSD guest
INFO manager: Registered plugin: Gentoo guest
INFO manager: Registered plugin: Linux guest.
INFO manager: Registered plugin: OpenBSD guest
INFO manager: Registered plugin: RedHat guest
INFO manager: Registered plugin: Solaris guest.
INFO manager: Registered plugin: SUSE guest
INFO manager: Registered plugin: Ubuntu guest
INFO manager: Registered plugin: Arch host
INFO manager: Registered plugin: BSD host
INFO manager: Registered plugin: Fedora host
INFO manager: Registered plugin: FreeBSD host
INFO manager: Registered plugin: Gentoo host
INFO manager: Registered plugin: Linux host
INFO manager: Registered plugin: OpenSUSE host
INFO manager: Registered plugin: Windows host
INFO manager: Registered plugin: kernel
INFO manager: Registered plugin: kernel
INFO manager: Registered plugin: VirtualBox provider
INFO manager: Registered plugin: chef
INFO manager: Registered plugin: puppet
INFO manager: Registered plugin: shell
INFO vagrant: `vagrant` invoked: ["up"]
INFO environment: Environment initialized (#<Vagrant::Environment:0x00000100bc0e70>)
INFO environment: - cwd: /Users/modius/Code/myberk/myberk
INFO environment: Home path: /Users/modius/.vagrant.d
INFO environment: Local data path: /Users/modius/Code/myberk/myberk/.vagrant
INFO environment: Loading plugin from JSON: berkshelf-vagrant
ERROR root: Failed to load plugin: berkshelf-vagrant
ERROR root: -- Error: #<Gem::LoadError: Unable to activate berkshelf-vagrant-1.0.6, because net-ssh-2.2.2 conflicts with net-ssh (~> 2.6.6), net-scp-1.0.4 conflicts with net-scp (~> 1.1.0)>
ERROR root: -- Backtrace:
ERROR root: /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/specification.rb:746:in `activate'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems.rb:212:in `rescue in try_activate'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems.rb:209:in `try_activate'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant.rb:179:in `require_plugin'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:654:in `block in load_plugins'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:651:in `each'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:651:in `load_plugins'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:128:in `initialize'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `new'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `<top (required)>'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
INFO interface: error: Failed to load the "berkshelf-vagrant" plugin. View logs for more details.
Failed to load the "berkshelf-vagrant" plugin. View logs for more details.
INFO environment: Running hook: environment_load
INFO environment: Initializing config...
INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/config/default.rb"
INFO loader: Set :root = #<Pathname:/Users/modius/Code/myberk/myberk/Vagrantfile>
INFO loader: Loading configuration in order: [:default, :home, :root]
INFO hosts: Host class: VagrantPlugins::HostBSD::Host
INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100c4bcf0>
INFO cli: CLI: [] "up" []
INFO environment: Getting machine: default (virtualbox)
INFO environment: Uncached load of machine.
INFO loader: Set :vm_default = []
INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
INFO box_collection: Searching for box: Berkshelf-CentOS-6.3-x86_64-minimal (virtualbox) in /Users/modius/.vagrant.d/boxes/Berkshelf-CentOS-6.3-x86_64-minimal/virtualbox/metadata.json
INFO box_collection: Searching for V1 box: Berkshelf-CentOS-6.3-x86_64-minimal
INFO box_collection: Box not found: Berkshelf-CentOS-6.3-x86_64-minimal (virtualbox)
INFO machine: Initializing machine: default
INFO machine: - Provider: VagrantPlugins::ProviderVirtualBox::Provider
INFO machine: - Box:
INFO machine: - Data dir: /Users/modius/Code/myberk/myberk/.vagrant/machines/default/virtualbox
INFO base: VBoxManage path: VBoxManage
INFO subprocess: Starting process: ["VBoxManage", "--version"]
INFO meta: Using VirtualBox driver: VagrantPlugins::ProviderVirtualBox::Driver::Version_4_2
INFO base: VBoxManage path: VBoxManage
INFO command: With machine: default (VirtualBox (new VM))
INFO interface: info: Bringing machine 'default' up with 'virtualbox' provider...
Bringing machine 'default' up with 'virtualbox' provider...
INFO machine: Calling action: up on provider VirtualBox (new VM)
INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100be9b18>
INFO warden: Calling action: #<VagrantPlugins::ProviderVirtualBox::Action::CheckVirtualbox:0x00000100a0cef8>
INFO base: VBoxManage path: VBoxManage
INFO subprocess: Starting process: ["VBoxManage", "--version"]
INFO meta: Using VirtualBox driver: VagrantPlugins::ProviderVirtualBox::Driver::Version_4_2
INFO base: VBoxManage path: VBoxManage
INFO subprocess: Starting process: ["VBoxManage", "list", "hostonlyifs"]
INFO warden: Calling action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000100a0ced0>
ERROR warden: Error occurred: There are errors in the configuration of this machine. Please fix
the following errors and try again:
chef solo provisioner:
* Cookbook path doesn't exist: /Users/modius/Code/myberk/myberk/cookbooks
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO environment: Running hook: environment_unload
INFO runner: Running action: #<Vagrant::Action::Builder:0x00000100ae5af0>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::ConfigInvalid: There are errors in the configuration of this machine. Please fix
the following errors and try again:
chef solo provisioner:
* Cookbook path doesn't exist: /Users/modius/Code/myberk/myberk/cookbooks
>
ERROR vagrant: There are errors in the configuration of this machine. Please fix
the following errors and try again:
chef solo provisioner:
* Cookbook path doesn't exist: /Users/modius/Code/myberk/myberk/cookbooks
ERROR vagrant: /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/action/builtin/config_validate.rb:18:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/action/builder.rb:109:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/action/runner.rb:61:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/action/runner.rb:61:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/machine.rb:129:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/plugins/commands/up/command.rb:37:in `block in execute'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/plugin/v2/command.rb:182:in `block in with_target_vms'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/plugin/v2/command.rb:180:in `each'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/plugin/v2/command.rb:180:in `with_target_vms'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/plugins/commands/up/command.rb:32:in `execute'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/cli.rb:46:in `execute'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:406:in `cli'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:60:in `<top (required)>'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
INFO interface: error: There are errors in the configuration of this machine. Please fix
the following errors and try again:
chef solo provisioner:
* Cookbook path doesn't exist: /Users/modius/Code/myberk/myberk/cookbooks
There are errors in the configuration of this machine. Please fix
the following errors and try again:
chef solo provisioner:
* Cookbook path doesn't exist: /Users/modius/Code/myberk/myberk/cookbooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment