-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPcontainer running in Kubernetes does not seem to pickup logging configuration changes? #2023
Comments
If that logging output is the last, then I suspect it's waiting to time-out trying to connect to your database. |
Mmm, I can reach the db from within the container (using curl). |
You could try setting the |
Ok, set:
Then I have a web page again: Some observations:
So my conclusion for now: something in the db update is failing or not starting? I'm on 2.4 now... Looking in the database at the databasechangelog and databasechangeloglock table I now see:
and
So it looks like 2.4 is running, but maybe with a not uptodate database? |
Ok... I get what the crux was. Instead of via k8s I just started a fresh container using the same db and credentials:
this is fine as long as nothing has to be changed in the db schema. But on an update, liquibase wants to be the owner of the update functions:
So I'll change (temporarily?) back to the owner of the db. (OR is there an option to have 2 different users for this?) |
Ok, good that you found out, but very strange that Liquibase did not throw any errors over this in the first log you posted! Hmm, having a separate user for the liquibase commands is not a bad idea... |
Context: after upgrading Frost images from 2.3.? to 2.4.0 the http server either does not show up, OR only after a long time.
But the root page (in which I hoped to maybe have to be able to do some db update), does NOT show up.
After a long time, the v1.1/xxx-endpoints eventually show up (but the / or databasestatus pages are still not available then).
The (INFO) logging of the server ends with:
I try to raise the logging level in the http container, but seem to fail
I do see debug messages in the mqtt container, but not in the http container
We have Frost-Server running in Kubernetes here.
Using configuration in a values.yaml like the helm example: https://github.com/FraunhoferIOSB/FROST-Server/blob/v2.x/helm/frost-server/values.yaml
Added
or even
I've also tried to add the LL_FROST env vars from https://fraunhoferiosb.github.io/FROST-Server/deployment/docker.html by putting
FROST_LL
in frost.envExtra key/value pairsGoing INTO the container, I do see FROST_LL with DEBUG values in
env
.Any idea how to see what is going on?
Thanks for any pointer.
The text was updated successfully, but these errors were encountered: