Comments (11)
Unfortunately this cookbook does not (currently) support Chef < 11.6.0. The README states that version 11.8.2+ is needed, though I played around with a few versions earlier today and it seems to work on Chef 11.6.0+, it does however fail miserably on Chef 11.4.4 (though not with the same error as you've posted).
I suppose the OpsWorks uses plain old Chef 11.4.4 and doesn't add any patches on their own?
from kafka.
Curious, have you tried this with Chef 11.10 on OpsWorks?
from kafka.
I suppose that you're referring to @wangqi here, but I thought I'd just chime in and say that it should work perfectly fine with Chef 11.10 as the features of Chef that this cookbook uses were introduced in 11.6 (I believe).
from kafka.
Yes, I came across this because I'm looking at deploying on OpsWorks if possible. I see that Chef 11.10.4 passes in Travis.
from kafka.
Yeah. We're currently running a Kafka cluster in our staging environment using Chef 11.8, though we're not using OpsWorks, and I have no clue whether Amazon has applied any patches of their own to the Chef version used in OpsWorks, so I can't really say whether it works without a hitch or not :/.
from kafka.
I uploaded our customized kafka cookbook to github (https://github.com/wangqi/kafka-cookbook-with-opswork), it works with OpsWorks with 11.4. However since I cannot opensource our whole chef script system for OpsWorks, I am not sure if it runs OK when deploy as a standalone script. Hope it can help
from kafka.
Going through the stacktrace again I noticed that the cookbook directory is called kafka-cookbook
rather than kafka
, which will load the LWRPs with a difference name, as can be seen in the stacktrace:
[2014-05-24T23:40:11+00:00] DEBUG: Loading cookbook kafka-cookbook's providers from /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/providers/download.rb
[2014-05-24T23:40:11+00:00] DEBUG: Loaded contents of /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/providers/download.rb into a provider named kafka-cookbook_download defined in Chef::Provider::KafkaCookbookDownload
[2014-05-24T23:40:11+00:00] DEBUG: Loading cookbook kafka-cookbook's providers from /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/providers/install.rb
[2014-05-24T23:40:11+00:00] DEBUG: Loaded contents of /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/providers/install.rb into a provider named kafka-cookbook_install defined in Chef::Provider::KafkaCookbookInstall
[2014-05-24T23:40:11+00:00] DEBUG: Loading cookbook kafka-cookbook's resources from /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/resources/download.rb
[2014-05-24T23:40:11+00:00] DEBUG: Loaded contents of /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/resources/download.rb into a resource named kafka-cookbook_download defined in Chef::Resource::KafkaCookbookDownload
[2014-05-24T23:40:11+00:00] DEBUG: Loading cookbook kafka-cookbook's resources from /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/resources/install.rb
[2014-05-24T23:40:11+00:00] DEBUG: Loaded contents of /opt/aws/opsworks/releases/20140514153150_227/site-cookbooks/kafka-cookbook/resources/install.rb into a resource named kafka-cookbook_install defined in Chef::Resource::KafkaCookbookInstall
This explains the error's that you're seeing. Though I believe that you'll see other error's if you fix the cookbook directory name, due to the usage of "template helper modules" (see https://tickets.opscode.com/browse/CHEF-4220) in this cookbook.
It should however work with Chef 11.6 and above.
from kafka.
Btw, the customised cookbook that you uploaded doesn't look like it's based off of this one at all, but more like it's based on the Webtrends one?
from kafka.
@copester: if you get any chance to try this in OpsWorks (with a Chef version > 11.4) that would be much appreciated.
from kafka.
Gonna close this because I don't think that this is a problem with this cookbook. If anyone else is having issues with OpsWorks (and a version of Chef that is actually supported), please open a new issue and we'll take it from there.
from kafka.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from kafka.
Related Issues (20)
- How is broker.id generated? HOT 6
- Kafka 1.0 download link does not work HOT 2
- TLS Support HOT 3
- no implicit conversion of nil into String HOT 2
- Kafka 1.0.1 HOT 3
- Kafka restarts immediately twice (v2.2.2) HOT 5
- Sous-chefs would like to adopt your cookbook. HOT 5
- Java 10 compatibility HOT 3
- Changelog mentions haproxy instead of kafka HOT 1
- Runit support not working HOT 1
- Dangerfile should use failure instead of fail
- Remove .rubocop.yml with Dangerfile HOT 1
- Update Changelog HOT 1
- Run latest cookstyle
- Update builds to be parallel
- Kafka Service Stop Clean Shutdown
- Stop the lock[bot] spam! HOT 1
- Files being generated without newlines HOT 4
- Double starts while upgrading an existing broker with new setup.
- Dependency Dashboard
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 kafka.