Openshift 3.11 upgrade fails with the error ""The Service \"console\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update"

Solution In Progress - Updated -

Issue

  • OCP upgrade from any version of 3.11 to the latest fails with the following error
/bin/oc process -f \"/tmp/console-ansible-avJhIu/console-template.yaml\" --param IMAGE=\"satelliteserver:5000/dhs_myorg-ocp311-openshift3_ose-console:v3.11.272\" --param NODE_SELECTOR='{\"node-role.kubernetes.io/master\": \"true\"}' --param SERVER_CONFIG=\"apiVersion: console.op│
enshift.io/v1beta1\nauth:\n  clientID: openshift-console\n  clientSecretFile: /var/oauth-config/clientSecret\n  logoutRedirect: ''\n  oauthEndpointCAFile: /var/run/secrets/kubernetes.io/serv│
iceaccount/ca.crt\nclusterInfo:\n  consoleBaseAddress: https://console.apps.openshift.mydomain\n  consoleBasePath: ''\n  developerConsolePublicURL: https://console.openshift-dev│
1-cluster.example.com:8443/console/\n  masterPublicURL: https://console.openshift.mydomain:8443\ncustomization:\n  branding: ocp\n  documentationBaseURL: https://docs.openshift.com│
/container-platform/3.11/\nkind: ConsoleConfig\nservingInfo:\n  bindAddress: https://0.0.0.0:8443\n  certFile: /var/serving-cert/tls.crt\n  keyFile: /var/serving-cert/tls.key\n\" --param REP│
LICA_COUNT=\"3\" --param CONSOLE_HOSTNAME=\"console.apps.openshift.mydomain\" --param TLS_CERT=\"\" --param TLS_KEY=\"\" --param TLS_CA_CERT=\"\" --config=/tmp/console-ansible-a│
vJhIu/admin.kubeconfig | /bin/oc apply --config=/tmp/console-ansible-avJhIu/admin.kubeconfig -f -

Environment

  • Openshift 3.11
  • Kuyr Plugin

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