You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only with the network_validation role, other works very well, ssh is unable to find hostname to connect either with libssh or with paramiko.
I followed the directions in the role readme file.
PLAY [setup wiring validation] ***************************************************************************************************************************************
redirecting (type: action) dellemc.os10.os10_command to dellemc.os10.os10
TASK [dellemc.os10.os10_network_validation : Get Dell EMC OS10 wiring info] ******************************************************************************************
task path: /root/.ansible/collections/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/wiring_validation.yaml:2
redirecting (type: action) dellemc.os10.os10_command to dellemc.os10.os10
redirecting (type: action) dellemc.os10.os10_command to dellemc.os10.os10
<10.19.0.60> using connection plugin network_cli
redirecting (type: connection) ansible.builtin.persistent to ansible.netcommon.persistent
The full traceback is:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/ansible/executor/task_executor.py", line 120, in run
item_results = self._run_loop(items)
File "/usr/local/lib/python3.13/site-packages/ansible/executor/task_executor.py", line 335, in _run_loop
res = self._execute(variables=task_vars)
File "/usr/local/lib/python3.13/site-packages/ansible/executor/task_executor.py", line 641, in _execute
result = self._handler.run(task_vars=vars_copy)
File "/root/.ansible/collections/ansible_collections/dellemc/os10/plugins/action/os10.py", line 88, in run
out = conn.get_prompt()
File "/usr/local/lib/python3.13/site-packages/ansible/module_utils/connection.py", line 200, in __rpc__
raise ConnectionError(to_text(msg, errors='surrogate_then_replace'), code=code)
ansible.module_utils.connection.ConnectionError: [Errno -2] Name or service not known
fatal: [localhost]: FAILED! => {
"msg": "Unexpected failure during module execution: [Errno -2] Name or service not known",
"stdout": ""
}
``
The text was updated successfully, but these errors were encountered:
Hello,
SUMMARY
Only with the network_validation role, other works very well, ssh is unable to find hostname to connect either with libssh or with paramiko.
I followed the directions in the role readme file.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
It run in a docker built like this:
ansible-requirements.yaml:
python-requirements.yaml:
STEPS TO REPRODUCE
playbook:
Inventory:
group_vars/all/all.yaml:
host_vars/sw5232rc9.yaml:
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: