[chef] Re: Re: Knife ssh fails with Server returned error


Chronological Thread 
  • From: Mike Adolphs < >
  • To:
  • Subject: [chef] Re: Re: Knife ssh fails with Server returned error
  • Date: Tue, 19 Jun 2012 12:02:05 +0200

Hi,

just a quick guess: Your solr instance isn't running or it's misconfigured.

You can check by yourself via:
$ ps aux|grep [s]olr
$ /etc/init.d/chef-solr status
$ tail /var/log/chef/solr.log

On Jun 19, 2012, at 11:54 AM, meenakshi agrawal wrote:

Also Knife search doesn't give me any results

knife search node NAME:*
ERROR: Server returned error for http://localhost:4000/search/node?q=NAME%253A*&sort=&start=0&rows=1000, retrying 1/5 in 3s

Though i can list my nodes with Knife node list and also i can see my nodes in the UI http://ip:4040

On Tue, Jun 19, 2012 at 3:20 PM, meenakshi agrawal < " target="_blank"> > wrote:
Hi,

Am able to add,delete recipies on my node using knife commands,but when i  try use knife ssh to run chef-client on my node i get error:

command:

 knife ssh name:chef-node.blr.novell.com -x root -P pass "sudo chef-client" -a 172.18.4.19

Error:
ERROR: Server returned error for http://localhost:4000/search/node?q=name:chef-node.blr.novell.com&sort=X_CHEF_id_CHEF_X%20asc&start=0&rows=1000, retrying 1/5 in 3s

Kindly suggest.

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in the mind



--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in the mind

Regards,
Mike

------
Mike Adolphs
Stitenstrasse 24
23554 Luebeck
- Germany -

Mail.  ">
Web. http://fooforge.com/
Github. https://github.com/fooforge/
XING. http://www.xing.com/profile/Mike_Adolphs




Archive powered by MHonArc 2.6.16.

§