-
Notifications
You must be signed in to change notification settings - Fork 302
PUT HTTP API return status 500 without human-readable message #1345
Comments
The place to start is probably looking at the fleet engine's logs and On Mon, Sep 7, 2015 at 8:48 AM, Giovambattista Fazioli <
|
@gfazioli @jonboulle , yes, Http 500 error is the "Internal server error", it always does not give the exact internal reason to the browser. Need check the fleetd's logs. |
Ok, the error is
Any ideas? |
That's indicative of etcd taking too long to respond, and fleet giving up On Tue, Sep 8, 2015 at 10:23 AM, Giovambattista Fazioli <
|
@jonboulle Ok, I will try, thx |
Yes, seems like etcd is the culprit.
|
Hey guys I join the conversation cause @gfazioli is my collegue (he deals with the code and I'm dealing with the CoreOS cluster). I suspected an etcd2 culprit. This is our testing infra:
In the last days we were trying to launch 100 units (with its discovery) for testing, across all the 5 machines (and not only the two workers). For this reason I suspected that etcd2 cluster was suffering. Today we started seeing machines disappearing and reappearing again (never seen before). I restarted etcd2 service on all machines and this stopped. The only error I've seen on etcd2 logs is:
The next test we're going to do is to launch our units only on worker machines. Btw any idea on how to reset etcd2 metrics? Atm I see a lot of |
@gfazioli You have to update etcd to 2.1 to get all the metrics. See https://github.com/coreos/etcd/blob/release-2.1/Documentation/metrics.md |
@gfazioli The easiest way to identify if it is an etcd issue is to monitoring the etcd log. You would see leader elections if etcd is not stable or under very heavy load. |
I'm pretty sure this is the same as #1650 but there is not enough information here to tell how fleet and/or fleetctl was being used. |
Hi there,
I have a PHP loop with 10, 20 or 30 CURL to Fleet API. I used it as STRESS TEST
This is my method class
But sometimes (randomly), the
$res = curl_exec( $ch );
return 500 HTTP Status with a blank human-readable message. Consider that$unitId
and$options
are very simple and I keep them equals for each test.Any suggestions?
Thanks in advance
The text was updated successfully, but these errors were encountered: