Comments (17)
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.
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.
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.
- install Chef-DK 0.4.0 on MacOSX 10.10.3
- execute the command: eval "$(chef shell-init zsh)"'
- 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.
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.
can you paste the contents of .kitchen/logs/kitchen.log
from chef-dk.
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.
what does chef gem list kitchen-vagrant
from chef-dk.
$ chef gem list kitchen-vagrant
*** LOCAL GEMS ***
kitchen-vagrant (0.17.0, 0.15.0)
from chef-dk.
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.
That solved it! Thank you so much!
from chef-dk.
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.
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.
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.
@0.16.0 worked.
from chef-dk.
on osx, 0.19.0 fails too. 0.16.0 works fine, thx @chaim1221!
from chef-dk.
On Ubuntu 15.04 from the chefdk this always happens no matter what version of kitchen-vagrant I install.
from chef-dk.
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)
- Gemfile.lock in Working Directory Causes Bundler version error HOT 3
- inspec bug in chefdk 4.4.14 HOT 10
- Omnibus and Hab appbundling are not the same HOT 1
- Dependabot can't resolve your Ruby dependency files HOT 2
- Dependabot can't resolve your Ruby dependency files HOT 2
- Improve test execution times with a pre-warmed docker image HOT 1
- Ship DK 3 for Oct HOT 1
- Ship DK 4 for Oct HOT 1
- Release DK 3 to resolve libxslt CVE HOT 1
- Cookbook generators failed to generate new cookbooks -- undefined method `metadata' HOT 2
- Release Chef-DK 4.6 HOT 1
- Release DK for December HOT 1
- policyfile checksum keeps changing HOT 2
- Your .dependabot/config.yml contained invalid details HOT 1
- Release DK for Feb HOT 1
- Fix ChefDK 3 build pipeline
- DK release notes are not up to date on docs.chef.io HOT 2
- Any Documentation/script to remove chefdk from linux system? HOT 4
- Generate Policyfile.lock.json without Kitchen Test HOT 1
- Running chef-zero/chef-solo on chef server itself.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-dk.