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-3493] stop snap from sending undesireable updates to pbm config #42

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

MiaAltieri
Copy link
Contributor

Issue

When the URI is updated the snap updates pbm config with an empty file. If mongod is running as a shard this effectively wipes the entire cluster config

Solution

Remove the call to wipe config $SNAP/usr/bin/pbm" config --file "${PBM_CONFIG_FILE}";

Other

Remove the addition of --setParameter processUmask=037 \ to the mongod start args, this should be done inside the charm

@MiaAltieri MiaAltieri merged commit 539c180 into 6/edge Feb 7, 2024
3 checks passed
@MiaAltieri MiaAltieri deleted the test-new-pbm branch February 7, 2024 15:57
@MiaAltieri MiaAltieri restored the test-new-pbm branch March 1, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants