Skip to content

Instantly share code, notes, and snippets.

@apinter
Created November 3, 2022 08:38
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 apinter/e48ffe700d3de1cc8833a51fac7bca8e to your computer and use it in GitHub Desktop.
Save apinter/e48ffe700d3de1cc8833a51fac7bca8e to your computer and use it in GitHub Desktop.
ansible mongo error
TASK [Ensure replicaset is stable before beginning] **************************************************************************************************************************************
task path: /var/home/attila.pinter/Project/maintenance/mongors_update/mongors_dup.yml:43
280366 1667462506.63087: sending task start callback
280366 1667462506.63095: entering _queue_task() for mongo-1/community.mongodb.mongodb_status
280366 1667462506.63103: Creating lock for community.mongodb.mongodb_status
280366 1667462506.63514: worker is 1 (out of 2 available)
280366 1667462506.63667: exiting _queue_task() for mongo-1/community.mongodb.mongodb_status
280366 1667462506.63876: getting variables
280366 1667462506.63900: in VariableManager get_vars()
280393 1667462506.63871: running TaskExecutor() for mongo-1/TASK: Ensure replicaset is stable before beginning
280393 1667462506.64064: in run() - task 42010a94-0002-19d2-7494-00000000000a
280393 1667462506.64123: variable 'ansible_search_path' from source: unknown
280366 1667462506.64141: Calling all_inventory to load vars for mongo-2
280366 1667462506.64216: Calling groups_inventory to load vars for mongo-2
280366 1667462506.64241: Calling all_plugins_inventory to load vars for mongo-2
280393 1667462506.64265: calling self._execute()
280393 1667462506.64451: variable 'ansible_host' from source: host vars for 'mongo-1'
280393 1667462506.64463: variable 'ansible_user' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.64471: variable 'ansible_ssh_private_key_file' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.64476: variable 'ansible_ssh_common_args' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.64492: variable 'omit' from source: magic vars
280366 1667462506.64662: Loading VarsModule 'host_group_vars' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
280393 1667462506.64692: variable 'omit' from source: magic vars
280393 1667462506.64816: variable 'omit' from source: magic vars
280393 1667462506.64837: variable 'mongodb_username' from source: play vars
280366 1667462506.64974: Calling all_plugins_play to load vars for mongo-2
280366 1667462506.65115: Loading VarsModule 'host_group_vars' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
280366 1667462506.65267: Calling groups_plugins_inventory to load vars for mongo-2
280366 1667462506.65417: Loading VarsModule 'host_group_vars' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
280393 1667462506.65538: variable 'mongodb_username' from source: play vars
280393 1667462506.65601: variable 'mongodb_password' from source: play vars
280366 1667462506.65667: Calling groups_plugins_play to load vars for mongo-2
280393 1667462506.65720: variable 'mongodb_password' from source: play vars
280393 1667462506.65832: trying /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/connection
280393 1667462506.65888: Loading Connection 'ssh' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=True, class_only=False)
280393 1667462506.65925: trying /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/shell
280393 1667462506.65953: Loading ShellModule 'sh' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
280393 1667462506.65981: Loading ShellModule 'sh' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
280393 1667462506.66015: trying /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/become
280393 1667462506.66048: Loading BecomeModule 'sudo' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/become/sudo.py (found_in_cache=True, class_only=False)
280393 1667462506.66104: variable 'inventory_hostname' from source: host vars for 'mongo-1'
280393 1667462506.66114: variable 'ansible_host' from source: host vars for 'mongo-1'
280393 1667462506.66120: variable 'ansible_ssh_common_args' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.66126: variable 'ansible_user' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.66130: variable 'ansible_ssh_private_key_file' from source: group vars, precedence entry 'groups_inventory'
280366 1667462506.66229: Loading VarsModule 'host_group_vars' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
280393 1667462506.66416: Set connection var ansible_shell_type to sh
280393 1667462506.66430: Set connection var ansible_module_compression to ZIP_DEFLATED
280393 1667462506.66439: Set connection var ansible_shell_executable to /bin/sh
280393 1667462506.66554: Set connection var ansible_pipelining to True
280393 1667462506.66566: Set connection var ansible_timeout to 10
280393 1667462506.66574: Set connection var ansible_private_key_file to ~/.ssh/ansi
280393 1667462506.66579: Set connection var ansible_connection to ssh
280393 1667462506.66616: variable 'ansible_shell_executable' from source: unknown
280393 1667462506.66624: variable 'ansible_connection' from source: unknown
280393 1667462506.66630: variable 'ansible_module_compression' from source: unknown
280393 1667462506.66634: variable 'ansible_shell_type' from source: unknown
280393 1667462506.66638: variable 'ansible_shell_executable' from source: unknown
280393 1667462506.66643: variable 'ansible_host' from source: host vars for 'mongo-1'
280393 1667462506.66650: variable 'ansible_user' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.66654: variable 'ansible_pipelining' from source: unknown
280393 1667462506.66659: variable 'ansible_timeout' from source: unknown
280393 1667462506.66663: variable 'ansible_ssh_private_key_file' from source: group vars, precedence entry 'groups_inventory'
280393 1667462506.66670: variable 'ansible_ssh_common_args' from source: group vars, precedence entry 'groups_inventory'
280366 1667462506.66536: Loading VarsModule 'host_group_vars' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
280366 1667462506.66833: Loading VarsModule 'host_group_vars' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
280393 1667462506.67173: Loading ActionModule 'normal' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/action/normal.py (searched paths: /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/action:/var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/action/__pycache__)
280393 1667462506.67301: variable 'omit' from source: magic vars
280393 1667462506.67410: starting attempt loop
280393 1667462506.67527: running the handler
280393 1667462506.67824: ANSIBALLZ: Using lock for community.mongodb.mongodb_status
280393 1667462506.67911: ANSIBALLZ: Acquiring lock
280393 1667462506.68028: ANSIBALLZ: Lock acquired: 139902142239056
280393 1667462506.68129: ANSIBALLZ: Creating module
280366 1667462506.69302: done with get_vars()
280366 1667462506.69350: done getting variables
280366 1667462506.69482: entering _queue_task() for mongo-2/community.mongodb.mongodb_status
280366 1667462506.69894: worker is 2 (out of 2 available)
280366 1667462506.70133: exiting _queue_task() for mongo-2/community.mongodb.mongodb_status
280366 1667462506.70421: done queuing things up, now waiting for results queue to drain
280366 1667462506.70512: waiting for pending results...
280394 1667462506.70975: running TaskExecutor() for mongo-2/TASK: Ensure replicaset is stable before beginning
280394 1667462506.71094: in run() - task 42010a94-0002-19d2-7494-00000000000a
280394 1667462506.71135: variable 'ansible_search_path' from source: unknown
280394 1667462506.71211: calling self._execute()
280394 1667462506.71365: variable 'ansible_host' from source: host vars for 'mongo-2'
280394 1667462506.71380: variable 'ansible_user' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.71388: variable 'ansible_ssh_private_key_file' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.71394: variable 'ansible_ssh_common_args' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.71412: variable 'omit' from source: magic vars
280394 1667462506.71620: variable 'omit' from source: magic vars
280394 1667462506.71664: variable 'omit' from source: magic vars
280394 1667462506.71686: variable 'mongodb_username' from source: play vars
280394 1667462506.72307: variable 'mongodb_username' from source: play vars
280394 1667462506.72368: variable 'mongodb_password' from source: play vars
280394 1667462506.72476: variable 'mongodb_password' from source: play vars
280394 1667462506.72594: trying /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/connection
280394 1667462506.72658: Loading Connection 'ssh' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=True, class_only=False)
280394 1667462506.72703: trying /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/shell
280394 1667462506.72746: Loading ShellModule 'sh' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
280394 1667462506.72777: Loading ShellModule 'sh' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
280394 1667462506.72810: trying /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/become
280394 1667462506.72843: Loading BecomeModule 'sudo' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/become/sudo.py (found_in_cache=True, class_only=False)
280394 1667462506.72906: variable 'inventory_hostname' from source: host vars for 'mongo-2'
280394 1667462506.72917: variable 'ansible_host' from source: host vars for 'mongo-2'
280394 1667462506.72923: variable 'ansible_ssh_common_args' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.72929: variable 'ansible_user' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.72933: variable 'ansible_ssh_private_key_file' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.73193: Set connection var ansible_shell_type to sh
280394 1667462506.73208: Set connection var ansible_module_compression to ZIP_DEFLATED
280394 1667462506.73218: Set connection var ansible_shell_executable to /bin/sh
280394 1667462506.73226: Set connection var ansible_pipelining to True
280394 1667462506.73233: Set connection var ansible_timeout to 10
280394 1667462506.73240: Set connection var ansible_private_key_file to ~/.ssh/ansi
280394 1667462506.73246: Set connection var ansible_connection to ssh
280394 1667462506.73282: variable 'ansible_shell_executable' from source: unknown
280394 1667462506.73291: variable 'ansible_connection' from source: unknown
280394 1667462506.73296: variable 'ansible_module_compression' from source: unknown
280394 1667462506.73300: variable 'ansible_shell_type' from source: unknown
280394 1667462506.73305: variable 'ansible_shell_executable' from source: unknown
280394 1667462506.73310: variable 'ansible_host' from source: host vars for 'mongo-2'
280394 1667462506.73314: variable 'ansible_user' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.73319: variable 'ansible_pipelining' from source: unknown
280394 1667462506.73324: variable 'ansible_timeout' from source: unknown
280394 1667462506.73328: variable 'ansible_ssh_private_key_file' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.73332: variable 'ansible_ssh_common_args' from source: group vars, precedence entry 'groups_inventory'
280394 1667462506.73691: Loading ActionModule 'normal' from /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/action/normal.py (searched paths: /var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/action:/var/home/attila.pinter/.local/lib/python3.10/site-packages/ansible/plugins/action/__pycache__)
280394 1667462506.73714: variable 'omit' from source: magic vars
280394 1667462506.73723: starting attempt loop
280394 1667462506.73727: running the handler
280394 1667462506.73911: ANSIBALLZ: Using lock for community.mongodb.mongodb_status
280394 1667462506.73919: ANSIBALLZ: Acquiring lock
280393 1667462506.90663: ANSIBALLZ: Writing module into payload
280393 1667462506.90820: ANSIBALLZ: Writing module
280393 1667462506.90874: ANSIBALLZ: Renaming module
280393 1667462506.90921: ANSIBALLZ: Done creating module
280394 1667462506.90936: ANSIBALLZ: Lock acquired: 139902142239056
280394 1667462506.90954: ANSIBALLZ: Reading module after lock
280393 1667462506.91053: variable 'ansible_facts' from source: unknown
280394 1667462506.91055: variable 'ansible_facts' from source: unknown
Using module file /var/home/attila.pinter/.ansible/collections/ansible_collections/community/mongodb/plugins/modules/mongodb_status.py
Pipelining is enabled.
280394 1667462506.91164: _low_level_execute_command(): starting
280394 1667462506.91172: _low_level_execute_command(): using become for this command
280394 1667462506.91196: _low_level_execute_command(): executing: /bin/sh -c 'sudo -H -S -n  -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ihxrraqnqrnoanesoqnyiroaqdkywnaq ; /usr/bin/python3'"'"' && sleep 0'
<10.64.1.3> ESTABLISH SSH CONNECTION FOR USER: ansibleci
Using module file /var/home/attila.pinter/.ansible/collections/ansible_collections/community/mongodb/plugins/modules/mongodb_status.py
<10.64.1.3> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=3600s -o ServerAliveInterval=50 -o ForwardAgent=yes -o PreferredAuthentications=publickey -o 'IdentityFile="/var/home/attila.pinter/.ssh/ansi"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ansibleci"' -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 'ProxyCommand=ssh -W %h:%p -o StrictHostKeyChecking=no -i ~/.ssh/ansi -q ansibleci@34.150.1.59' -o 'ControlPath="/var/home/attila.pinter/.ansible/cp/216fc2819e"' 10.64.1.3 '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ihxrraqnqrnoanesoqnyiroaqdkywnaq ; /usr/bin/python3'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Pipelining is enabled.
280393 1667462506.91446: _low_level_execute_command(): starting
280393 1667462506.91459: _low_level_execute_command(): using become for this command
280393 1667462506.91513: _low_level_execute_command(): executing: /bin/sh -c 'sudo -H -S -n  -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-jfohdrpeearxzseexaawoqkffhyuimpw ; /usr/bin/python3'"'"' && sleep 0'
<10.64.1.4> ESTABLISH SSH CONNECTION FOR USER: ansibleci
<10.64.1.4> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=3600s -o ServerAliveInterval=50 -o ForwardAgent=yes -o PreferredAuthentications=publickey -o 'IdentityFile="/var/home/attila.pinter/.ssh/ansi"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ansibleci"' -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 'ProxyCommand=ssh -W %h:%p -o StrictHostKeyChecking=no -i ~/.ssh/ansi -q ansibleci@34.150.1.59' -o 'ControlPath="/var/home/attila.pinter/.ansible/cp/ba5d1c5738"' 10.64.1.4 '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jfohdrpeearxzseexaawoqkffhyuimpw ; /usr/bin/python3'"'"'"'"'"'"'"'"' && sleep 0'"'"''
280394 1667462506.91834: Initial state: awaiting_escalation: BECOME-SUCCESS-ihxrraqnqrnoanesoqnyiroaqdkywnaq
280393 1667462506.92047: Initial state: awaiting_escalation: BECOME-SUCCESS-jfohdrpeearxzseexaawoqkffhyuimpw
280393 1667462506.92842: stderr chunk (state=1):
>>>OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022
<<<
280394 1667462506.92842: stderr chunk (state=1):
>>>OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022
<<<
280394 1667462506.92976: stderr chunk (state=1):
>>>debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
<<<
280394 1667462506.93062: stderr chunk (state=1):
>>>debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.64.1.3 is address
debug1: re-parsing configuration
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
<<<
280394 1667462506.93204: stderr chunk (state=1):
>>>debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: auto-mux: Trying existing master
<<<
280393 1667462506.93209: stderr chunk (state=1):
>>>debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
<<<
280393 1667462506.93350: stderr chunk (state=1):
>>>debug1: Reading configuration data /etc/ssh/ssh_config
<<<
280393 1667462506.93482: stderr chunk (state=1):
>>>debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
<<<
280393 1667462506.93577: stderr chunk (state=1):
>>>debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
<<<
280393 1667462506.93709: stderr chunk (state=1):
>>>debug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4
<<<
280393 1667462506.93813: stderr chunk (state=1):
>>>debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
<<<
280393 1667462506.93848: stderr chunk (state=1):
>>>debug2: match not found
<<<
280394 1667462506.93726: stderr chunk (state=1):
>>>debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 261503
debug3: mux_client_request_session: session request sent
<<<
280393 1667462506.93931: stderr chunk (state=1):
>>>debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
<<<
280393 1667462506.94055: stderr chunk (state=1):
>>>debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.64.1.4 is address
debug1: re-parsing configuration
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
<<<
280393 1667462506.94209: stderr chunk (state=1):
>>>debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
<<<
280393 1667462506.94247: stderr chunk (state=1):
>>>debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 262469
<<<
280393 1667462506.94291: stderr chunk (state=1):
>>>debug3: mux_client_request_session: session request sent
<<<
280394 1667462507.16942: stderr chunk (state=1):
>>>debug1: mux_client_request_session: master session id: 2
<<<
280393 1667462507.17627: stderr chunk (state=1):
>>>debug1: mux_client_request_session: master session id: 2
<<<
280394 1667462507.67412: stdout chunk (state=1):
>>>BECOME-SUCCESS-ihxrraqnqrnoanesoqnyiroaqdkywnaq
<<<
280394 1667462507.67456: become_success: (source=stdout, state=awaiting_escalation): 'BECOME-SUCCESS-ihxrraqnqrnoanesoqnyiroaqdkywnaq'
Escalation succeeded
280394 1667462507.67469: Sending initial data
280394 1667462507.67577: Sent initial data (137814 bytes)
280393 1667462507.68322: stdout chunk (state=1):
>>>BECOME-SUCCESS-jfohdrpeearxzseexaawoqkffhyuimpw
<<<
280393 1667462507.68337: become_success: (source=stdout, state=awaiting_escalation): 'BECOME-SUCCESS-jfohdrpeearxzseexaawoqkffhyuimpw'
Escalation succeeded
280393 1667462507.68349: Sending initial data
280393 1667462507.68430: Sent initial data (137814 bytes)
280394 1667462509.10645: stdout chunk (state=3):
>>>
{"failed": true, "msg": "Unable to get MongoDB server version: Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed'}", "exception": "  File \"/tmp/ansible_community.mongodb.mongodb_status_payload_712_htta/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py\", line 214, in check_srv_version\n    srv_version = client.server_info()['version']\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1702, in server_info\n    return self.admin.command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 657, in command\n    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1220, in _socket_for_reads\n    with self._get_socket(server, session) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1136, in _get_socket\n    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1407, in get_socket\n    sock_info = self._get_socket(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1517, in _get_socket\n    sock_info = self.connect(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1373, in connect\n    sock_info.check_auth(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 848, in check_auth\n    self.authenticate(credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 865, in authenticate\n    auth.authenticate(credentials, self)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 548, in authenticate\n    auth_func(credentials, sock_info)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 474, in _authenticate_default\n    return _authenticate_scram(credentials, sock_info, \"SCRAM-SHA-1\")\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 200, in _authenticate_scram\n    res = sock_info.command(source, cmd)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 742, in command\n    return command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/network.py\", line 174, in command\n    helpers._check_command_response(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py\", line 181, in _check_command_response\n    raise OperationFailure(errmsg, code, response, max_wire_version)\n", "invocation": {"module_args": {"login_user": "loyalty", "login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "poll": 5, "interval": 10, "replica_set": "rs0", "validate": "minimal", "login_database": "admin", "login_host": "localhost", "login_port": 27017, "strict_compatibility": true, "ssl": false, "ssl_cert_reqs": "CERT_REQUIRED", "ssl_ca_certs": null, "ssl_crlfile": null, "ssl_certfile": null, "ssl_keyfile": null, "ssl_pem_passphrase": null, "auth_mechanism": null, "connection_options": null}}}
<<<
280393 1667462509.12088: stdout chunk (state=3):
>>>
{"failed": true, "msg": "Unable to get MongoDB server version: Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1667462502, 1), 'signature': {'hash': b'\\xe5\\x8e\\x9bx\\xfd\\x1f\\x9f]\\\\\\xc79K&3Y\\xfa`Al\\x00', 'keyId': 7117129412155277316}}, 'operationTime': Timestamp(1667462502, 1)}", "exception": "  File \"/tmp/ansible_community.mongodb.mongodb_status_payload_oqc3gnqn/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py\", line 214, in check_srv_version\n    srv_version = client.server_info()['version']\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1702, in server_info\n    return self.admin.command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 657, in command\n    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1220, in _socket_for_reads\n    with self._get_socket(server, session) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1136, in _get_socket\n    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1407, in get_socket\n    sock_info = self._get_socket(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1517, in _get_socket\n    sock_info = self.connect(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1373, in connect\n    sock_info.check_auth(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 848, in check_auth\n    self.authenticate(credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 865, in authenticate\n    auth.authenticate(credentials, self)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 548, in authenticate\n    auth_func(credentials, sock_info)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 474, in _authenticate_default\n    return _authenticate_scram(credentials, sock_info, \"SCRAM-SHA-1\")\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 200, in _authenticate_scram\n    res = sock_info.command(source, cmd)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 742, in command\n    return command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/network.py\", line 174, in command\n    helpers._check_command_response(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py\", line 181, in _check_command_response\n    raise OperationFailure(errmsg, code, response, max_wire_version)\n", "invocation": {"module_args": {"login_user": "loyalty", "login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "poll": 5, "interval": 10, "replica_set": "rs0", "validate": "minimal", "login_database": "admin", "login_host": "localhost", "login_port": 27017, "strict_compatibility": true, "ssl": false, "ssl_cert_reqs": "CERT_REQUIRED", "ssl_ca_certs": null, "ssl_crlfile": null, "ssl_certfile": null, "ssl_keyfile": null, "ssl_pem_passphrase": null, "auth_mechanism": null, "connection_options": null}}}
<<<
280393 1667462509.53309: stderr chunk (state=3):
>>>debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
<<<
280393 1667462509.53434: stderr chunk (state=3):
>>><<<
280393 1667462509.53447: stdout chunk (state=3):
>>><<<
<10.64.1.4> (1, b'\n{"failed": true, "msg": "Unable to get MongoDB server version: Authentication failed., full error: {\'ok\': 0.0, \'errmsg\': \'Authentication failed.\', \'code\': 18, \'codeName\': \'AuthenticationFailed\', \'$clusterTime\': {\'clusterTime\': Timestamp(1667462502, 1), \'signature\': {\'hash\': b\'\\\\xe5\\\\x8e\\\\x9bx\\\\xfd\\\\x1f\\\\x9f]\\\\\\\\\\\\xc79K&3Y\\\\xfa`Al\\\\x00\', \'keyId\': 7117129412155277316}}, \'operationTime\': Timestamp(1667462502, 1)}", "exception": "  File \\"/tmp/ansible_community.mongodb.mongodb_status_payload_oqc3gnqn/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py\\", line 214, in check_srv_version\\n    srv_version = client.server_info()[\'version\']\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\\", line 1702, in server_info\\n    return self.admin.command(\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\\", line 657, in command\\n    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):\\n  File \\"/usr/lib/python3.8/contextlib.py\\", line 113, in __enter__\\n    return next(self.gen)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\\", line 1220, in _socket_for_reads\\n    with self._get_socket(server, session) as sock_info:\\n  File \\"/usr/lib/python3.8/contextlib.py\\", line 113, in __enter__\\n    return next(self.gen)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\\", line 1136, in _get_socket\\n    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:\\n  File \\"/usr/lib/python3.8/contextlib.py\\", line 113, in __enter__\\n    return next(self.gen)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 1407, in get_socket\\n    sock_info = self._get_socket(all_credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 1517, in _get_socket\\n    sock_info = self.connect(all_credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 1373, in connect\\n    sock_info.check_auth(all_credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 848, in check_auth\\n    self.authenticate(credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 865, in authenticate\\n    auth.authenticate(credentials, self)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\\", line 548, in authenticate\\n    auth_func(credentials, sock_info)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\\", line 474, in _authenticate_default\\n    return _authenticate_scram(credentials, sock_info, \\"SCRAM-SHA-1\\")\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\\", line 200, in _authenticate_scram\\n    res = sock_info.command(source, cmd)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 742, in command\\n    return command(\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/network.py\\", line 174, in command\\n    helpers._check_command_response(\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py\\", line 181, in _check_command_response\\n    raise OperationFailure(errmsg, code, response, max_wire_version)\\n", "invocation": {"module_args": {"login_user": "loyalty", "login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "poll": 5, "interval": 10, "replica_set": "rs0", "validate": "minimal", "login_database": "admin", "login_host": "localhost", "login_port": 27017, "strict_compatibility": true, "ssl": false, "ssl_cert_reqs": "CERT_REQUIRED", "ssl_ca_certs": null, "ssl_crlfile": null, "ssl_certfile": null, "ssl_keyfile": null, "ssl_pem_passphrase": null, "auth_mechanism": null, "connection_options": null}}}\n', b"OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022\r\ndebug1: Reading configuration data /var/home/attila.pinter/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 10.64.1.4 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /var/home/attila.pinter/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 262469\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n")
<10.64.1.4> Failed to connect to the host via ssh: OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.64.1.4 is address
debug1: re-parsing configuration
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 262469
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
280393 1667462509.53641: _low_level_execute_command() done: rc=1, stdout=
{"failed": true, "msg": "Unable to get MongoDB server version: Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1667462502, 1), 'signature': {'hash': b'\\xe5\\x8e\\x9bx\\xfd\\x1f\\x9f]\\\\\\xc79K&3Y\\xfa`Al\\x00', 'keyId': 7117129412155277316}}, 'operationTime': Timestamp(1667462502, 1)}", "exception": "  File \"/tmp/ansible_community.mongodb.mongodb_status_payload_oqc3gnqn/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py\", line 214, in check_srv_version\n    srv_version = client.server_info()['version']\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1702, in server_info\n    return self.admin.command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 657, in command\n    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1220, in _socket_for_reads\n    with self._get_socket(server, session) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1136, in _get_socket\n    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1407, in get_socket\n    sock_info = self._get_socket(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1517, in _get_socket\n    sock_info = self.connect(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1373, in connect\n    sock_info.check_auth(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 848, in check_auth\n    self.authenticate(credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 865, in authenticate\n    auth.authenticate(credentials, self)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 548, in authenticate\n    auth_func(credentials, sock_info)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 474, in _authenticate_default\n    return _authenticate_scram(credentials, sock_info, \"SCRAM-SHA-1\")\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 200, in _authenticate_scram\n    res = sock_info.command(source, cmd)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 742, in command\n    return command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/network.py\", line 174, in command\n    helpers._check_command_response(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py\", line 181, in _check_command_response\n    raise OperationFailure(errmsg, code, response, max_wire_version)\n", "invocation": {"module_args": {"login_user": "loyalty", "login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "poll": 5, "interval": 10, "replica_set": "rs0", "validate": "minimal", "login_database": "admin", "login_host": "localhost", "login_port": 27017, "strict_compatibility": true, "ssl": false, "ssl_cert_reqs": "CERT_REQUIRED", "ssl_ca_certs": null, "ssl_crlfile": null, "ssl_certfile": null, "ssl_keyfile": null, "ssl_pem_passphrase": null, "auth_mechanism": null, "connection_options": null}}}
, stderr=OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.64.1.4 is address
debug1: re-parsing configuration
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.4 originally 10.64.1.4
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 262469
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
280394 1667462509.54359: stderr chunk (state=3):
>>>debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
<<<
280394 1667462509.54571: stderr chunk (state=3):
>>><<<
280394 1667462509.54584: stdout chunk (state=3):
>>><<<
<10.64.1.3> (1, b'\n{"failed": true, "msg": "Unable to get MongoDB server version: Authentication failed., full error: {\'ok\': 0.0, \'errmsg\': \'Authentication failed.\', \'code\': 18, \'codeName\': \'AuthenticationFailed\'}", "exception": "  File \\"/tmp/ansible_community.mongodb.mongodb_status_payload_712_htta/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py\\", line 214, in check_srv_version\\n    srv_version = client.server_info()[\'version\']\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\\", line 1702, in server_info\\n    return self.admin.command(\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\\", line 657, in command\\n    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):\\n  File \\"/usr/lib/python3.8/contextlib.py\\", line 113, in __enter__\\n    return next(self.gen)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\\", line 1220, in _socket_for_reads\\n    with self._get_socket(server, session) as sock_info:\\n  File \\"/usr/lib/python3.8/contextlib.py\\", line 113, in __enter__\\n    return next(self.gen)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\\", line 1136, in _get_socket\\n    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:\\n  File \\"/usr/lib/python3.8/contextlib.py\\", line 113, in __enter__\\n    return next(self.gen)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 1407, in get_socket\\n    sock_info = self._get_socket(all_credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 1517, in _get_socket\\n    sock_info = self.connect(all_credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 1373, in connect\\n    sock_info.check_auth(all_credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 848, in check_auth\\n    self.authenticate(credentials)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 865, in authenticate\\n    auth.authenticate(credentials, self)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\\", line 548, in authenticate\\n    auth_func(credentials, sock_info)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\\", line 474, in _authenticate_default\\n    return _authenticate_scram(credentials, sock_info, \\"SCRAM-SHA-1\\")\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\\", line 200, in _authenticate_scram\\n    res = sock_info.command(source, cmd)\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\\", line 742, in command\\n    return command(\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/network.py\\", line 174, in command\\n    helpers._check_command_response(\\n  File \\"/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py\\", line 181, in _check_command_response\\n    raise OperationFailure(errmsg, code, response, max_wire_version)\\n", "invocation": {"module_args": {"login_user": "loyalty", "login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "poll": 5, "interval": 10, "replica_set": "rs0", "validate": "minimal", "login_database": "admin", "login_host": "localhost", "login_port": 27017, "strict_compatibility": true, "ssl": false, "ssl_cert_reqs": "CERT_REQUIRED", "ssl_ca_certs": null, "ssl_crlfile": null, "ssl_certfile": null, "ssl_keyfile": null, "ssl_pem_passphrase": null, "auth_mechanism": null, "connection_options": null}}}\n', b"OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022\r\ndebug1: Reading configuration data /var/home/attila.pinter/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 10.64.1.3 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /var/home/attila.pinter/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 261503\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n")
<10.64.1.3> Failed to connect to the host via ssh: OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.64.1.3 is address
debug1: re-parsing configuration
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 261503
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
280394 1667462509.54638: _low_level_execute_command() done: rc=1, stdout=
{"failed": true, "msg": "Unable to get MongoDB server version: Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed'}", "exception": "  File \"/tmp/ansible_community.mongodb.mongodb_status_payload_712_htta/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py\", line 214, in check_srv_version\n    srv_version = client.server_info()['version']\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1702, in server_info\n    return self.admin.command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 657, in command\n    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1220, in _socket_for_reads\n    with self._get_socket(server, session) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 1136, in _get_socket\n    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:\n  File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n    return next(self.gen)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1407, in get_socket\n    sock_info = self._get_socket(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1517, in _get_socket\n    sock_info = self.connect(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 1373, in connect\n    sock_info.check_auth(all_credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 848, in check_auth\n    self.authenticate(credentials)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 865, in authenticate\n    auth.authenticate(credentials, self)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 548, in authenticate\n    auth_func(credentials, sock_info)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 474, in _authenticate_default\n    return _authenticate_scram(credentials, sock_info, \"SCRAM-SHA-1\")\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/auth.py\", line 200, in _authenticate_scram\n    res = sock_info.command(source, cmd)\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/pool.py\", line 742, in command\n    return command(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/network.py\", line 174, in command\n    helpers._check_command_response(\n  File \"/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py\", line 181, in _check_command_response\n    raise OperationFailure(errmsg, code, response, max_wire_version)\n", "invocation": {"module_args": {"login_user": "loyalty", "login_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "poll": 5, "interval": 10, "replica_set": "rs0", "validate": "minimal", "login_database": "admin", "login_host": "localhost", "login_port": 27017, "strict_compatibility": true, "ssl": false, "ssl_cert_reqs": "CERT_REQUIRED", "ssl_ca_certs": null, "ssl_crlfile": null, "ssl_certfile": null, "ssl_keyfile": null, "ssl_pem_passphrase": null, "auth_mechanism": null, "connection_options": null}}}
, stderr=OpenSSH_8.8p1, OpenSSL 3.0.5 5 Jul 2022
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.64.1.3 is address
debug1: re-parsing configuration
debug1: Reading configuration data /var/home/attila.pinter/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.64.1.3 originally 10.64.1.3
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 261503
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
280393 1667462509.54687: done with _execute_module (community.mongodb.mongodb_status, {'login_user': 'user', 'login_password': 'password', 'poll': 5, 'interval': 10, 'replica_set': 'rs0', 'validate': 'minimal', '_ansible_check_mode': False, '_ansible_no_log': False, '_ansible_debug': True, '_ansible_diff': False, '_ansible_verbosity': 4, '_ansible_version': '2.13.5', '_ansible_module_name': 'community.mongodb.mongodb_status', '_ansible_syslog_facility': 'LOG_USER', '_ansible_selinux_special_fs': ['fuse', 'nfs', 'vboxsf', 'ramfs', '9p', 'vfat'], '_ansible_string_conversion_action': 'warn', '_ansible_socket': None, '_ansible_shell_executable': '/bin/sh', '_ansible_keep_remote_files': False, '_ansible_tmpdir': None, '_ansible_remote_tmp': '~/.ansible/tmp'})
280394 1667462509.54697: done with _execute_module (community.mongodb.mongodb_status, {'login_user': 'user', 'login_password': 'password', 'poll': 5, 'interval': 10, 'replica_set': 'rs0', 'validate': 'minimal', '_ansible_check_mode': False, '_ansible_no_log': False, '_ansible_debug': True, '_ansible_diff': False, '_ansible_verbosity': 4, '_ansible_version': '2.13.5', '_ansible_module_name': 'community.mongodb.mongodb_status', '_ansible_syslog_facility': 'LOG_USER', '_ansible_selinux_special_fs': ['fuse', 'nfs', 'vboxsf', 'ramfs', '9p', 'vfat'], '_ansible_string_conversion_action': 'warn', '_ansible_socket': None, '_ansible_shell_executable': '/bin/sh', '_ansible_keep_remote_files': False, '_ansible_tmpdir': None, '_ansible_remote_tmp': '~/.ansible/tmp'})
280394 1667462509.54717: handler run complete
280393 1667462509.54729: handler run complete
280393 1667462509.54786: attempt loop complete, returning result
280393 1667462509.54807: _execute() done
280393 1667462509.54839: dumping result to json
280393 1667462509.54877: done dumping result, returning
280393 1667462509.54926: done running TaskExecutor() for mongo-1/TASK: Ensure replicaset is stable before beginning [42010a94-0002-19d2-7494-00000000000a]
280393 1667462509.54959: sending task result for task 42010a94-0002-19d2-7494-00000000000a
280394 1667462509.55008: attempt loop complete, returning result
280394 1667462509.55017: _execute() done
280394 1667462509.55022: dumping result to json
280394 1667462509.55030: done dumping result, returning
280394 1667462509.55039: done running TaskExecutor() for mongo-2/TASK: Ensure replicaset is stable before beginning [42010a94-0002-19d2-7494-00000000000a]
280394 1667462509.55054: sending task result for task 42010a94-0002-19d2-7494-00000000000a
280393 1667462509.55106: done sending task result for task 42010a94-0002-19d2-7494-00000000000a
280393 1667462509.55137: WORKER PROCESS EXITING
280394 1667462509.55144: done sending task result for task 42010a94-0002-19d2-7494-00000000000a
280394 1667462509.55500: WORKER PROCESS EXITING
280366 1667462509.55546: marking mongo-1 as failed
280366 1667462509.55573: marking host mongo-1 failed, current state: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=IteratingStates.TASKS, fail_state=FailedStates.NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
280366 1667462509.55588: ^ failed state is now: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=IteratingStates.COMPLETE, fail_state=FailedStates.TASKS, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
280366 1667462509.55598: getting the next task for host mongo-1
280366 1667462509.55604: host mongo-1 is done iterating, returning
The full traceback is:
  File "/tmp/ansible_community.mongodb.mongodb_status_payload_oqc3gnqn/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py", line 214, in check_srv_version
    srv_version = client.server_info()['version']
  File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1702, in server_info
    return self.admin.command(
  File "/usr/local/lib/python3.8/dist-packages/pymongo/database.py", line 657, in command
    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1220, in _socket_for_reads
    with self._get_socket(server, session) as sock_info:
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1136, in _get_socket
    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 1407, in get_socket
    sock_info = self._get_socket(all_credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 1517, in _get_socket
    sock_info = self.connect(all_credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 1373, in connect
    sock_info.check_auth(all_credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 848, in check_auth
    self.authenticate(credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 865, in authenticate
    auth.authenticate(credentials, self)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/auth.py", line 548, in authenticate
    auth_func(credentials, sock_info)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/auth.py", line 474, in _authenticate_default
    return _authenticate_scram(credentials, sock_info, "SCRAM-SHA-1")
  File "/usr/local/lib/python3.8/dist-packages/pymongo/auth.py", line 200, in _authenticate_scram
    res = sock_info.command(source, cmd)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 742, in command
    return command(
  File "/usr/local/lib/python3.8/dist-packages/pymongo/network.py", line 174, in command
    helpers._check_command_response(
  File "/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py", line 181, in _check_command_response
    raise OperationFailure(errmsg, code, response, max_wire_version)
fatal: [mongo-1]: FAILED! => changed=false 
  invocation:
    module_args:
      auth_mechanism: null
      connection_options: null
      interval: 10
      login_database: admin
      login_host: localhost
      login_password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER
      login_port: 27017
      login_user: loyalty
      poll: 5
      replica_set: rs0
      ssl: false
      ssl_ca_certs: null
      ssl_cert_reqs: CERT_REQUIRED
      ssl_certfile: null
      ssl_crlfile: null
      ssl_keyfile: null
      ssl_pem_passphrase: null
      strict_compatibility: true
      validate: minimal
  msg: 'Unable to get MongoDB server version: Authentication failed., full error: {''ok'': 0.0, ''errmsg'': ''Authentication failed.'', ''code'': 18, ''codeName'': ''AuthenticationFailed'', ''$clusterTime'': {''clusterTime'': Timestamp(1667462502, 1), ''signature'': {''hash'': b''\xe5\x8e\x9bx\xfd\x1f\x9f]\\\xc79K&3Y\xfa`Al\x00'', ''keyId'': 7117129412155277316}}, ''operationTime'': Timestamp(1667462502, 1)}'
280366 1667462509.56302: marking mongo-2 as failed
280366 1667462509.56407: marking host mongo-2 failed, current state: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=IteratingStates.TASKS, fail_state=FailedStates.NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
280366 1667462509.56549: ^ failed state is now: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=IteratingStates.COMPLETE, fail_state=FailedStates.TASKS, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
280366 1667462509.56626: getting the next task for host mongo-2
280366 1667462509.56636: host mongo-2 is done iterating, returning
The full traceback is:
  File "/tmp/ansible_community.mongodb.mongodb_status_payload_712_htta/ansible_community.mongodb.mongodb_status_payload.zip/ansible_collections/community/mongodb/plugins/module_utils/mongodb_common.py", line 214, in check_srv_version
    srv_version = client.server_info()['version']
  File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1702, in server_info
    return self.admin.command(
  File "/usr/local/lib/python3.8/dist-packages/pymongo/database.py", line 657, in command
    with self.__client._socket_for_reads(read_preference, session) as (sock_info, secondary_ok):
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1220, in _socket_for_reads
    with self._get_socket(server, session) as sock_info:
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1136, in _get_socket
    with server.get_socket(self.__all_credentials, handler=err_handler) as sock_info:
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 1407, in get_socket
    sock_info = self._get_socket(all_credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 1517, in _get_socket
    sock_info = self.connect(all_credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 1373, in connect
    sock_info.check_auth(all_credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 848, in check_auth
    self.authenticate(credentials)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 865, in authenticate
    auth.authenticate(credentials, self)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/auth.py", line 548, in authenticate
    auth_func(credentials, sock_info)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/auth.py", line 474, in _authenticate_default
    return _authenticate_scram(credentials, sock_info, "SCRAM-SHA-1")
  File "/usr/local/lib/python3.8/dist-packages/pymongo/auth.py", line 200, in _authenticate_scram
    res = sock_info.command(source, cmd)
  File "/usr/local/lib/python3.8/dist-packages/pymongo/pool.py", line 742, in command
    return command(
  File "/usr/local/lib/python3.8/dist-packages/pymongo/network.py", line 174, in command
    helpers._check_command_response(
  File "/usr/local/lib/python3.8/dist-packages/pymongo/helpers.py", line 181, in _check_command_response
    raise OperationFailure(errmsg, code, response, max_wire_version)
fatal: [mongo-2]: FAILED! => changed=false 
  invocation:
    module_args:
      auth_mechanism: null
      connection_options: null
      interval: 10
      login_database: admin
      login_host: localhost
      login_password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER
      login_port: 27017
      login_user: loyalty
      poll: 5
      replica_set: rs0
      ssl: false
      ssl_ca_certs: null
      ssl_cert_reqs: CERT_REQUIRED
      ssl_certfile: null
      ssl_crlfile: null
      ssl_keyfile: null
      ssl_pem_passphrase: null
      strict_compatibility: true
      validate: minimal
  msg: 'Unable to get MongoDB server version: Authentication failed., full error: {''ok'': 0.0, ''errmsg'': ''Authentication failed.'', ''code'': 18, ''codeName'': ''AuthenticationFailed''}'
280366 1667462509.56872: no more pending results, returning what we have
280366 1667462509.56934: results queue empty
280366 1667462509.56990: checking for any_errors_fatal
280366 1667462509.57004: done checking for any_errors_fatal
280366 1667462509.57008: checking for max_fail_percentage
280366 1667462509.57013: done checking for max_fail_percentage
280366 1667462509.57017: checking to see if all hosts have failed and the running result is not ok
280366 1667462509.57021: done checking to see if all hosts have failed
280366 1667462509.57024: getting the remaining hosts for this loop
280366 1667462509.57030: done getting the remaining hosts for this loop
280366 1667462509.57046: building list of next tasks for hosts
280366 1667462509.57052: getting the next task for host mongo-1
280366 1667462509.57058: host mongo-1 is done iterating, returning
280366 1667462509.57061: getting the next task for host mongo-2
280366 1667462509.57067: host mongo-2 is done iterating, returning
280366 1667462509.57071: done building task lists
280366 1667462509.57075: counting tasks in each state of execution
280366 1667462509.57080: done counting tasks in each state of execution:
        num_setups: 0
        num_tasks: 0
        num_rescue: 0
        num_always: 0
280366 1667462509.57085: all hosts are done, so returning None's for all hosts
280366 1667462509.57119: done queuing things up, now waiting for results queue to drain
280366 1667462509.57128: results queue empty
280366 1667462509.57132: checking for any_errors_fatal
280366 1667462509.57135: done checking for any_errors_fatal
280366 1667462509.57139: checking for max_fail_percentage
280366 1667462509.57145: done checking for max_fail_percentage
280366 1667462509.57148: checking to see if all hosts have failed and the running result is not ok
280366 1667462509.57152: done checking to see if all hosts have failed
280366 1667462509.57157: getting the next task for host mongo-1
280366 1667462509.57163: host mongo-1 is done iterating, returning
280366 1667462509.57167: getting the next task for host mongo-2
280366 1667462509.57172: host mongo-2 is done iterating, returning
280366 1667462509.57178: running handlers

PLAY RECAP *******************************************************************************************************************************************************************************
mongo-1                    : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
mongo-2                    : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment