Why loading templates and catalog in OpenShift Virtualization is failing with error "Oh no! Something went wrong"?

Solution In Progress - Updated -

Issue

  • OpenShift Virtualization crashes with an error Oh no! Something went wrong when navigating to templates and catalog from the UI and is logging the below traceback:
poorManProcess@https://console.example.com/api/plugins/kubevirt-plugin/utils_resources_template_utils_index_ts-utils_resources_vm_index_ts-utils_utils_utils_ts-chunk.js:418:5
getTemplateBootSourceType@https://console.example/api/plugins/kubevirt-plugin/utils_resources_template_hooks_index_ts-utils_resources_template_hooks_useVmTemplateSource_in-51d443-chunk.js:299:280
./views/catalog/templatescatalog/hooks/useAvailableDataSourcesAndPVCs.ts/useAvailableDataSourcesAndPVCs/uniqueSources</<@https://console.example.com/api/plugins/kubevirt-plugin/exposed-VirtualMachineTemplatesList-chunk.js:366:161
./views/catalog/templatescatalog/hooks/useAvailableDataSourcesAndPVCs.ts/useAvailableDataSourcesAndPVCs/uniqueSources<@https://console.example.com/api/plugins/kubevirt-plugin/exposed-VirtualMachineTemplatesList-chunk.js:364:23
Sa@https://console.example.com/static/vendors~main-chunk-d016eb3bffbfe8cee1da.min.js:254:63583

Environment

  • OpenShift Virtualization 4.12.

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