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

Auto config pushdown when config change #869

Open
svaroqui opened this issue Sep 18, 2024 · 0 comments
Open

Auto config pushdown when config change #869

svaroqui opened this issue Sep 18, 2024 · 0 comments
Assignees

Comments

@svaroqui
Copy link
Collaborator

svaroqui commented Sep 18, 2024

job script should track config changes (calling the API) /api/clusters/{clusterName}/need-config-change",
and reinstall compliance via
wget --no-check-certificate -q -O- $REPLICATION_MANAGER_URL/static/configurator/opensvc/bootstrap | sh
and re fetch config if needed for this a checksum of each init directory could be computed on replication-manager restart and the a new configuration can be regenerate and re checksum . if the two checksums differs then we should tag the server as need-config-change to day we wrongly tag need-restart and need-rolling-restart on configurator changes but it does not include if the compliance was changed but also if a config can be dynamically change in such case the restart is not needed but can be replace with just a need-config-change

A new setting parameter should be introduce to enable or disable auto config update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants