- From: Maciej Pasternacki <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: Re: Knife ssh fails with Server returned error
- Date: Tue, 19 Jun 2012 16:50:49 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pasternacki.net; h=subject :references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; q=dns; s= pasternacki.net; b=t9aWKOFxkGezHCXg8c6XWv41Z7WRt1G+dEMnOTZkTvImk lHCLI0WMHnGyTqp5hECIy4JLcsL1a+jlvTEjorJutGxCWoSkRDOiFJ1myezMdfDs tg6mGE7jF6gIPHpdF6hXwwb2yhi75HI3VGdXzvHPFy/VnUJmuvNl3wI5dE1DoA=
Try using 'name:[* TO *]', Solr tends to get confused by leading wildcard.
-- M On 19 Jun 2012, at 16:15, meenakshi agrawal <
">
> wrote: 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
-- 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.