- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: cannot knife client list
- Date: Thu, 10 May 2012 16:04:40 -0400
On Wed, May 9, 2012 at 2:17 AM, Steve Jang
<
>
wrote:
>
I can no longer use "knife client list" to list my clients on my chef
>
server.
>
I used to be able to do this earlier today using knife and using server API.
>
Other commands such as "knife client show <name>" works fine.
It looks like you somehow created a client with an empty name.
"Option name's value does not match regular expression"
Notice the double space between 'value' and 'does'? That should be the
name of the client object.
If I try to create client with an empty name by running 'knife client
create foo' and then changing the name to "" in the editor, I get the
same error:
$ knife client create foo
ERROR: Chef::Exceptions::ValidationFailed: Option name's value does
not match regular expression /^[\-[:alnum:]_\.]+$/
I'm still thinking about the easiest way to find and remove this client.
Bryan
Archive powered by MHonArc 2.6.16.