- From: Boris Shulman <
>
- To:
- Subject: [chef] Re: problem listing clients in 0.9.8
- Date: Wed, 6 Oct 2010 14:03:23 +0200
- 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:content-transfer-encoding; b=tyBOkDdCJpY2XUqSOa1gZXVSsDNarvnHHXc16ONuuZV0EQZ7RdNpjZjHBximPdlMCp zDO4NimkPArb9VxmRM/RDBnJhzC93ACW15NuwFJP/pdFv2+ZC60rrovhECBbSb0W+Huu Hlj//c30nmmVmIevcDY62Vk5FaRqkVtD7WyCs=
Found the problem, for some reason I had a client with an empty name.
After deleting it manually everything works fine.
On Wed, Oct 6, 2010 at 1:40 PM, Boris Shulman
<
>
wrote:
>
Hi,
>
>
I've installed chef 0.9.8 on centos via rpm install. I'm getting an
>
error when trying to list existing clients via knife:
>
>
>
HTTP Request Returned 500 Internal Server Error: Option name's value
>
does not match regular expression /^[\-[:alnum:]_\.]+$/
>
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server
>
Error" (Net::HTTPFatalError)
>
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:229:in
>
`api_request'
>
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:280:in
>
`retriable_rest_request'
>
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:210:in
>
`api_request'
>
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:110:in
>
`get_rest'
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/api_client.rb:185:in
>
`list'
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/client_list.rb:35:in
>
`run'
>
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in
>
`run'
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in
>
`run'
>
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25
>
from /usr/bin/knife:19:in `load'
>
from /usr/bin/knife:19
>
>
From web ui I can't list clients either.
>
>
By the way other operations on client work just fine, including
>
showing info for a specific client. Is it possible that the problem is
>
that I'm using the same couchdb database from 0.9.6?
>
Archive powered by MHonArc 2.6.16.