Update to OpenShift Container Platform 3.11 is failing while applying openshift_web_console pod labels

Solution Verified - Updated -

Issue

  • Update to OpenShift 3.11.306 fails when applying openshift_web_console pod labels with the below error.

    fatal: [master01.example.com]: FAILED! => {"changed": true, "cmd": "oc label rs,pods -l webconsole=true app=openshift-web-console --overwrite=true -n openshift-web-console --config=/tmp/console-ansible-ysXMCJ/admin.kubeconfig\n", "delta": "0:00:00.339709", "end": "2020-11-11 14:04:24.250664", "msg": "non-zero return code", "rc": 1, "start": "2020-11-11 14:04:23.910955", "stderr": "Error from server (Invalid): Pod \"webconsole-5d5fb95849-6hlts\" is invalid: spec: Forbidden: pod updates may not change fields other than `spec.containers[*].image`, `spec.initContainers[*].image`, `spec.activeDeadlineSeconds` or `spec.tolerations` (only additions to existing tolerations)
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 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