Error keytool is unavailable at Metrics task using Ansible on Openshift Container Platform 3

Solution Verified - Updated -

Issue

Ansible Metrics playbook running in RHEL host, while Openshift Container Platform is targeted to be installed at Atomic Nodes.
Gets the error message:

TASK [openshift_metrics : fail] ****************************************************************************************************
fatal: []: FAILED! => {
    "changed": false,
    "failed": true
}

MSG:

'keytool' is unavailable. Please install java-1.8.0-openjdk-headless on the control node

        to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.retry

Environment

Red Hat OpenShift Container Platform 3.6

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