We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Installing collection cisco.ios v8.0.0 pulls in ansible.netcommon by the logic ansible.netcommon: >=6.1.0 seen on the dependencies page.
Since the merging of #635 and release of v6.1.2, this is the latest dependency pulled in during the installation of cisco.ios collection.
When ansible.netcommon v6.1.2 is used with cisco.ios.ios_interfaces modules the following error is returned:
{ "module_stdout": "", "module_stderr": "edit_config() got an unexpected keyword argument 'err_responses'", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "_ansible_no_log": false, "changed": false }
Note the mention of unexpected kwargs 'err_responses'; this argument seems to have been introduced in #635 .
When ansible.netcommon is pinned to v6.1.1, cisco.ios.ios_interfaces completes successfully.
err_responses
ansible [core 2.15.12] config file = None configured module search path = ['/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible ansible collection location = /runner/requirements_collections:/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.9.18 (main, Jan 24 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3) jinja version = 3.1.4 libyaml = True
# /runner/requirements_collections/ansible_collections Collection Version ----------------- ------- ansible.netcommon 6.1.2 # /runner/requirements_collections/ansible_collections Collection Version ---------- ------- cisco.ios 8.0.0 # /runner/requirements_collections/ansible_collections Collection Version ------------- ------- ansible.utils 4.1.0
[0;33mANSIBLE_FORCE_COLOR(env: ANSIBLE_FORCE_COLOR) = True�[0m �[0;33mCOLLECTIONS_PATHS(env: ANSIBLE_COLLECTIONS_PATH) = ['/runner/requirements_collections', '/runner/.ansible/collections', '/usr/share/ansible/collections']�[0m �[0;33mCONFIG_FILE() = None�[0m �[0;33mDEFAULT_CALLBACK_PLUGIN_PATH(env: ANSIBLE_CALLBACK_PLUGINS) = ['/usr/local/lib/python3.9/site-packages/ansible_runner/display_callback/callback']�[0m �[0;33mDEFAULT_ROLES_PATH(env: ANSIBLE_ROLES_PATH) = ['/runner/requirements_roles', '/runner/.ansible/roles', '/usr/share/ansible/roles', '/etc/ansible/roles']�[0m �[0;33mDEFAULT_STDOUT_CALLBACK(env: ANSIBLE_STDOUT_CALLBACK) = awx_display�[0m �[0;33mHOST_KEY_CHECKING(env: ANSIBLE_HOST_KEY_CHECKING) = False�[0m �[0;33mINVENTORY_UNPARSED_IS_FAILED(env: ANSIBLE_INVENTORY_UNPARSED_FAILED) = True�[0m �[0;33mRETRY_FILES_ENABLED(env: ANSIBLE_RETRY_FILES_ENABLED) = False�[0m
AWX EE quay.io/ansible/awx-ee:latest (sha256:e9dc6bd5952a3d2e87bc1a3e5c12b88e9ba62e97a2e7b6beb8a80a597f217e9c)
Cisco IOS XE Software, Version 17.09.04a Cisco IOS Software [Cupertino], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 17.9.4a, RELEASE SOFTWARE (fc3)
- name: Change Port Description hosts: all gather_facts: false tasks: - name: Change Description become: true cisco.ios.ios_interfaces: config: - name: "GigabitEthernet1/0/46" description: "beep boop bop"
Cisco interface port description modified
The text was updated successfully, but these errors were encountered:
I create a Bug Report in the cisco.ios repository as well, as I am not sure whether the fix lies upstream or downstream.
Sorry, something went wrong.
@happly This has been fixed with #640. We will do a netcommon release soon.
@NilashishC Thank you for the quick fix!
This has been fixed with ansible.netcommon v6.1.3. Thanks!
Confirming that 6.1.3 resolves the issue.
No branches or pull requests
SUMMARY
Installing collection cisco.ios v8.0.0 pulls in ansible.netcommon by the logic ansible.netcommon: >=6.1.0 seen on the dependencies page.
Since the merging of #635 and release of v6.1.2, this is the latest dependency pulled in during the installation of cisco.ios collection.
When ansible.netcommon v6.1.2 is used with cisco.ios.ios_interfaces modules the following error is returned:
Note the mention of unexpected kwargs 'err_responses'; this argument seems to have been introduced in #635 .
When ansible.netcommon is pinned to v6.1.1, cisco.ios.ios_interfaces completes successfully.
ISSUE TYPE
COMPONENT NAME
err_responses
to edit_config in CliconfBase #635ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
AWX EE quay.io/ansible/awx-ee:latest (sha256:e9dc6bd5952a3d2e87bc1a3e5c12b88e9ba62e97a2e7b6beb8a80a597f217e9c)
Cisco IOS XE Software, Version 17.09.04a
Cisco IOS Software [Cupertino], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 17.9.4a, RELEASE SOFTWARE (fc3)
STEPS TO REPRODUCE
EXPECTED RESULTS
Cisco interface port description modified
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: