Why am I Unable to use Ping from Execution Environments on Ansible Automation Platform?

Solution Verified - Updated -

Issue

It is not possible to ping from an execution environment (EE) running on an AAP node (e.g. controller or execution node).

This currently occurs in AAP versions <= 2.1.1

Environment

Red Hat supported AAP EE's do not include the ping application by default. The tool is part of the network monitoring tools package ip-utils and can be installed in a custom EE if required. See the AAP documentation for details on creating custom ee's with ansible-builder.

This issue relates to custom EE's which have the ping application installed, which are running on an AAP node and are attempting to use the ping application to send ICMP packets to an IP address outside of the EE. The ICMP packets will not be sent out of the container and ping will return an error like Destination Port Unreachable or no ICMP response is received.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content