Created attachment 1962187 [details] test_failed_screenshot Description of problem (please be detailed as possible and provide log snippests): Name req validation fail to check start-end symbol. When entering punctuation symbols like !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ or capital letter in the beginning of the name validation check fails to determine that rule "Starts and ends with a lowercase letter or number" has been violated. The bug reproduced for OBC, Backing store, Blocking pool, Namespace store, Bucket class. The bug cannot be reproduced when forbidden symbol taking place in the end of the input. Same time 'Only lowercase letters, numbers, non-consecutive periods, or hyphens' rule check works well Version of all relevant components (if applicable): OC version: Client Version: 4.12.0-202208031327 Kustomize Version: v4.5.4 Server Version: 4.13.0-0.nightly-2023-04-29-073308 Kubernetes Version: v1.26.3+b404935 OCS verison: ocs-operator.v4.13.0-179.stable OpenShift Container Storage 4.13.0-179.stable Succeeded Cluster version NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.13.0-0.nightly-2023-04-29-073308 True False 2d23h Cluster version is 4.13.0-0.nightly-2023-04-29-073308 Rook version: rook: v4.13.0-0.8f51fa4563d28d1fbc2a4de72b6aa3b2f1ddd7fd Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? no Is there any workaround available to the best of your knowledge? - Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? every time Can this issue reproduce from the UI? yes If this is a regression, please provide more details to justify this: new feature, not a regression Steps to Reproduce: 1. login to management console 2. navigate to a page of creation of any resource [OBC, Backing store, Blocking pool, Namespace store, Bucket class] 3. click create resource and write an input such as "{abcdefg" or any valid input name but with uppercase letter or punctuation symbol as a first symbol Actual results: 'Starts and ends with a lowercase letter or number' - success status 'Only lowercase letters, numbers, non-consecutive periods, or hyphens' - error status Expected results: 'Starts and ends with a lowercase letter or number' - error status 'Only lowercase letters, numbers, non-consecutive periods, or hyphens' - error status Additional info:
fixed, test run: http://pastebin.test.redhat.com/1107606
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 (Important: Red Hat OpenShift Data Foundation 4.14.0 security, enhancement & bug fix 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-2023:6832
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days