-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal during task execution #51
Comments
Did you check you aren't affected by one of the known problems listed here? https://docs.ansible.com/ansible/devel/collections/community/routeros/docsite/ssh-guide.html#important-notes |
I can connect by ssh. In routeros log i can see user login string. But then command don't executed or work. |
I'm asking because of
the first point in the link. That triggers exactly the behavior you describe. |
|
SUMMARY
I have a list of MikroTik cAP ac in my inventory. On some devices, task crashes when doing a simple task, while others do it successfully.
fatal: [router]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "timeout value 30 seconds reached while trying to send command: b'/system resource print'"}
ISSUE TYPE
COMPONENT NAME
community.routeros.command
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
cAP ac
firmware: 6.48.4
board-name: cAP ac
model: RBcAPGi-5acD2nD
revision: r2
serial-number: B9320B9EF0D4
firmware-type: ipq4000L
factory-firmware: 6.44
OS
Distributor ID: Debian
Description: Debian GNU/Linux 9.13 (stretch)
Release: 9.13
Codename: stretch
STEPS TO REPRODUCE
[community]
host ansible_host=10.10.5.105
[community:vars]
ansible_connection=ansible.netcommon.network_cli
ansible_network_os=community.routeros.routeros
ansible_user=user
ansible_ssh_private_key_file=/root/.ssh/id_rsa
ansible_connection=network_cli
ansible_ssh_extra_args='-o StrictHostKeyChecking=no'
EXPECTED RESULTS
ok: [host]
ACTUAL RESULTS
fatal: [host]: FAILED! => {"changed": false, "msg": "timeout value 30 seconds reached while trying to send command: b'/system resource print'"}
or
fatal: [host]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "timeout value 30 seconds reached while trying to send command: b'/system resource print'"}
The text was updated successfully, but these errors were encountered: