Skip to content

Instantly share code, notes, and snippets.

@dehamzah
Created December 10, 2017 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dehamzah/cc66a4d10ec019187b5d081bcb0dc86d to your computer and use it in GitHub Desktop.
Save dehamzah/cc66a4d10ec019187b5d081bcb0dc86d to your computer and use it in GitHub Desktop.
Error when running sandbox.sh twice. using ginkgo.master
TASK [mongo : Create super user with js] ***************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/bin/mongo admin /tmp/create_root.js", "delta": "0:00:00.046135", "end": "2017-12-10 18:07:16.602
854", "failed": true, "rc": 253, "start": "2017-12-10 18:07:16.556719", "stderr": "", "stderr_lines": [], "stdout": "MongoDB shell version: 2.6.12\nconnecting
to: admin\nError: 18 { ok: 0.0, errmsg: \"auth failed\", code: 18 }\n2017-12-10T18:07:16.601+0000 Error: not authorized on admin to execute command { usersIn
fo: \"admin\" } at src/mongo/shell/db.js:1342\nfailed to load: /tmp/create_root.js", "stdout_lines": ["MongoDB shell version: 2.6.12", "connecting to: admin",
"Error: 18 { ok: 0.0, errmsg: \"auth failed\", code: 18 }", "2017-12-10T18:07:16.601+0000 Error: not authorized on admin to execute command { usersInfo: \"ad
min\" } at src/mongo/shell/db.js:1342", "failed to load: /tmp/create_root.js"]}
to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry
PLAY RECAP *********************************************************************
localhost : ok=79 changed=15 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment