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

[DPE-2992] Part 1 - Provide Mongos with keyfile #309

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

MiaAltieri
Copy link
Contributor

@MiaAltieri MiaAltieri commented Nov 28, 2023

Issue

DPE-2992 is to start the mongos subordinate charm with the provided config server. In order for the config server and for mongos to be connected they both must have the same keyfile

Solution

Provide that key file

Follow up PRs

  1. A follow up PR on mongos charm that uses this library
  2. Updating the library to actually start the mongos service with the information of the config server
  3. Integration tests

Testing

juju deploy ./*charm --config role="config-server" config-server
juju deploy application
juju deploy mongos
juju integrate application mongos
juju integrate mongos:cluster mongodb:cluster
juju ssh mongos
sudo cat KEY_FILE_PATH

@MiaAltieri MiaAltieri changed the title Give mongos keyfile [DPE-2992] Part 1 - Provide Mongos with keyfile Nov 28, 2023
@MiaAltieri MiaAltieri merged commit 01a2aa7 into 6/edge Nov 28, 2023
18 of 19 checks passed
@MiaAltieri MiaAltieri deleted the give-mongos-keyfile branch November 28, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants