[chef] Re: Re: cannot knife client list


Chronological Thread 
  • From: Steve Jang < >
  • To:
  • Subject: [chef] Re: Re: cannot knife client list
  • Date: Thu, 17 May 2012 23:41:36 -0700

Ah. That's brilliant. I will try to fix this and see if I can get it to work again.

-Steve


On Thu, May 10, 2012 at 1:04 PM, Bryan McLellan < " target="_blank"> > wrote:
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.

§