Good afternoon dear contributors of ansible. Thank you very much for your
kindly answer.
I have a situation with a playbook, which takes the following error when
the task of downloading a 5GB file runs:
*after some minutes running the task it shows: *
fatal: [10.x.x.x]: UNREACHABLE! => {"changed": false, "msg": "Failed to
connect to the host via ssh: Shared connection to 10.8.137.184 closed.",
"unreachable": true}
For the above I modify the config file and add the following:
[persistent_connection]
# Configures the persistent connection timeout value in seconds. This value
is
# how long the persistent connection will remain idle before it is
destroyed.
# If the connection doesn't receive a request before the timeout value
# expires, the connection is shutdown. The default value is 30 seconds.
*connect_timeout = 1800*
# Configures the persistent connection retry timeout. This value configures
the
# the retry timeout that ansible-connection will wait to connect
# to the local domain socket. This value must be larger than the
# ssh timeout (timeout) and less than persistent connection idle timeout
(connect_timeout).
# The default value is 15 seconds.
#connect_retry_timeout = 15
# The command timeout value defines the amount of time to wait for a command
# or RPC call before timing out. The value for the command timeout must
# be less than the value of the persistent connection idle timeout
(connect_timeout)
# The default value is 10 second.
*command_timeout = 180*0
First question: Is this okay what I did?
second question: after this change
I got the following error (different ):
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_get_url_payload_QyeZwG/__main__.py", line 390, in
url_get
shutil.copyfileobj(rsp, f)
File "/usr/lib64/python2.7/shutil.py", line 52, in copyfileobj
fdst.write(buf)
*IOError: [Errno 28] No space left on device*
fatal: [10.8.137.184]: FAILED! => {
"changed": false,
"elapsed": 0,
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"checksum": "",
"client_cert": null,
"client_key": null,
"content": null,
"delimiter": null,
"dest": "/oracle/Instaladores/",
"directory_mode": null,
"follow": false,
"force": false,
"force_basic_auth": false,
"group": null,
"headers": null,
"http_agent": "ansible-httpget",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"sha256sum": "",
"src": null,
"timeout": 10,
"tmp_dest": null,
"unsafe_writes": null,
"url":
"http://10.8.70.41/ORACLE_DB/Instaladores_18C/LINUX.X64_180000_grid_home.zip",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": true
}
},
* "msg": "failed to create temporary content file: [Errno 28] No space
left on device"*
But in the managed node i have space in tmp and in the destiny directory:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/SYS-tmp 10G 34M 10G 1% /tmp
/dev/mapper/DATA-lv_oracle 50G 33M 50G 1% /oracle
so what do you think what it could be ?
Thank you so much
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/4e7ae754-07e1-4526-8ed8-d93eae57640f%40googlegroups.com.