Project

General

Profile

Actions

Bug #48907

closed

mgr/dashboard: incorrect validation in rgw user form for tenanted users

Added by Nizamudeen A over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - RGW
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

The rgw users create form doesnt validate the username correctly if the username is a tenanted one. For eg. Consider there is a user called tenante$sample. Now I am trying to create another user and I entered tenante$sample as username. But it doesn't async validate the username as existing. Instead it just shows the green tick and once the submit button is clicked it'll show the user as existing.

Environment

  • ceph version string:
  • Platform (OS/distro/release):
  • Cluster details (nodes, monitors, OSDs):
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)):

How reproducible

Always

Actual results

Incorrect validation

Create form

Expected results

Validation should be correct

Additional info

here


Files

validation.png (4.06 KB) validation.png Nizamudeen A, 01/17/2021 06:51 AM
users.png (27.9 KB) users.png Nizamudeen A, 01/17/2021 06:51 AM

Related issues 3 (0 open3 closed)

Copied to Dashboard - Backport #48960: octopus: mgr/dashboard: incorrect validation in rgw user form for tenanted usersResolvedNizamudeen AActions
Copied to Dashboard - Backport #48961: nautilus: mgr/dashboard: incorrect validation in rgw user form for tenanted usersResolvedNizamudeen AActions
Copied to Dashboard - Backport #48962: pacific: mgr/dashboard: incorrect validation in rgw user form for tenanted usersResolvedNizamudeen AActions
Actions #1

Updated by Nizamudeen A over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Nizamudeen A over 3 years ago

  • Subject changed from mgr/dashboard: incorrect validation in rgw user form for tenated users to mgr/dashboard: incorrect validation in rgw user form for tenanted users
  • Description updated (diff)
Actions #3

Updated by Nizamudeen A over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 38938
Actions #4

Updated by Ernesto Puerta over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Ernesto Puerta over 3 years ago

@Nizam: nautilus backport too, or not reproducible there?

Actions #6

Updated by Backport Bot over 3 years ago

  • Copied to Backport #48960: octopus: mgr/dashboard: incorrect validation in rgw user form for tenanted users added
Actions #7

Updated by Nizamudeen A over 3 years ago

I didnt tried in the nautilus. But I'll verify and if needed will add the nautilus tag here. @Ernesto

Actions #8

Updated by Nizamudeen A over 3 years ago

  • Backport changed from octopus, pacific to nautilus, octopus, pacific

Reproducible in nautilus.

Actions #9

Updated by Backport Bot over 3 years ago

  • Copied to Backport #48961: nautilus: mgr/dashboard: incorrect validation in rgw user form for tenanted users added
Actions #10

Updated by Nizamudeen A over 3 years ago

  • Backport changed from nautilus, octopus, pacific to pacific
Actions #11

Updated by Nizamudeen A over 3 years ago

  • Backport changed from pacific to nautilus, octopus, pacific
Actions #12

Updated by Nizamudeen A over 3 years ago

  • Copied to Backport #48962: pacific: mgr/dashboard: incorrect validation in rgw user form for tenanted users added
Actions #13

Updated by Ernesto Puerta about 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #14

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 143 to Component - RGW
Actions

Also available in: Atom PDF