Why `Execution Environments` sync on Automation Hub is failing with an error `[Errno 24] Too many open files`?
Issue
-
Why EE(Execution Environments) sync on AH(Automation Hub) is failing with an error
[Errno 24] Too many open files
?**Task Name** pulp_container.app.tasks.synchronize.synchronize **Description** [Errno 24] Too many open files: './tmpunzas1g2' **Traceback** File "/usr/lib/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py", line 323, in _perform_task result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/pulp_container/app/tasks/synchronize.py", line 44, in synchronize return dv.create() File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/declarative_version.py", line 151, in create loop.run_until_complete(pipeline) File "/usr/lib64/python3.8/tempfile.py", line 827, in __exit__ self.cleanup() File "/usr/lib64/python3.8/tempfile.py", line 831, in cleanup self._rmtree(self.name) File "/usr/lib64/python3.8/tempfile.py", line 813, in _rmtree _shutil.rmtree(name, onerror=onerror) File "/usr/lib64/python3.8/shutil.py", line 718, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib64/python3.8/shutil.py", line 631, in _rmtree_safe_fd onerror(os.scandir, path, sys.exc_info()) File "/usr/lib64/python3.8/shutil.py", line 627, in _rmtree_safe_fd with os.scandir(topfd) as scandir_it:
Environment
- Red Hat® Ansible Automation Platform <= 2.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.