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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.