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

Dynamic global configurations for LDAPS requires restart #10335

Open
rajujith opened this issue Feb 6, 2025 · 0 comments
Open

Dynamic global configurations for LDAPS requires restart #10335

rajujith opened this issue Feb 6, 2025 · 0 comments

Comments

@rajujith
Copy link
Collaborator

rajujith commented Feb 6, 2025

problem

The global configurations ldap.truststore.password and ldap.truststore used for enabling the SSL/TLS support for LDAP i.e LDAPS are set type dynamic and it is expected that updating them do not require cloudstack-management service restart. However this is the current behaviour.

  • On setting the value for the above parameters for the first time it works without a restart.
  • If you update it later on it requires service restart. There is no message returned to admin that it requires restart.

Considering the configuration is set as dynamic it should take effect without a service restart.

versions

4.19.1.3

The steps to reproduce the bug

  1. Create a truststore and set the values ldap.truststore.password and ldap.truststore
    2.Add LDAPS server
  2. Create a new truststore for different server or rename current file or create an empty one and update the configuration in the step 1.
  3. Delete the server added in the step 2 and add it back. Or add a new LDAPS server based on the new truststore.
  4. You will recognize that the updated values don't take effect until next service restart.
    ...

What to do about it?

The updated values should take effect without service restart.

@DaanHoogland DaanHoogland changed the title Dynamic gloabl configurations for LDAPS requires restart Dynamic global configurations for LDAPS requires restart Feb 6, 2025
@DaanHoogland DaanHoogland added this to the 4.19.3 milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants