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


Chronological Thread 
  • From: meenakshi agrawal < >
  • To:
  • Subject: [chef] Re: Re: Re: Knife ssh fails with Server returned error
  • Date: Tue, 19 Jun 2012 19:45:27 +0530

Thanks all!!

My knife search works now,though it returns one node not three for knife search node name :*

I tried running knife shh by removing the domain but still i get the same error

FATAL: No nodes returned from search!

On Tue, Jun 19, 2012 at 3:33 PM, Ash Berlin < " target="_blank"> > wrote:

$ knife search node name:* -a name

'name', not 'NAME'  - the case of the attribute is important.

And I suspect the problem with your knife ssh command was that the node name would just be 'chef-node' (i.e. they don't usually include the domain, just the host part.)

-ash

On 19 Jun 2012, at 10:54, 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




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



Archive powered by MHonArc 2.6.16.

§