Comments (13)
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the component bot command.
from ansible.
@zia1frey ansible-core
2.13 is not supported and no longer receives bug fixes. Please test against one of the supported versions of ansible-core
, preferably the most recent one, to see whether the bug has been fixed.
from ansible.
Same thing happens on:
ansible [core 2.14.2]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/zia/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.11/site-packages/ansible
ansible collection location = /home/zia/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.11.2 (main, Oct 5 2023, 16:06:03) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/usr/bin/python3.11)
jinja version = 3.1.2
libyaml = True
from ansible.
What is the output from ansible-playbook
during the slow startup? Have you tried increasing the verbosity with -vvv
or using strace to see what is taking a while?
Does the delay occur for a minimal playbook that doesn't gather facts?
- hosts: all
gather_facts: no
tasks:
- ping:
Is ansible-inventory
also slow?
Do you have host_vars/group_vars adjacent to your inventory or playbook?
Same thing happens on:
ansible [core 2.14.2]
A performance issue related to Jinja2 filters/tests caching was fixed in 2.14.11 (and 2.15.5). Can you test against a more recent version?
from ansible.
After slow startup everything rolles as expected, -vvv shows nothing. Also this delay happens for all playbooks, even minimal, even without gather_facts
from ansible.
There is not enough info to guess.
from ansible.
Can I check something else?
from ansible.
I am getting this with -vv:
setting up inventory plugins
host_list declined parsing /home/localhost/ziafre/ansible/zia/inventory/general-inventory.ini as it did not pass its verify_file() method
script declined parsing /home/localhost/ziafre/ansible/zia/inventory/general-inventory.ini as it did not pass its verify_file() method
auto declined parsing /home/localhost/ziafre/ansible/zia/inventory/general-inventory.ini as it did not pass its verify_file() method
yaml declined parsing /home/localhost/ziafre/ansible/zia/inventory/general-inventory.ini as it did not pass its verify_file() method
Parsed /home/localhost/ ziafre/ansible/zia/inventory/general-inventory.ini inventory source with ini plugin
setting up inventory plugins
Also this is what I am getting on Centos7 Ansible VM where there is not slow startup
from ansible.
You can try running with ANSIBLE_DEBUG=1
environment variable exported:
ANSIBLE_DEBUG=1 ansible-playbook -vvv ...
from ansible.
With ANSIBLE_DEBUG=1 ansible-playbook -vvv ... rolling on Rocky VM, I have noted a lot of the same logs (really a lot), which are not on CentOS VM
2318969 1711641701.83145: Loading VarsModule 'host_group_vars' from /usr/lib/python3.9/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
2318969 1711641701.83215: Loading ModuleDocFragment 'vars_plugin_staging' from /usr/lib/python3.9/site-packages/ansible/plugins/doc_fragments/vars_plugin_staging.py (searched paths: /usr/lib/python3.9/site-packages/ansible/plugins/doc_fragments:/usr/share/ansible/plugins/doc_fragments) (found_in_cache=True, class_only=False)
from ansible.
It would help to be given access to the full debug output, perhaps on gist.github.com. As it stands, we have no way to look at the time stamps to correlate what is causing the delay. With so little information, there is really no way we can help, and you are largely on your own to debug the issue.
from ansible.
I to run into this issue sometimes. But for me it's because of the VPN I use.
So please check you're network configuration.
from ansible.
Hi!
Thanks very much for your interest in Ansible. It means a lot to us.
This appears to be a user question, and we'd like to direct these kinds of things to either the mailing list or the IRC channel.
- IRC: #ansible on irc.libera.chat
- mailing list: https://groups.google.com/forum/#!forum/ansible-project
See this page for a complete and up to date list of communication channels and their purposes:
Because this project is very active, we're unlikely to see comments made on closed tickets and we lock them after some time.
If don't you think this particular issue is resolved, you should still stop by there first, we'd appreciate it.
This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like.
Thank you once again and we look forward to seeing you on the list or IRC. Thanks!
from ansible.
Related Issues (20)
- Implement Attribute Specific No Log Parameter HOT 1
- Too many files problem with 1000 forks HOT 2
- group_names var ordered by name instead of level HOT 2
- Updating SLES12 failed HOT 2
- Empty hostname produced from delegate_to, even though task should be skipped HOT 2
- win_owner doesn't work for UNC path HOT 1
- Plugin development documentation requires updates which address handling Unsafe value wrappers HOT 5
- Running with emtpy string as argument to --limit should fail HOT 3
- Single string not cast to list of strings in role argument_spec validation HOT 4
- Allow usage of extra vars in `ansible.builtin.generator` inventory plugin, enabling the dynamic generation of inventory host names at runtime. HOT 1
- fetch checksum with auth HOT 4
- argument_spec: default value for dict entries do not work HOT 9
- Galaxy does not support branch names as version in requirements file HOT 10
- Ansible 2.17 returns code 2 when some hosts are failing and rescued HOT 4
- `meta` tasks break host/fork affinity with `host_pinned` strategy HOT 2
- invalid permissions on postgres pod HOT 3
- win_splitdrive filter returns driveletter with a colon and not only a driveletter HOT 5
- Package ansible-core 2.16 from RHEL 8.10 conflicts with ansible 8.3 from EPEL EL8 during dnf/yum update HOT 3
- Children in host.yml gets conflicting HOT 2
- win_iis_webapppool HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible.