Code Monkey home page Code Monkey logo

Comments (3)

vnitinv avatar vnitinv commented on July 20, 2024

@dgjnpr which version of PyEZ and ncclient are you using.

If ncclient version is 0.4.5, We are aware of this issue. We are trying to fix this ASAP. This is caused due to a bug in ncclient ncclient/ncclient#88
For now do install ncclient last stable version 0.4.3 using.

pip install ncclient==0.4.3

For more detail do have a look to #82

from ansible-junos-stdlib.

dgjnpr avatar dgjnpr commented on July 20, 2024

@vnitinv thanks.

I was using ncclient 0.4.5. I've downgraded to 0.4.3. I'm now getting the following stack trace (sometimes):

Traceback (most recent call last):
File "./patchchecker.py", line 84, in
cu.load(cfg, format='set', merge=True)
File "/usr/local/lib/python2.7/dist-packages/jnpr/junos/utils/config.py", line 377, in load
return try_load(rpc_contents, rpc_xattrs)
File "/usr/local/lib/python2.7/dist-packages/jnpr/junos/utils/config.py", line 343, in try_load
raise ConfigLoadError(cmd=err.cmd, rsp=err.rsp, errs=err.errs)
jnpr.junos.exception.ConfigLoadError: ConfigLoadError(severity: error, bad_element: None, message: internal communications error (tag 'configuration-set') expecting )

I'm running PYEZ 1.2.3

from ansible-junos-stdlib.

dgjnpr avatar dgjnpr commented on July 20, 2024

ok, scratch that. using ncclient v0.4.3 has fixed the problem.

My additional problem related to trying to apply set configuration to a devices that doesn't support that via netconf.

Problem fixed. :)

from ansible-junos-stdlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.