Skip to content

Dynamic global configurations for LDAPS requires restart #10335

Open
@rajujith

Description

@rajujith

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    on Hold

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions