We load dynamic plugins asynchronously. This means there is a race if you directly enter a plugin route in the browser URL bar. The page briefly shows a 404 error until the plugin is fully loaded, after which the page appears as expected. We should wait until all plugins load before showing a 404 error.
https://github.com/openshift/console/pull/9559 adds a `useDynamicPluginInfo` hook which returns `allPluginsProcessed`. We should be able to update the 404 page to check if `allPluginsProcessed` after that PR merges.
1. build a dynamic plugin image quay.io/yapei/console-demo-plugin:statusandicon and deploy to the cluster $ oc apply -f oc-manifest.yaml namespace/console-demo-plugin created deployment.apps/console-demo-plugin created service/console-demo-plugin created consoleplugin.console.openshift.io/console-demo-plugin created 2. Enable the dynamic plugin 3. visit ${CONSOLE}/test-consumer and ${CONSOLE}/example/nav/ page, the page is showing a loading icon until the pages are successfully completely loaded, no 404 page now Verified on 4.9.0-0.nightly-2021-08-31-123131
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759