- From:
- To: Sam Darwin <
>
- Cc: chef <
>
- Subject: [chef] Re: json gem conflict
- Date: Mon, 13 May 2013 17:13:02 +0000
(re-adding chef list)
On Mon, 13 May 2013, Sam Darwin wrote:
>
Look closely at the fog page on github for recent changes in the last
>
month which are very very similar to the error message.
Yeah, I wonder if it's this fix:
https://github.com/fog/fog/commit/f2bd2404d1882a6244afea0836614146331dab56
And I wonder how long my systems have to live with this breakage until the
next fog release is out. Until then, I have to run chef twice at instance
launch, which is suboptimal.
This makes me wonder how, if at all, I can manage preventing changes from
upstream providers breaking things in my own environment. Do I start rolling
my own gems? In this particular case, I wonder if I should specify the version
of the fog gem prior to the breakage. Probably..
kallen
>
On Sat, May 11, 2013 at 7:42 AM, Sam Darwin
>
<
>
>
wrote:
>
> yes
>
>
>
>
>
> On Fri, May 10, 2013 at 10:36 PM,
>
> <
>
>
> wrote:
>
>> On Thu, 09 May 2013, Sam Darwin wrote:
>
>>
>
>>> ok, looks like next release of fog will fix this.
>
>>
>
>> where do you see this? are you looking at a changelog of fog? or an open
>
>> buglist for fog? have a URL?
>
>>
>
>>
>
>>> On Wed, May 8, 2013 at 9:33 PM,
>
>>> <
>
>
>>> wrote:
>
>>> > On Wed, 08 May 2013,
>
>>> >
>
>>> > wrote:
>
>>> >
>
>>> >> I just ran into this very same problem starting this week, using the
>
>>> >> route53
>
>>> >> recipe. Does anyone know of a solution yet? My route53 recipe does
>
>>> >> this:
>
>>> >>
>
>>> >> fog = chef_gem "fog" do
>
>>> >> action :nothing
>
>>> >> end
>
>>> >> fog.run_action( :install )
>
>>> >>
>
>>> >> require 'rubygems'
>
>>> >> Gem.clear_paths
>
>>> >>
>
>>> >>
>
>>> >> I see no where else in my recipes where a json gem gets installed by
>
>>> >> any chef
>
>>> >> resource, in case that might be affecting this.
>
>>> >>
>
>>> >> To be clear, this is the error my clients are failing with upon
>
>>> >> birth. A
>
>>> >> second chef-client run succeeds :\
>
>>> >>
>
>>> >> [2013-05-07T19:14:34+00:00] DEBUG: Gem::LoadError:
>
>>> >> route53_record[chef-ci-webapp01c.dev.pickameme.com]
>
>>> >> (resolver::default line 130) had an error: Gem::LoadError: Unable to
>
>>> >> activate fog-1.11.1, because json-1.5.4 conflicts with json (~> 1.7)
>
>>> >
>
>>> >
>
>>> > Forgot to mention, my clients are chef-10.24.0-1.el6, omnibus.
>
>>> >
>
>>> > kallen
Archive powered by MHonArc 2.6.16.