You might have not taken a consistent backup?
Clients aren't stored on the file-system -- only cookbook manifests
(IIRC), and only in chef10, it's different (Bookshelf) in chef11.
Jump into your database and delete the matching client documents.
--AJ
On 27 March 2013 09:01, Jochen Lillich < "> > wrote:
> Ranjib Dey wrote:
>
>> delete the client from chef server using knife (knife client delete
>> <node name>), and delete the old client.pem from the node itself. then
>> run chef-client on the node, and it will reregister itself.
>
> I already tried that, but there is no client with that name:
>
> $ knife client delete MYNODE
> Do you really want to delete MYNODE? (Y/N) y
> ERROR: JSON::ParserError: 743: unexpected token at 'null'
>
> Neither `knife client list` nor the CouchDB web UI display the client name.
>
> That's why I asked if there could be something outside CouchDB (maybe the server filesystem) that prevents re-creating the client. Some kind of remains from my node creation today.
>
> Thanks,
> Jochen
>
Archive powered by MHonArc 2.6.16.