-
Notifications
You must be signed in to change notification settings - Fork 294
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
Initial provision does not boot mongod server, but second provision attempt does - does anyone know why? #225
Comments
Here's some more verbose output, a slightly different warning message. Curious if @UnderGreen has seen this? RUNNING HANDLER [wait when mongodb is started] *********************************
failed: [XX] (item=127.0.0.1) => {"ansible_loop_var": "item", "changed": false, "elapsed": 120, "item": "127.0.0.1", "msg": "Timeout when waiting for 127.0.0.1:27017"}
failed: [XX] (item=1.2.3.4) => {"ansible_loop_var": "item", "changed": false, "elapsed": 120, "item": "1.2.3.4", "msg": "Timeout when waiting for 1.2.3.4:27017"}
RUNNING HANDLER [mongodb restart] ********************************************** Second boot works fine. 1.2.3.4 is an actual IP, I just renamed it for privacy. |
My setup can be found here: https://github.com/forwardemail/forwardemail.net/blob/master/ansible/playbooks/mongo.yml |
It seems like this is missing somewhere: sudo systemctl enable mongod
sudo systemctl start mongod |
@niftylettuce |
@MemberIT I just tried your fork. It does not work. RUNNING HANDLER [wait when mongodb is started] *********************************
ok: [HIDDEN] => (item=127.0.0.1) Stuck on this. |
I think you need to use |
That seemed to fix it!!!! THANK YOU! If you have PayPal or BTC, please email me [email protected] - would love to comp you for your help. |
@niftylettuce Although no, I was mistaken, resolved here |
@MemberIT I still see that even your fork has this issue on first boot/provision: RUNNING HANDLER [wait when mongodb is started] ********************************* Re-running provision fixes it. Do you know what's wrong?? |
Ubuntu 18.04 with defaults:
Then when I try it again, it works fine and
failed=0
.The text was updated successfully, but these errors were encountered: