What is the cause of code error?
I’m beginner.
============================================================
Ansible failed!
Decoded error:
== module_stderr ===========================
Traceback (most recent call last):
File “/root/.ansible/tmp/ansible-tmp-1594193502.74-141503057242974/AnsiballZ_mongodb_rs_status”, line 113, in
_ansiballz_main()
File “/root/.ansible/tmp/ansible-tmp-1594193502.74-141503057242974/AnsiballZ_mongodb_rs_status”, line 105, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File “/root/.ansible/tmp/ansible-tmp-1594193502.74-141503057242974/AnsiballZ_mongodb_rs_status”, line 48, in invoke_module
imp.load_module(‘main’, mod, module, MOD_DESC)
File “/tmp/ansible_mongodb_rs_status_payload__G0toa/main.py”, line 133, in
File “/tmp/ansible_mongodb_rs_status_payload__G0toa/main.py”, line 115, in main
File “/usr/local/lib/python2.7/dist-packages/pymongo/database.py”, line 529, in command
with client._socket_for_reads(read_preference) as (sock_info, slave_ok):
File “/usr/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py”, line 982, in _socket_for_reads
server = topology.select_server(read_preference)
File “/usr/local/lib/python2.7/dist-packages/pymongo/topology.py”, line 224, in select_server
address))
File “/usr/local/lib/python2.7/dist-packages/pymongo/topology.py”, line 183, in select_servers
selector, server_timeout, address)
File “/usr/local/lib/python2.7/dist-packages/pymongo/topology.py”, line 199, in _select_servers_loop
self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
== msg ===========================
MODULE FAILURE
See stdout/stderr for the exact error
============================================================
Installation failed!
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
Your log file is at /root/logs/install-20200708-142122.log
Your environment:
OPENEDX_RELEASE=open-release/juniper.1
Installation finished at 2020-07-08 15:04:15