Catch nospaceleftondeviceerror #207

Closed
opened 2021-11-20 15:21:29 +00:00 by ungleich-gitea · 1 comment

Created by: telmich

Instead of throwing this traceback:

INFO: bro.panter.biz: Generating code for *file/etc/iptables.d/policy-fwd
Process Process-13:
Traceback (most recent call last):
File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/usr/lib/python3.2/multiprocessing/process.py", line 116, in run
self._target(_self._args, _self._kwargs)
File "/home/cdist/cdist/cdist/config.py", line 131, in onehost
c.run()
File "/home/cdist/cdist/cdist/config.py", line 157, in run
self.iterate_until_finished()
File "/home/cdist/cdist/cdist/config.py", line 209, in iterate_until_finished
objects_changed = self.iterate_once()
File "/home/cdist/cdist/cdist/config.py", line 194, in iterate_once
self.object_run(cdist_object)
File "/home/cdist/cdist/cdist/config.py", line 257, in object_run
cdist_object.code_remote = self.code.run_gencode_remote(cdist_object)
File "/home/cdist/cdist/cdist/core/code.py", line 117, in run_gencode_remote
return self._run_gencode(cdist_object, 'remote')
File "/home/cdist/cdist/cdist/core/code.py", line 109, in _run_gencode
return self.local.run_script(script, env=env, return_output=True, message_prefix=message_prefix)
File "/home/cdist/cdist/cdist/exec/local.py", line 194, in run_script
return self.run(command=command, env=env, return_output=return_output, message_prefix=message_prefix)
File "/home/cdist/cdist/cdist/exec/local.py", line 170, in run
message = cdist.message.Message(message_prefix, self.messages_path)
File "/home/cdist/cdist/cdist/message.py", line 40, in __init

self.messages_in = tempfile.mkstemp(suffix='.cdist_message_in')[1]
File "/usr/lib/python3.2/tempfile.py", line 281, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python3.2/tempfile.py", line 216, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
OSError: [Errno 28] No space left on device: '/tmp/tmp63fv97.cdist_message_in'

*Created by: telmich* Instead of throwing this traceback: INFO: bro.panter.biz: Generating code for **file/etc/iptables.d/policy-fwd Process Process-13: Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python3.2/multiprocessing/process.py", line 116, in run self._target(_self._args, *_self._kwargs) File "/home/cdist/cdist/cdist/config.py", line 131, in onehost c.run() File "/home/cdist/cdist/cdist/config.py", line 157, in run self.iterate_until_finished() File "/home/cdist/cdist/cdist/config.py", line 209, in iterate_until_finished objects_changed = self.iterate_once() File "/home/cdist/cdist/cdist/config.py", line 194, in iterate_once self.object_run(cdist_object) File "/home/cdist/cdist/cdist/config.py", line 257, in object_run cdist_object.code_remote = self.code.run_gencode_remote(cdist_object) File "/home/cdist/cdist/cdist/core/code.py", line 117, in run_gencode_remote return self._run_gencode(cdist_object, 'remote') File "/home/cdist/cdist/cdist/core/code.py", line 109, in _run_gencode return self.local.run_script(script, env=env, return_output=True, message_prefix=message_prefix) File "/home/cdist/cdist/cdist/exec/local.py", line 194, in run_script return self.run(command=command, env=env, return_output=return_output, message_prefix=message_prefix) File "/home/cdist/cdist/cdist/exec/local.py", line 170, in run message = cdist.message.Message(message_prefix, self.messages_path) File "/home/cdist/cdist/cdist/message.py", line 40, in __init** self.messages_in = tempfile.mkstemp(suffix='.cdist_message_in')[1] File "/usr/lib/python3.2/tempfile.py", line 281, in mkstemp return _mkstemp_inner(dir, prefix, suffix, flags) File "/usr/lib/python3.2/tempfile.py", line 216, in _mkstemp_inner fd = _os.open(file, flags, 0o600) OSError: [Errno 28] No space left on device: '/tmp/tmp63fv97.cdist_message_in'
ungleich-gitea added the
Stale
label 2021-11-20 15:21:29 +00:00
Author
Owner

closed

closed
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#207
No description provided.