- From: Paige Thompson <
>
- To:
- Subject: [chef] problem with ? chef-expander : chef-solar (ubuntu oneiric)
- Date: Tue, 27 Mar 2012 14:15:40 -0700 (PDT)
upon running chef-expander -l debug:
... lots of info ;)
[Tue, 27 Mar 2012 21:17:50 +0000] ERROR: Failed to post to solr:
node[8f080476-1c95-4f70-bf70-0515bbe7cf07] database[chef]
Nothing shows up in chef-solar -l debug about this though.........
so I decided to run nc and see if expander isactually doing anything:
:~#
nc -l 8983
POST /solar/update HTTP/1.1
Content-Type: text/xml
Content-Length: 71666
Host: localhost:8983
User-Agent: EventMachine HttpClient
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<add><doc><field
name="X_CHEF_id_CHEF_X">8f080476-1c95-4f70-bf70-0515bbe7cf07</field><field
name="X_CHEF_database_CHEF_X">chef</field><field
name="X_CHEF_type_CHEF_X">node</field><field name="content">... lots of data
obviously it is, however I have no idea how to use curl to repost this data
however,
curl -X POST -d ''
http://localhost:8983/solr/update
<erratic> <title>Error 400 missing content stream</title>
everything appears as though it should be working, is there some underlying
issue that anybody else might be aware of that is causing this? I ran a knife
query to see if I could search:
:~#
knife search node *:*
0 items found
:~#
chef-solr doesn't seem to have any problems with this:
INFO: [] webapp=/solr path=/select
params={sort=&indent=off&start=0&q=*:*&wt=json&fq=%2BX_CHEF_type_CHEF_X:node+%2BX_CHEF_database_CHEF_X:chef&rows=1000}
hits=0 status=0 QTime=123
so in short, for some reason chef-expander is unable to "insert into"
chef-solr
but apparently knife can search chef-solr, any ideas?
- [chef] problem with ? chef-expander : chef-solar (ubuntu oneiric), Paige Thompson, 03/27/2012
Archive powered by MHonArc 2.6.16.