Bug 1909092 - Error Message should not confuse user on Channel form
Summary: Error Message should not confuse user on Channel form
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.7.0
Assignee: Jaivardhan Kumar
QA Contact: Gajanan More
Harsh Mishra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-18 10:44 UTC by Jaivardhan Kumar
Modified: 2021-02-24 15:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, when you installed the Serverless Operator, without creating the eventing custom resource, a channel card was displayed. When you clicked the card, a confusing alert message was displayed. This issue has now been fixed. The channel card, with a proper alert message, is now displayed only if the channel custom resource definition is present.
Clone Of:
Environment:
Last Closed: 2021-02-24 15:47:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7600 0 None closed Bug 1909092: adds feature flag with channel CRD for add action and route 2021-01-11 05:45:06 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:47:37 UTC

Description Jaivardhan Kumar 2020-12-18 10:44:34 UTC
Description of problem:
Kubeadmin has the cluster-wide admin rights. And he can write anything on any namespaces. But getting error like "You do not have write access in this project." for kubeadmin

Prerequisites (if any, like setup, operators/versions):
Install OpenShift Serverless Operator

Create knative serving and do not create knative eventing CR

Steps to Reproduce
Click on Channel card from +Add page
Actual results:
You will see error: 

 
alert:Channel cannot be created
You do not have write access in this project.
 

Expected results:
User with admin rights should be able to write anything on any project. The error should be more informative and should not cause any confusion.

Reproducibility (Always/Intermittent/Only Once):
Always

Build Details:
4.6.0-0.nightly-2020-10-01-012547

Google Chrome 85.0.4183.102

Comment 3 Gajanan More 2021-01-11 06:30:52 UTC
I have verified the bug on:

Build: 4.7.0-0.nightly-2021-01-10-070949

Browser: Google Chrome Version 87

Marking this as done

Comment 5 errata-xmlrpc 2021-02-24 15:47:00 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633


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