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

For sharded deployments with TLS cluster sometimes goes into "maintenance" mode with "enabling TLS" message #379

Open
dmitry-ratushnyy opened this issue Mar 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@dmitry-ratushnyy
Copy link
Contributor

dmitry-ratushnyy commented Mar 19, 2024

Steps to reproduce

All steps to reproduce are not clear, however these steps were performed when issue was discovered

  1. Deploy sharded cluster on LXD + Juju 3.1.7
  2. Deploy self-signed-certificates operator
  3. Integrate all shards and config server with self-signed-certificates operator
  4. Remove relation between self-signed-certificates and all shards and config server
  5. Integrate all shards and config server with self-signed-certificates operator for the second time.

Note:
You can adjust juju update-status hook time to speedup reproducibility with
juju model-config update-status-hook-interval=10s

Expected behavior

Once TLS is enabled, if the certificate did not expired cluster should not re-enable TLS once it is enabled

Actual behavior

Screenshot 2024-03-19 at 14 17 28

Versions

Operating system:

Juju CLI:

Juju agent: 3.1.7

Charm revision:

LXD:

Log output

Juju debug log:

Additional context

juju.log

@dmitry-ratushnyy dmitry-ratushnyy added the bug Something isn't working label Mar 19, 2024
Copy link

@dmitry-ratushnyy
Copy link
Contributor Author

Upd: same happens on AWS deployment

@MiaAltieri
Copy link
Contributor

@dmitry-ratushnyy can you send the exact commands you sent to achieve this?

@dmitry-ratushnyy
Copy link
Contributor Author

Upd: This also might be an issue with "self-signed-certificates" charm and is require additional investigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants