- From: KC Braunschweig <
>
- To:
, Daniel DeLeo <
>
- Subject: [chef] Re: Re: solr issue trying to start chef 0.10 rc server
- Date: Mon, 18 Apr 2011 19:02:58 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VBlMueAOeGLYebTLmkOpIT7D7gccXYdjbbDQOsUE6MCXl/EcaIvk7dnmZGcwc+SaTB 50ejDmgbF1HCf2nRKr5bCZQOx7+4AloLN2GybEPU4gjU/tbqJO+AY7mG6BRl8e1MjPZX HxDHPwPbN+1wMZa3HQoUfMS+6U7S4vLslbsBw=
More info:
- the expander claims to be doing something when knife index rebuild
is run so maybe solr just isn't picking it up? I can't imagine that
the queue takes that long given my dataset is like 2 items? From
expander.log:
[Mon, 18 Apr 2011 18:47:01 -0700] INFO: indexed
api_client[aac1fd5e-7328-4dbf-9bd4-a22511562d17] database[chef]
transit,xml,solr-post | 1,0.000223159790039062,0.0704770088195801 |
[Mon, 18 Apr 2011 18:47:01 -0700] INFO: indexed
api_client[bba134cc-2398-4c12-9185-e8b07f0e5398] database[chef]
transit,xml,solr-post | 1,0.00023198127746582,0.00556087493896484 |
[Mon, 18 Apr 2011 18:47:01 -0700] INFO: indexed
data_bag_item[2d4219ff-7bf8-4fdd-8371-0515f7b985a4] database[chef]
transit,xml,solr-post | 1,0.000161886215209961,0.00438904762268066 |
[Mon, 18 Apr 2011 18:47:01 -0700] INFO: indexed
api_client[4642a78f-b721-47be-a973-253650860487] database[chef]
transit,xml,solr-post | 1,0.000188827514648438,0.00414490699768066 |
[Mon, 18 Apr 2011 18:47:01 -0700] INFO: indexed
data_bag[37f92149-2e3f-4c90-8fdf-6cfd2eaca1f6] database[chef]
transit,xml,solr-post | 1,0.000128030776977539,0.00445795059204102 |
Interestingly though, notice that above there is nothing indexed
related to environments. Likewise the output doesn't mention them:
~]$ knife index rebuild -y
Chef::ApiClient: success
Chef::DataBag: success
Chef::Node: success
Chef::Role: success
I wonder if the index rebuild function works at all and further if it
has been updated to take environments into account?
KC
On Mon, Apr 18, 2011 at 6:35 PM, KC Braunschweig
<
>
wrote:
>
It would seem the index rebuild was ineffective. I'm able to create
>
new indexed data (for example a new data bag and data bag item) and it
>
appears in search as expected. So indexing of new data is happening.
>
It is just the rebuild of already existing data from the db isn't
>
happening.
>
>
KC
>
>
On Mon, Apr 18, 2011 at 6:24 PM, KC Braunschweig
>
<
>
>
wrote:
>
> Well this is partially resolved. It turns out that although I'd
>
> installed java (sun jdk), it wasn't properly linked into /usr/bin so
>
> the app had been trying to use gcj which reports as java 1.4.2 (not
>
> that it'd probably work anyway) and so it wasn't loading jsp hence the
>
> solr failure. A proper link to a proper java made it much happier.
>
>
>
> So one more time running the chef solr installer, got everything
>
> started and then ran knife index rebuild. No errors, however, I still
>
> don't seem to have a search index. For example, clicking on the search
>
> environment link in the webui ought to return at least the _default
>
> environment even if no others exist, but it returns nothing. Same with
>
> the other indexes. Now I'm at a loss again.
>
>
>
> As an aside, it looks like /usr/bin/chef-solr-rebuild is still in
>
> 0.10.0.rc.0 but it seems to be non-functional, I suspect due to a
>
> change in the way that indexing happens with chef-expander now.
>
>
>
> KC
>
>
>
> On Mon, Apr 18, 2011 at 11:01 AM, KC Braunschweig
>
> <
>
>
> wrote:
>
>> Yes I had run it before based on this:
>
>>
>
>> http://wiki.opscode.com/display/chef/Upgrading+Chef+0.9.x+to+Chef+0.10.x#UpgradingChef0.9.xtoChef0.10.x-UpgradeSolr
>
>>
>
>> Though this is a new install, not an upgrade. Just tried running it
>
>> again didn't change the symptoms.
>
>
>
Archive powered by MHonArc 2.6.16.