lenra-io / server

GNU Affero General Public License v3.0
6 stars 0 forks source link

[Bug]: Error while getting manifest #559

Open shiipou opened 3 months ago

shiipou commented 3 months ago

What happened?

This error appear on server, I have no clue about if this is when building an app or accessing an app. I can't reproduce it, we maybe need to check it more deeply.

Probably when a User cannot have access to an app, when trying to access to the app this error was thrown.

EDIT: No endpoints available for xxx error is throw with this k8s event :

kubelet  error killing pod: failed to "KillPodSandbox" for "52384ef5-97d8-4cf5-ad1f-d480396d6c75" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to destroy network for sandbox \"84cbf2cf1bbb14d586528c9aed5cb86aa5d6977e3d3cd221162a1394b3882ad4\": plugin type=\"calico\" failed (delete): invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"

This is probably because the k8s cluster is full and calico can't start all it's pods.

What browsers are you seeing the problem on?

No response

Version

1.5.3

Relevant log output

Error while getting manifest : {:error, %LenraCommon.Errors.TechnicalError{message: "Unknown error", metadata: "No endpoints available for: production-1524f30a-4e6a-450c-8bdc-6d1da7e54500-11.\n", reason: :unknown_error, status_code: 500}}
taorepoara commented 3 months ago

We need to investigate what could cause that. This shouldn't be possible since we have a node autoscaler that adds nodes if needed.