community.network icon indicating copy to clipboard operation
community.network copied to clipboard

Ansible Aruba 3810 timeout

Open reddyfire opened this issue 3 years ago • 2 comments

SUMMARY

I execute an ansible playbook to show running config on a Aruba 3810 switch. The ssh session starts but the command fails to execute because it gets locked out a press any key to continue screen. The connection eventually times out.

ISSUE TYPE

  • Bug Report

COMPONENT NAME aruba_command

ANSIBLE VERSION ansible 2.9.6 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/cacti/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible executable location = /bin/ansible python version = 3.8.5 (default, May 27 2021, 13:30:53) [GCC 9.3.0]

COLLECTION VERSION I ran the command and nothing showed up.

CONFIGURATION

DEFAULT_TIMEOUT(/etc/ansible/ansible.cfg) = 80 HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False

OS / ENVIRONMENT

Ubuntu Linux 20.04 Aruba 3810 ver 16.07.0003

STEPS TO REPRODUCE

Execute the playbook below

ansible-playbook -i /home/usr/ansible/site_hosts.yml --vault-id adminuser@~/.ansible-vault-pw /home/usr/ansible/show_run.yml

EXPECTED RESULTS

Switch config to output

ACTUAL RESULTS

Command does not execute and connection times out due any key not being pressed.

ok: [SSWI01]

TASK [Show Config] ************************************************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.connection.ConnectionError: timed out fatal: [SSWI01]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}

reddyfire avatar Jul 01 '21 19:07 reddyfire

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.

click here for bot help

ansibullbot avatar Nov 10 '21 06:11 ansibullbot

cc @karthikeyan-dhandapani click here for bot help

ansibullbot avatar Nov 17 '21 19:11 ansibullbot