Slowness problèmes after upgrade from 2.8 to 2.9

48 views
Skip to first unread message

Quentin Aveno

unread,
Oct 21, 2020, 7:31:35 AM10/21/20
to Ansible Project
Hi everyone, 
I have a slowness problem after upgrading ansible from ansible 2.8 to ansible 2.9 (and from python 2.7 to python 3 only on controller). A lot of differents taskes (and différents modules) became very slow (from seconds to more than 5 minutes). After activating debug, I can see à kind of loop over loading module:
Loading Lookup Module '<one module in urlsplit/env/cordes/files/k8s/mathstuff/... each in turns> from <path_to_module>
More than 4000 times in à raw for each module. 

Have you ever experimence this kind of slowness ? 

Jorge Rúa

unread,
Oct 21, 2020, 8:04:40 AM10/21/20
to ansible...@googlegroups.com
I suspect that issue might be caused by the newer ansible version which is potentially exhausting resources on the ansible controller node. 
Pay close attention to memory usage on the controller node when you're running ansible.

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7c953cae-5d42-4637-9ecf-abaeeeb7fb82o%40googlegroups.com.

Quentin Aveno

unread,
Oct 21, 2020, 11:26:07 AM10/21/20
to ansible...@googlegroups.com
Thanks for advice, I will take a look. 

aori...@gmail.com

unread,
Mar 8, 2021, 3:39:09 PM3/8/21
to Ansible Project
We found the problems after many times and it's caused by https://github.com/ansible/ansible/issues/68763
(we rollback to ansible 2.8 for some times and now we will work on our lookup and variables to fix the issue)
Thanks for the help anyway.
Have a nice day.
Reply all
Reply to author
Forward
0 new messages