- From: Alex Kiernan <
>
- To:
- Subject: [chef-dev] Re: Re: Re: [chef] Re: Re: Intermittent chef-expander problem
- Date: Fri, 2 Sep 2011 19:52:59 +0100
On Fri, Sep 2, 2011 at 5:23 PM, Daniel DeLeo
<
>
wrote:
>
>
>
> Had a look last night... I can't for the life of me figure out what
>
> the code path is which makes it exit when it gets invalid JSON as it
>
> looks like it's designed to cope :|
>
>
>
Everything still working?
>
It is. I didn't want to jinx it by declaring success too soon, but if
we get through the weekend I think we can say it's fixed.
>
Also, do you still have a stack trace from when expander was crashing?
I don't :( Once it's clear it's fixed I'll swap the old json back in
and get a new one.
>
Looks like we might need to explicitly return nil here:
>
https://github.com/opscode/chef/blob/master/chef-expander/lib/chef/expander/solrizer.rb#L110
>
/me slaps head
yes - that makes perfect sense of the failure we were seeing... I'll
make that change and swap back to the old json after the weekend and
see if that fixes it up.
--
Alex Kiernan
Archive powered by MHonArc 2.6.16.