-
Notifications
You must be signed in to change notification settings - Fork 848
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
Bug: key for Mongo db expired ; causing provisioning to fail. #2713
Comments
Is there an updated key? MongoDB shouldn't be necessary for Tideways/XHProf which is what we added it for. We did recently need to update the Nginx signing key, it should be enough to drop the new file in, this is the commit that modified the provisioner to check for the old key: Also your issue mentioned a vagrant customfile but the gist is your config.yml, was that a mistake? |
Thanks so much for the prompt response.
I believe so, looking into this right now.
Yes, that was a mistake; not using a vagrant customfile.
I did run |
I was able to resolve this by the following although there's a couple other different ways possibly to fix this:
|
https://github.com/Varying-Vagrant-Vagrants/vvv-utilities/tree/master/mongodb is the provisioner that needs changing These lines specifically: Note this only affects people who used the
|
@skorasaurus this PR attempts to auto-remove the old key, and uses the newer key: Varying-Vagrant-Vagrants/vvv-utilities#113 can you take a look? |
I'm going to close this out, the PRs been merged and things are looking alright. If you're reading this and you're on the latest |
Are you using the latest stable or develop branch version of VVV?
Yes (develop), last commit was 8e59717 2024-06-16
Is it a new VVV, or an existing VVV that used to work?
Existing, worked but now broken
Did you use a CustomFile?
No.
Whats the problem?
Similar to #2709;
I made some configurations to my config.yaml so I reprovisioned for the first time in a few months; and even though I have tideways and mongodb commented out in my config.yaml; I receive an error that their key has expired.
The mongodb key has expired for Ubuntu Focal (20.04) which vvv uses (Ref https://www.mongodb.com/community/forums/t/invalid-signature-on-ubuntu-focal-mongo-4-4-repo/283753 https://travis-ci.community/t/travis-focal-ubuntu-image-uses-now-expired-mongodb-4-4-package/14293
The key file for mongodb is not stored in the database but is stored in provision/extensions/core/mongodb
How do we reproduce it?
What is the output of
vagrant status
config.yaml available at https://gist.github.com/skorasaurus/5e431fadaffd452877c65a63b5d4e77f
Which Operating System are you using?
Linux
Which provider are you using?
VirtualBox 6
The text was updated successfully, but these errors were encountered: