OpenShift upgrade fails at TASK [openshift-logging : command]

Solution Verified - Updated -

Issue

  • When running the upgrade playbook, the installation fails at TASK [openshift-logging : command] with the following error message.

    fatal: [masternod000XXX -> localhost]: FAILED! => {"changed": true, "cmd": ["patch", "--force", "--quiet", "-u", "/tmp/openshift-logging-ansible-1EP27R/configmap_new_file", "/tmp/openshift-logging-ansible-1EP27R/patch.patch"], "delta": "0:00:00.003744", "end": "2020-03-19 23:38:29.307957", "msg": "non-zero return code", "rc": 1, "start": "2020-03-19 23:38:29.304213", "stderr": "", "stderr_lines": [], "stdout": "1 out of 1 hunk FAILED -- saving rejects to file /tmp/openshift-logging-ansible-1EP27R/configmap_new_file.rej", "stdout_lines": ["1 out of 1 hunk FAILED -- saving rejects to file /tmp/openshift-logging-ansible-1EP27R/configmap_new_file.rej"]}
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.11

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