Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Issues encountered while upgrading the Paloalto Log Collectors using Ansible playbook #326

Open
maheshpuppali opened this issue Apr 11, 2019 · 2 comments

Comments

@maheshpuppali
Copy link

While we tried to install and upgrade the software version on a Paloalto (m500 -series), a Log collector:
"Failed to connect: URLError: reason: [Errno 111] Connection refused"

Although we have eliminated Pan_OP module from the playbook, we still have connection issues getting onto Log Collectors (Network layer looks good, we did verify the login credential path manually form the Ansible Tower - it works).
Bug_LC_Pan_YML.txt
Bug_LC_Pan_YML.txt

@demakkar
Copy link

Code being used to upgrade the log collector is below

name: Install PAN-OS and restart(takes 10-12 Minutes)' panos_software: ip_address: X.X.X.X username: abc password: abc version: "{{ target_version }}" restart: true

we are getting below error although panos_software supports panorama /log collector.

fatal: [X.X.x.x]: FAILED! => { "changed": false, "invocation": { "module_args": { "api_key": null, "cmd": "show system info", "cmd_is_xml": false, "ip_address": "x.x.x.x", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER" } }, "msg": "Failed to connect: URLError: reason: [Errno 111] Connection refused" }

@ajoldham
Copy link

This appears to be a problem with a dedicated Log Collector only supporting SSH, so you need to use modules that use SSH.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants