Comments (8)
Can you please provide some details around your environment? (Redhat version, Chef version, method of applying your Chef run (solo, server))
For the cookbook's test suite, including the yum < 3.0
constraint resolves the dependencies (Berkshelf) like this:
"erlang": {
"locked_version": "1.4.2"
},
. . .
"yum": {
"locked_version": "2.4.4"
},
from riak-chef-cookbook.
RHEL 6.5, Chef 11.8.2, Chef server.
I've got a couple cookbooks in my base-server role that require Yum v3. Also, I'm not running Berkshelf, so any dependency resolution provided there was not applied. This was just the result of a "knife cookbook site install riak" after the base-server role had already been applied.
I might recommend pinning the Erlang version restrictions in metadata.rb as well.
from riak-chef-cookbook.
Here are the available solution constraints on a fresh run:
Error message: Unable to satisfy constraints on package yum due to solution constraint (riak >= 0.0.0).
Solution constraints that may result in a constraint on yum:
[(riak = 2.4.5) -> (erlang = 1.4.2) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (erlang = 1.4.2) -> (yum-epel = 0.2.0) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (erlang = 1.4.2) -> (yum-erlang_solutions = 0.2.0) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (git = 2.9.0) -> (runit = 1.2.0) -> (yum >= 0.0.0)],
[(riak = 2.4.5) -> (git = 2.9.0) -> (runit = 1.4.6) -> (yum < 3.0.0)],
[(riak = 2.4.5) -> (git = 2.9.0) -> (runit = 1.5.8) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (git = 2.9.0) -> (runit = 1.5.8) -> (yum-epel = 0.2.0) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (git = 2.9.0) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (git = 2.9.0) -> (yum-epel = 0.2.0) -> (yum ~> 3.0.0)],
[(riak = 2.4.5) -> (yum < 3.0.0)]
from riak-chef-cookbook.
Would you be able to test the revised constraints in this branch? https://github.com/basho/riak-chef-cookbook/tree/hc-yum-constraint
from riak-chef-cookbook.
It now prompts for the appropriate, downgraded cookbook dependency versions, but I’ve still got local cookbooks that depend on Yum >3. I’ll see what I can do about that, but I’m not sure the rework feasible in my environment.
On February 24, 2014 at 10:32:36 AM, Hector Castro ([email protected]) wrote:
Would you be able to test the revised constraints in this branch? https://github.com/basho/riak-chef-cookbook/tree/hc-yum-constraint
—
Reply to this email directly or view it on GitHub.
from riak-chef-cookbook.
When run in isolation, this cookbook installs fine, so I think the dependency issues are resolved.
On February 24, 2014 at 10:32:36 AM, Hector Castro ([email protected]) wrote:
Would you be able to test the revised constraints in this branch? https://github.com/basho/riak-chef-cookbook/tree/hc-yum-constraint
—
Reply to this email directly or view it on GitHub.
from riak-chef-cookbook.
@rpunt Thanks a lot for helping identify and resolve this issue.
from riak-chef-cookbook.
@rpunt yum > 3.0
support has now been merged (before the Riak 2.0 release): #115
from riak-chef-cookbook.
Related Issues (20)
- Add aae_throttle_sleep_time defaults HOT 1
- Pinned cookbook dependency versions hang Librarian HOT 1
- version constraints keep breaking my berkshelf HOT 4
- File handle limits should be higher
- Riak fails to start if hostname is not a fqdn HOT 1
- Move to attribute hashes for readability and line length
- FreeBSD Support HOT 3
- String not matched error HOT 5
- Old build-essential dependency HOT 2
- (riak-1.x) riak::package can fetch a valid package for Ubuntu 14.04 HOT 2
- Can't install from corporate repo [JIRA: TOOLS-82] HOT 4
- Support for Riak 2.1.1 by default HOT 8
- Cookbook dependencies are too tight HOT 12
- warning after install ( amazon linux ) HOT 2
- Building from Source on Amazon Linux broken
- Extend tuning to cover FreeBSD
- can't modify platform_log_dir HOT 1
- Can't install Riak Enterprise on AWS Opsworks HOT 1
- configuring multiple backend
- Riak EE 2.0.8 package fails to install due to new download location 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 riak-chef-cookbook.