On Wed, May 9, 2012 at 2:17 AM, Steve Jang < "> > wrote:It looks like you somehow created a client with an empty name.
> 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.
Notice the double space between 'value' and 'does'? That should be the
"Option name's value does not match regular _expression_"
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.