-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[bitnami/mongodb] Chart cannot deploy if Value 'configuration' file is provided with a 'security.keyFile' #16386
Comments
Thanks for creating this issue and the associated PR. The team will review it and provide feedback. Once merged the PR, this issue will be automatically closed. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
This should still be an open issue Edit: @carrodher can you please re-open this issue? The bot suggests I do so, but I do not have permission. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
bump |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Name and Version
bitnami/mongodb 13.9.4
What architecture are you using?
None
What steps will reproduce the bug?
Are you using any custom parameters or values?
What is the expected behavior?
It seems that the ReplicaSet keyfile is created after MongoDB is started, but it's not clear why that happens to me. I believe the ReplicaSet keyfile should be created early in the initialization process.
What do you see instead?
The pod would not start and instead threw the error below. Apologies, I had to write this error out by hand (it is not a copy+paste), so there may be a typo.
Additional information
Potentially related to #16385, my goal was to set the MongoDB setting of
net.tls.allowConnectionsWithoutCertificates
. In an attempt to do this:/opt/bitnami/mongodb/conf/mongodb.conf
from within the containervalues.yaml
, under theconfiguration
field.In trying to get this working, I deleted the namespace to test a fresh deployment with
values.yaml
that were working.To troubleshoot this (long story short) I put a
sleep 1000000
in thesetup.sh
before launching Mongo, entered the pod, and manually ranmongod
until I found it complaining that the file/opt/bitnami/mongodb/conf/keyfile
does not exist. This file was set in thevalues.yaml
under theconfiguration
field, in the MongoDB configuration file:security.keyFile
.The text was updated successfully, but these errors were encountered: