erreur

24 views
Skip to first unread message

Youssef Elahmadi

unread,
Apr 8, 2023, 5:42:55 PM4/8/23
to Ansible Project
Hi,

Dear [Group Members],

I hope this email finds you well. I am reaching out to ask for your assistance with an issue I am facing in my project involving Ansible for a Nokia equipment.

I have encountered some difficulties in configuring the equipment using Ansible and I am in need of some guidance and support

I would greatly appreciate it if any of you who have experience working with this technology could lend me a hand

this is the output :
The full traceback is:
Traceback (most recent call last):
  File "/home/srv_22/.ansible/collections/ansible_collections/ansible/netcommon/plugins/plugin_utils/connection_base.py", line 42, in __getattr__
    return self.__dict__[name]
KeyError: '_nonetype'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/srv_22/.local/lib/python3.10/site-packages/ansible/executor/task_executor.py", line 1005, in _set_plugin_options
    plugin = getattr(self._connection, '_%s' % plugin_type)
  File "/home/srv_22/.ansible/collections/ansible_collections/ansible/netcommon/plugins/plugin_utils/connection_base.py", line 50, in __getattr__
    raise AttributeError(
AttributeError: 'Connection' object has no attribute '_nonetype'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/srv_22/.ansible/collections/ansible_collections/ansible/netcommon/plugins/plugin_utils/connection_base.py", line 42, in __getattr__
    return self.__dict__[name]
KeyError: 'nonetype'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/srv_22/.local/lib/python3.10/site-packages/ansible/executor/task_executor.py", line 158, in run
    res = self._execute()
  File "/home/srv_22/.local/lib/python3.10/site-packages/ansible/executor/task_executor.py", line 560, in _execute
    plugin_vars = self._set_connection_options(cvars, templar)
  File "/home/srv_22/.local/lib/python3.10/site-packages/ansible/executor/task_executor.py", line 1087, in _set_connection_options
    varnames.extend(self._set_plugin_options(plugin_type, variables, templar, task_keys))
  File "/home/srv_22/.local/lib/python3.10/site-packages/ansible/executor/task_executor.py", line 1008, in _set_plugin_options
    plugin = getattr(self._connection, plugin_type)
  File "/home/srv_22/.ansible/collections/ansible_collections/ansible/netcommon/plugins/plugin_utils/connection_base.py", line 50, in __getattr__
    raise AttributeError(
AttributeError: 'Connection' object has no attribute 'nonetype'
fatal: [PE1]: FAILED! => {
    "msg": "Unexpected failure during module execution: 'Connection' object has no attribute 'nonetype'",
    "stdout": ""
}

PLAY RECAP *************************************************************************************************************************************
PE1                        : ok=2    changed=0    unreachable=0    failed=1    skipped=2    rescued=0    ignored=0   
Reply all
Reply to author
Forward
0 new messages