Bug 2012835

Summary: odf-console@0.0.0 Error: Cannot find module
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Bipin Kunal <bkunal>
Component: management-consoleAssignee: afrahman
Status: CLOSED WORKSFORME QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: afrahman, amagrawa, badhikar, jefbrown, madam, muagarwa, niding, ocs-bugs, odf-bz-bot
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 09:37:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bipin Kunal 2021-10-11 12:04:31 UTC
Description of problem (please be detailed as possible and provide log
snippests):

ODF UI is failing to load with 404 error.

Looking into the browser console log I see :

==================================
main-chunk-437214ae735ba71caef7.min.js:1 Failed to load module 'dashboard' of plugin odf-console.0 Error: Cannot find module '@console/internal/components/utils/k8s-watch-hook'
    at webpackMissingModule (api.js:1)
    at Object.../node_modules/@openshift-console/dynamic-plugin-sdk/lib/api/api.js (api.js:1)
    at __webpack_require__ (bootstrap:18)
    at Module.../node_modules/@openshift-console/dynamic-plugin-sdk/lib/index-lib.js (vendors-node_modules_openshift-console_dynamic-plugin-sdk_lib_index-lib_js-chunk.js:1100)
    at __webpack_require__ (bootstrap:18)
    at overridables:249
    at Object.__webpack_modules__.<computed> (overridables:531)
    at __webpack_require__ (bootstrap:18)
    at Module../components/odf-dashboard/dashboard.tsx (components_odf-dashboard_dashboard_tsx-webpack_container_overridable_react_react-webpack_cont-887326-chunk.js:844)
    at __webpack_require__ (bootstrap:18)
(anonymous) @ main-chunk-437214ae735ba71caef7.min.js:1
i @ main-chunk-437214ae735ba71caef7.min.js:1
main-chunk-437214ae735ba71caef7.min.js:1 Code reference resolution failed for plugin odf-console.0
(anonymous) @ main-chunk-437214ae735ba71caef7.min.js:1
(anonymous) @ main-chunk-437214ae735ba71caef7.min.js:1
i @ main-chunk-437214ae735ba71caef7.min.js:1
main-chunk-437214ae735ba71caef7.min.js:1 Plugin odf-console.0 is now disabled
==================================


Version of all relevant components (if applicable):

OCS-4.9.0-183.ci
OCP-4.9


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Yes

Is there any workaround available to the best of your knowledge?
No

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
I think so.

Can this issue reproduce from the UI?
Yes. This is an UI issue

If this is a regression, please provide more details to justify this:

Yes

Steps to Reproduce:
1. Install OCS-4.9 using latest build on OCP-4.9 and check ODF dashboard.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 6 afrahman 2021-10-18 06:51:10 UTC
*** Bug 2014395 has been marked as a duplicate of this bug. ***

Comment 7 afrahman 2021-10-18 07:12:27 UTC
*** Bug 2008828 has been marked as a duplicate of this bug. ***