Skip to content
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

Dump config on SIGUSR1 #4031

Merged
merged 4 commits into from
Jul 4, 2023
Merged

Dump config on SIGUSR1 #4031

merged 4 commits into from
Jul 4, 2023

Conversation

gmgigi96
Copy link
Member

@gmgigi96 gmgigi96 commented Jul 3, 2023

Now that the configuration has some randomness in the allocated addresses for each services, default configs, templates that needs to be resolved, the actual (resolved) config could not be clearly visible to the operator.
This PR add an option to the reva runtime to dump the configuration on a file (default to /tmp/reva-dump.toml and configurable) when the process receives a SIGUSR1 signal. Eventual errors are logged in the log.

labkode
labkode previously approved these changes Jul 3, 2023
@gmgigi96 gmgigi96 force-pushed the dump-config branch 2 times, most recently from f186333 to d893e24 Compare July 3, 2023 13:01
@cs3org cs3org deleted a comment from update-docs bot Jul 3, 2023
@gmgigi96 gmgigi96 marked this pull request as ready for review July 3, 2023 13:06
@gmgigi96 gmgigi96 requested a review from glpatcern as a code owner July 3, 2023 13:06
@gmgigi96 gmgigi96 requested a review from a team as a code owner July 3, 2023 13:08
@labkode labkode merged commit 22b2378 into cs3org:master Jul 4, 2023
abaldacchino pushed a commit to abaldacchino/reva that referenced this pull request Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants