Bug 1964472 - Make project and namespace requirements more visible rather than giving me an error after submission
Summary: Make project and namespace requirements more visible rather than giving me an...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Kim Dobestein
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-25 14:50 UTC by Gina Doyle
Modified: 2021-07-27 23:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Version: 4.8.0-0.nightly-2021-05-25-041803 Cluster ID: e70f1b05-1575-4e72-a315-356902bc3ca6 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Last Closed: 2021-07-27 23:10:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9060 0 None open Bug 1964472: Make project and namespace requirements more visible rather than giving me an error after submission 2021-05-26 20:04:46 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:10:22 UTC

Description Gina Doyle 2021-05-25 14:50:08 UTC
Description of problem:

When creating a project or namespace, the requirements are not shown until after I try submitting a new one.

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


How reproducible:
Always


Steps to Reproduce:
1. Create a project
2. Begin the project with openshift- , kubernetes- , or kube
3. Click create

Actual results:
Error that a project can't begin with openshift- , kubernetes- , kube


Expected results:
Ideally tell me this before I click create. Same goes for namespaces. Here's a design doc: https://docs.google.com/document/d/13xAdGJxbtJmvm7AZH7MMmwwPhnyDO_fGsAv6Y5Y-hf0/edit?usp=sharing


Additional info:
There are cases where users cannot create projects or namespaces and therefore shouldn't be told to first create a namespace if you want to create a project with a prefix of openshift- ... etc

Comment 2 Yanping Zhang 2021-06-03 01:38:38 UTC
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-06-02-025513.
Check on project creation modal, open "?" tooltip, there is info in the tooltip: "A Project name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name' or '123-abc'). You must create a Namespace to be able to create projects that begin with 'openshift-', 'kubernetes-', or 'kube-'."
Check on namespace creation modal, open "?" tooltip, there is info in the tooltip: "A Namespace name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name' or '123-abc')."
The bug is fixed.

Comment 5 errata-xmlrpc 2021-07-27 23:10:08 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.8.2 bug fix and security 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-2021:2438


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