Comments (21)
Any chance we could get a new release with #28 included?
from vagrant-chef-zero.
Working on getting my environment working, will try to get this out by the end of tonight.
from vagrant-chef-zero.
Pushed 0.5.2
with this merged in, let me know if you are having issues.
from vagrant-chef-zero.
0.5.2 does not work with vagrant-berkshelf plugin
there are dependency issues with ridley
from vagrant-chef-zero.
I tried to get the dependencies working by using the following set of plugins:
vagrant-berkshelf (1.4.0.dev1)
vagrant-chef-zero (0.5.2)
vagrant-omnibus (1.1.2)
They install and load so as far as I can tell there are no dependency issues, but when using vagrant up
I am getting the following error:
E, [2013-12-16T10:58:30.971227 #82141] ERROR -- : Ridley::Client::ConnectionSupervisor crashed!
KeyError: key not found: :retries
/Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in `fetch'
/Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in `block in slice'
/Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in `each'
/Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in `slice'
/Users/tnarik/.vagrant.d/gems/gems/ridley-2.4.0/lib/ridley/client.rb:11:in `initialize'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
/Users/tnarik/.vagrant.d/gems/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
E, [2013-12-16T10:58:30.971536 #82141] ERROR -- : Ridley::Client crashed!
KeyError: key not found: :retries
[...]
I am trying to track the issue down to hopefully some missing configuration on my side.
from vagrant-chef-zero.
The issue seems to be related to a clash between i18n and activesupport implementation of Hash#slice.
from vagrant-chef-zero.
Thanks @tnarik. I am working on removing the activesupport
gem if at all possible. Unfortunately I have run into some opaque ruby dependency issues when I removed it in the past.
from vagrant-chef-zero.
With vagrant 1.4 I have been able to remove a lot of the dependency locking for i18n and activesupport, removing them entirely from my explicit requirements. Check out 0.6.0
from vagrant-chef-zero.
Hi there,
I'm having similar issue using vagrant 1.4.3.
plugin versions:
vagrant-berkshelf (1.4.0.dev1)
vagrant-chef-zero (0.6.0)
vagrant-omnibus (1.2.1)
Had some issues with vagrant-berkshelf plugin so I followed these instructions: berkshelf/vagrant-berkshelf#111 (comment)
I ran vagrant up --debug
, and this is what I get as result:
INFO warden: Calling IN action: #<VagrantPlugins::ChefZero::Action::Start:0x00000100a225f0>
INFO warden: Calling IN action: #<VagrantPlugins::ChefZero::Action::Upload:0x00000100a21ec0>
E, [2014-01-17T17:41:43.041819 #31642] ERROR -- : Ridley::Client::ConnectionSupervisor crashed!
KeyError: key not found: :retries
from vagrant-chef-zero.
Seconding this one. I experienced this as well with plugin version 0.6.0, berkshelf-3.0.0.beta5, and vagrant-berkshelf-1.4.0.dev1.
from vagrant-chef-zero.
Thanks for the update, will try to replicate.
from vagrant-chef-zero.
Any update on this? I was just trying to get the whole vagrant chef zero toolchain working, and I ran into the "KeyError: key not found: :retries" error. I'm only using vagrant-omnibus and vagrant-chef-zero.
from vagrant-chef-zero.
@sammarx note that the Chef folks have officially deprecated the Vagrant-Berkshelf process in favor of other approaches (such as test kitchen), which would allow you to work around this problem. https://sethvargo.com/the-future-of-vagrant-berkshelf/
from vagrant-chef-zero.
@eherot I'm not actually using berkshelf, just chef-zero and vagrant.
from vagrant-chef-zero.
Also important to call out @andrewgross's comment on that post.
from vagrant-chef-zero.
@sammarx to add some significance to the comment @jeffbyrnes pointed to, test-kitchen is now the preferred method of testing chef cookbooks, and it effectively deprecates the entire Vagrant chef plugin pool (including chef-zero). Test kitchen gives you a different way to use chef-zero with Vagrant to test cookbooks, even without Berkshelf (although I would highly recommend using Berkshelf).
from vagrant-chef-zero.
@eherot that makes sense. It looks like it's time to switch my workflow over to test kitchen.
from vagrant-chef-zero.
FWIW over in the Chef/OpenStack cookbooks, we hit this and we're dropping vagrant-berkshelf as well. We're using
berks install --path=.cookbooks
before running Vagrant and we've added the following to our Vagrantfiles:
config.chef_zero.cookbooks = ".cookbooks"
from vagrant-chef-zero.
Hey all,
Sorry for the neglect on this project, I've been sidetracked.
I certainly agree with Seth's comments in that post. It is very hard to work within Vagrant when creating and maintaining plugins. I currently plan to support this plugin since I know that people still use it. However, I am of the opinion that the overall approach taken by test kitchen may be more appropriate for the use case of creating a testing pipeline. This plugin seems more useful for when you want to have an interactive environment while prototyping new changes.
from vagrant-chef-zero.
I'm fairly sure that the problem stems from Ridley's use of Hash#slice, like @tnarik had mentioned. @coderanger had also noticed a similar situation and filled a bug report on Ridley -- berkshelf/ridley#255
from vagrant-chef-zero.
I have a feeling this is tied to #51 also.
from vagrant-chef-zero.
Related Issues (20)
- Wrong IP address detection in case of multiple interfaces with private addresses HOT 2
- Unable to resolve dependencies: vagrant-chef-zero requires chef-zero (~> 1.3); chef requires chef-zero (>= 2.0.2, ~> 2.0) HOT 3
- Dependency issue: Vagrant 1.5.4 depends on Celluloid 0.15.2 HOT 3
- Plugin not compatible with Vagrant 1.6.2 HOT 16
- Gem contains gem HOT 1
- Native Extensions with Alt Shells HOT 2
- vagrant up produces error HOT 2
- vagrant up key not found: :retries HOT 1
- Ridley::CookbookResource crashed during vagrant up HOT 3
- vagrant 1.6.3 faraday gem issue
- The cookbook already exists and is frozen on the Chef server. Use the 'force' option to override - Exception when running vagrant provision HOT 1
- The plugin should not try and update the _default environment HOT 2
- chef-zero provisioner looks for Chef Server URL and fails HOT 11
- ffi-yajl and yajl-ruby gems have incompatible C libyajl libs... cannot load such file -- ruby-wmi HOT 16
- Where can I put the path to encrypted data_bag secret? HOT 4
- The method env_helpers.get_port() can't handle trailing slash in chef_server_url HOT 1
- Vagrant throws error when an array of paths is used in some config attributes
- Fails to authenticate to chef zero server HOT 7
- Cant install on OSX 10.11.2 with Vagrant 1.8.1 HOT 6
- Can't install the plugin with Vagrant 2.0.1 HOT 3
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 vagrant-chef-zero.