Open paulbauer1 opened 11 months ago
@paulbauer1 Let me see if I can reproduce.
Remind me in two weeks if I forget (as I am leaving on Christmas travel soon).
@paulbauer1 Let me see if I can reproduce.
Remind me in two weeks if I forget (as I am leaving on Christmas travel soon).
Will do. Have a good break.
@paulbauer1 Let me see if I can reproduce. Remind me in two weeks if I forget (as I am leaving on Christmas travel soon).
Will do. Have a good break.
Also, when running the command directly with netmiko it seems that the issue occurs when the "revert trigger error" parameters are included in the configure replace command. If I include only force the error does not seem to occur.
I can also set the following optional args and it will work. This seems to avoid the error. optional_args: auto_rollback_on_error: false revert_in_min: false
Description of Issue/Question
Note: Please check https://guides.github.com/features/mastering-markdown/ to see how to properly format your request.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
Running dev envionment/python in docker container. Python 3.11.7. Working on a configure replace ansible script. Package Version
ansible 9.1.0 ansible-compat 4.1.10 ansible-core 2.16.1 ansible-lint 6.22.1 attrs 23.1.0 bcrypt 4.1.1 black 23.11.0 bracex 2.4 certifi 2023.11.17 cffi 1.16.0 charset-normalizer 3.3.2 click 8.1.7 cryptography 41.0.7 filelock 3.13.1 future 0.18.3 idna 3.6 Jinja2 3.1.2 jsonschema 4.20.0 jsonschema-specifications 2023.11.2 junos-eznc 2.6.8 lxml 4.9.3 markdown-it-py 3.0.0 MarkupSafe 2.1.3 mdurl 0.1.2 mypy-extensions 1.0.0 napalm 4.1.0 napalm-ansible 1.1.0 ncclient 0.6.13 netaddr 0.9.0 netmiko 4.3.0 netutils 1.6.0 nornir 3.4.1 ntc_templates 4.0.1 packaging 23.2 paramiko 3.3.1 pathspec 0.11.2 pip 23.3.1 platformdirs 4.1.0 pycparser 2.21 pyeapi 1.0.2 Pygments 2.17.2 PyNaCl 1.5.0 pyparsing 3.1.1 pyserial 3.5 PyYAML 6.0.1 referencing 0.32.0 requests 2.31.0 resolvelib 1.0.1 rich 13.7.0 rpds-py 0.13.2 ruamel.yaml 0.18.5 ruamel.yaml.clib 0.2.8 scp 0.14.5 setuptools 65.5.1 six 1.16.0 subprocess-tee 0.4.1 textfsm 1.1.3 transitions 0.9.0 ttp 0.9.5 ttp-templates 0.3.5 typing_extensions 4.8.0 urllib3 2.1.0 wcmatch 8.5 wheel 0.42.0 yamllint 1.33.0 yamlordereddictloader 0.4.2
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
Try and apply the following configuration with napalam configure replace. If I run configure replace from the switch cli the commands work. Ansible module fails as well. I tried both straight python and ansible.
router eigrp Century ! address-family ipv4 unicast autonomous-system 300 ! af-interface default passive-interface exit-af-interface ! topology base exit-af-topology network 10.126.0.0 0.0.127.255 network 172.31.0.40 0.0.0.0 nsf exit-address-family
Error Traceback
(Paste the complete traceback of the exception between quotes below)