Git Product home page Git Product logo

Comments (17)

sethvargo avatar sethvargo commented on September 25, 2024

I'm not sure we want to get in the business of managing all the Kitchen plugins, but kitchen-vagrant definitely sounds like it should be included, since it's the "minimum viable pathway".

from chef-dk.

danielsdeleo avatar danielsdeleo commented on September 25, 2024

chef gem is now documented in the README, and kitchen-vagrant is included with ChefDK by default as of this commit: chef/omnibus-software@98b0838 We've built a new package with this fix and will be announcing it and updating the install page soon.

from chef-dk.

yohei1126 avatar yohei1126 commented on September 25, 2024

This issue still happens on Chef-DK.
I tested this with Chef-DK 0.4.0, Mac OS X 10.10.3.
Here is the process I tested.

  1. install Chef-DK 0.4.0 on MacOSX 10.10.3
  2. execute the command: eval "$(chef shell-init zsh)"'
  3. kitchen init
    Then I got this message:
------Exception-------
Class: Kitchen::ClientError
Message: Could not load the 'vagrant' driver from the load path. Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler.
----------------------
Please see .kitchen/logs/kitchen.log for more details
Also try running `kitchen diagnose --all` for configuration

But If I do "kitchen init" without eval "$(chef shell-init zsh)"' . It works fine.

from chef-dk.

luismsousa avatar luismsousa commented on September 25, 2024

I'm having this error but in Windows running the chef-mongodb public git project

$ kitchen list
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ClientError
>>>>>> Message: Could not load the 'vagrant' driver from the load path. Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

I have Vagrant installed and working:

$ vagrant -v
Vagrant 1.7.2

any tips?

from chef-dk.

jaym avatar jaym commented on September 25, 2024

can you paste the contents of .kitchen/logs/kitchen.log

from chef-dk.

luismsousa avatar luismsousa commented on September 25, 2024
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: ------Exception-------
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: Class: Kitchen::ClientError
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: Message: Could not load the 'vagrant' driver from the load path. Please ensure that your driver is installed as a gem or included in your Gemfile if using Bundler.
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: ---Nested Exception---
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: Class: NoMethodError
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: Message: undefined method `kitchen_driver_api_version' for Kitchen::Driver::Vagrant:Class
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: ------Backtrace-------
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/driver.rb:50:in `rescue in for_plugin'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/driver.rb:40:in `for_plugin'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:226:in `new_driver'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:240:in `new_instance'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:129:in `block in build_instances'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:128:in `map'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:128:in `with_index'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:128:in `build_instances'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/config.rb:104:in `instances'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:115:in `filtered_instances'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:145:in `parse_subcommand'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/command/list.rb:32:in `call'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/cli.rb:56:in `perform'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/cli.rb:97:in `list'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
E, [2015-04-30T14:51:54.891640 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/cli.rb:304:in `invoke_task'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/bin/kitchen:13:in `block in <top (required)>'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/lib/kitchen/errors.rb:154:in `with_friendly_errors'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/embedded/apps/test-kitchen/bin/kitchen:13:in `<top (required)>'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/bin/kitchen:20:in `load'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: c:/opscode/chefdk/bin/kitchen:20:in `<main>'
E, [2015-04-30T14:51:54.901641 #5904] ERROR -- Kitchen: ----------------------

from chef-dk.

jaym avatar jaym commented on September 25, 2024

what does chef gem list kitchen-vagrant

from chef-dk.

luismsousa avatar luismsousa commented on September 25, 2024
$ chef gem list kitchen-vagrant

*** LOCAL GEMS ***

kitchen-vagrant (0.17.0, 0.15.0)

from chef-dk.

jaym avatar jaym commented on September 25, 2024

Do chef gem uninstall kitchen-vagrant -v 0.17.0
@fnichol i think kitchen-vagrant 0.17.0 might be incompatible with test-kitchen < 1.4

from chef-dk.

luismsousa avatar luismsousa commented on September 25, 2024

That solved it! Thank you so much!

from chef-dk.

dmitris avatar dmitris commented on September 25, 2024

Thanks - fixed it for me as well - had to do chef gem uninstall kitchen-vagrant -v 0.18.0 (using Test Kitchen version 1.2.1 from Chef Development Kit Version: 0.4.0)

from chef-dk.

gracco avatar gracco commented on September 25, 2024

Thanks man, works for me too. Solved! I had to execute a chef gem uninstall kitchen-vagrant -v 0.17.0 (using Test Kitchen version 1.2.1 from Chef Development Kit Version: 0.4)

from chef-dk.

chaim1221 avatar chaim1221 commented on September 25, 2024

I am still getting this error on Ubuntu 15.04 from the chef-dk. Tried uninstalling [email protected] and installing v0.15.0 without success. This is annoying.

from chef-dk.

chaim1221 avatar chaim1221 commented on September 25, 2024

@0.16.0 worked.

from chef-dk.

passioncoder avatar passioncoder commented on September 25, 2024

on osx, 0.19.0 fails too. 0.16.0 works fine, thx @chaim1221!

from chef-dk.

michael-peck avatar michael-peck commented on September 25, 2024

On Ubuntu 15.04 from the chefdk this always happens no matter what version of kitchen-vagrant I install.

from chef-dk.

ocervell avatar ocervell commented on September 25, 2024

Got this error with all version of kitchen-vagrant on osx.
$ chef -v
Chef Development Kit Version: 0.6.2
chef-client version: 12.3.0
berks version: 3.2.4
kitchen version: 1.5.0

Here is kitchen.log:
kitchen.txt

(EDIT: Updating chefdk to 0.10 worked. Problem is we are using 0.6 at the company ...)

from chef-dk.

Related Issues (20)

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.