Ginkgo Install : Ansible failed!

Hi,
I’ve problem.
How can i fix this error?

Enviroment :

  • Ubuntu 16.04 LTS
  • open-release/ginkgo.master

Error :
TASK [mongo : Add the mongodb repo to the sources list] **********************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt.cache.FetchFailedException: E:Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/InRelease Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?), E:Some index files failed to download. They have been ignored, or old ones used instead.
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “Traceback (most recent call last):\n File “/tmp/ansible_WHucLD/ansible_module_apt_repository.py”, line 565, in \n main()\n File “/tmp/ansible_WHucLD/ansible_module_apt_repository.py”, line 553, in main\n cache.update()\n File “/usr/lib/python2.7/dist-packages/apt/cache.py”, line 503, in update\n raise FetchFailedException(e)\napt.cache.FetchFailedException: E:Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/InRelease Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?), E:Some index files failed to download. They have been ignored, or old ones used instead.\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 0}
to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

1 Like

@dan Has this problem been resolved in your area? I have made a pull request for this issue, here https://github.com/edx/configuration/pull/5419 . This happens because the Mongo 2.4 repository is already invalid.

@icarrr I have see your PR and tried to solv the problem I already again have problem even I copy the roles folder with true permission to my repo it again found Fail on mongo while installation. What can I do to solv this problem ?

Hi,
I’ve fixed it with sudo rm /etc/apt/sources.list.d/downloads_distro_mongodb_org_repo_ubuntu_upstart.list*

Hi everyone! I’m facing the same error trying to upgrade from ficus.3 to ficus.4 (the goal is arriving to ironwood.2) but i’m stuck here, each time I try to exe the sandbox.sh I’ve got this problem. Any suggestion?
I tried what andres suggest but the error come back on the sandbox.sh execution.
Best regards!

Finally solved with @icarrr PR.

Thanks