Administration console remains and returns 404 after upgrade from 3.x to 4.x

The administration console link is left on the OpenShift Console application selector and returns a 404 when selected.

Symptom

After upgrading foundational services from 3.x to 4.x, an administration console link is left on the OpenShift Console that returns a 404 error.

Cause

All cluster permissions in the ibm-commonui-operator were removed in version 4.x which prevents the operator from removing the console link.

Resolving the problem

The console link must be manually removed.

  1. Determine the name of the console link (that is, admin-hub or admin-hub-zen):

    oc get consolelink
    
  2. Remove the console link:

    oc delete consolelink <admin-hub or admin-hub-zen>