[chef] [chef server] - write access is is broken :'( !


Chronological Thread 
  • From: Barthélemy Vessemont < >
  • To:
  • Subject: [chef] [chef server] - write access is is broken :'( !
  • Date: Wed, 19 Mar 2014 12:16:46 +0100

Ohai chefs !

I'm currently running chef-server 11.0.11 for month.

I succesfully bootstrapped a server, and decided to stop the process after the first run. I removed the newly created node and client from UI. I deleted /etc/chef and /var/chef from the server OS.

Then I tried to rebootstrap again the server... and it fails
Now the client part seems not responding :

> knife client create test   
ERROR: internal server error
Response: internal service error

Bootstrapping Chef on myserver.mydomain.wtf
Starting Chef Client, version 11.10.4
Creating a new client identity for iprod-test-sa-03 using the validator key.
WARN: Failed to register new client, 4 tries remaining
WARN: Response: HTTP 500 - 500 "Internal Server Error"
[...]
Server Unavailable
------------------
The Chef Server is temporarily unavailable
Server Response:
----------------
<html>
<head><title>502 Bad Gateway</title></head>
[...]

knife node list is ok, and I still can converge my existing nodes.
I tried chef-server-ctl reindex & restart but I didn't help.

> knife node create test                                                                                    [7dc567a]
ERROR: internal server error
Response: internal service error


It seems that any write access to chef causes error :/ ... What can I do ?
I have backups and can rebuild a chef server, but I don't like this kind of wierd things happening.

Thanks !



Archive powered by MHonArc 2.6.16.

§