Bug 1793906

Summary: Templates page does not handle no-namespace situation gracefully
Product: OpenShift Container Platform Reporter: Fabian Deutsch <fdeutsch>
Component: Console Kubevirt PluginAssignee: Phillip Bailey <phbailey>
Status: CLOSED ERRATA QA Contact: Nelly Credi <ncredi>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: aos-bugs, cnv-qe-bugs, gouyang, ncredi, phbailey, tjelinek
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1809572 (view as bug list) Environment:
Last Closed: 2020-07-13 17:13:17 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:
Bug Depends On:    
Bug Blocks: 1809572    
Attachments:
Description Flags
Bad: Templates
none
Good: VM page none

Description Fabian Deutsch 2020-01-22 09:02:58 UTC
Created attachment 1654494 [details]
Bad: Templates

Description of problem:
If the user goeys to the Virtual Machine Templates" page before a namespace is created, he will be confronted with an error (See screenshot).

Other pages i.e. Pod or Virtal Machines pages - are handling it more gracefully, Templates should align.

Version-Release number of selected component (if applicable):
CNV 2.1

How reproducible:
Always

Steps to Reproduce:
1. Login to OCP
2. Do NOT create a project/namespace
3. Go to "Virtual Machine Templates" page

Actual results:
Permission error is displayed

Expected results:
Similar handling like Virtual Machine page does if no project exists

Additional info:

Comment 1 Fabian Deutsch 2020-01-22 09:03:45 UTC
Created attachment 1654495 [details]
Good: VM page

Comment 2 Tomas Jelinek 2020-02-07 11:45:56 UTC
*** Bug 1777292 has been marked as a duplicate of this bug. ***

Comment 5 Guohua Ouyang 2020-03-31 09:01:58 UTC
there is only a "Virtualization" on 4.5, no such issue now.

Comment 7 errata-xmlrpc 2020-07-13 17:13:17 UTC
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, 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/RHBA-2020:2409