Skip to content
New issue

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

junos_facts fails for Junos Evo devices #498

Open
DCAuto opened this issue Feb 21, 2024 · 0 comments
Open

junos_facts fails for Junos Evo devices #498

DCAuto opened this issue Feb 21, 2024 · 0 comments

Comments

@DCAuto
Copy link

DCAuto commented Feb 21, 2024

SUMMARY

When running the junos_facts module on devices with Junos Evo installed, I receive the following message:

"module_stderr": "b'xmlParseEntityRef: no name, line 89, column 44 (, line 89)'"

The line of the message is different on each switch but all of my Junos Evo switches are failing

ISSUE TYPE
  • Bug Report
COMPONENT NAME

junos_facts

ANSIBLE VERSION
ansible [core 2.16.2]
  config file = /home/xxxx/.ansible.cfg
  configured module search path = ['/home/xxxx/ansible/library', '/home/xxxx/ansible/venv/lib/python3.10/site-packages/git_acp/modules']
  ansible python module location = /home/xxxx/ansible/venv/lib/python3.10/site-packages/ansible
  ansible collection location = /home/xxxx/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/xxxx/ansible/venv/bin/ansible
  python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/home/xxxx/ansible/venv/bin/python3)
  jinja version = 3.1.2
  libyaml = True
COLLECTION VERSION
Collection            Version
--------------------- -------
junipernetworks.junos 6.0.0

# /home/alewis/ansible/venv/lib/python3.10/site-packages/ansible_collections
Collection            Version
--------------------- -------
junipernetworks.junos 5.3.1
CONFIGURATION
CONFIG_FILE() = /home/xxxx/.ansible.cfg
DEFAULT_HOST_LIST(/home/xxxx/.ansible.cfg) = ['/home/xxxx/ansible/inventory/nb_network_inventory.yml']
DEFAULT_MODULE_PATH(/home/xxxx/.ansible.cfg) = ['/home/xxxx/ansible/library', '/home/xxxx/ansible/venv/lib/python3.10/site-packages/git_acp/modules']
DEFAULT_PRIVATE_KEY_FILE(/home/xxxx/.ansible.cfg) = /home/xxxx/.ssh/net_id_ed25519
HOST_KEY_CHECKING(/home/xxxx/.ansible.cfg) = False
OS / ENVIRONMENT

PRETTY_NAME="Ubuntu 22.04.3 LTS"

STEPS TO REPRODUCE
- name: Get Config From JunOS
  junipernetworks.junos.junos_facts:
    gather_subset:
      - config
      - hardware
    config_format: json
  register: CONFIG_RESPONSE
EXPECTED RESULTS

parsed dictionary of the configuration and hardware

ACTUAL RESULTS
 "module_stderr": "b'xmlParseEntityRef: no name, line 89, column 44 (<string>, line 89)'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant