Bug 2012835 - odf-console.0 Error: Cannot find module
Summary: odf-console@0.0.0 Error: Cannot find module
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: afrahman
QA Contact: Elad
URL:
Whiteboard:
: 2008828 2014395 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-11 12:04 UTC by Bipin Kunal
Modified: 2023-08-09 16:46 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 09:37:31 UTC
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.