Giter Site home page Giter Site logo

Comments (4)

LukeDRussell avatar LukeDRussell commented on June 18, 2024
ansible 2.7.2
  config file = /home/4032956/Documents/network-automation/ansible.cfg
  configured module search path = ['/home/4032956/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/4032956/.pyenv/versions/3.6.6/envs/network-automation/lib/python3.6/site-packages/ansible
  executable location = /home/4032956/.pyenv/versions/3.6.6/envs/network-automation/bin/ansible
  python version = 3.6.6 (default, Jul 23 2018, 12:40:23) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

ansible-network.juniper_junos version == v2.7.1

from juniper_junos.

ganeshrn avatar ganeshrn commented on June 18, 2024

@lukerussell It seems there are two different issues one for connection=network_cli and other for connection= netconf

For network_cli:
Have you modified get_facts_command_map.yaml to give rpc as an input? The error log shows run rpc command task in includes/cli/run.yaml fails, which will be invoked when rpc is given as input in get_facts_command_map.yaml.
For network_cli transport, rpcs are not supported. I now realize that I need to add check in includes/cli/run.yaml to throw an error in case rpc is given as input with cli transport.

For netconf:

msg: jxmlease is required but does not appear to be installed.

This seems more like an environment issue. The junos_command module that ships with ansible package requires jxmlease library to convert xml to json. Can you please check if the python executable path that run junos_command.py file has jxmlease installed.

from juniper_junos.

ganeshrn avatar ganeshrn commented on June 18, 2024

needs_info

from juniper_junos.

networkeng1 avatar networkeng1 commented on June 18, 2024

.

from juniper_junos.

Related Issues (5)

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.