Project

General

Profile

Bug #48907

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

Added by Nizamudeen A 5 months ago. Updated 2 months 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

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

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


Related issues

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

History

#1 Updated by Nizamudeen A 5 months ago

  • Description updated (diff)

#2 Updated by Nizamudeen A 5 months 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)

#3 Updated by Nizamudeen A 5 months ago

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

#4 Updated by Ernesto Puerta 5 months ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Ernesto Puerta 5 months ago

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

#6 Updated by Backport Bot 5 months ago

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

#7 Updated by Nizamudeen A 5 months ago

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

#8 Updated by Nizamudeen A 5 months ago

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

Reproducible in nautilus.

#9 Updated by Backport Bot 5 months ago

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

#10 Updated by Nizamudeen A 5 months ago

  • Backport changed from nautilus, octopus, pacific to pacific

#11 Updated by Nizamudeen A 5 months ago

  • Backport changed from pacific to nautilus, octopus, pacific

#12 Updated by Nizamudeen A 5 months ago

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

#13 Updated by Ernesto Puerta 4 months ago

  • Status changed from Pending Backport to Resolved

#14 Updated by Ernesto Puerta 2 months ago

  • Project changed from mgr to Dashboard
  • Category changed from dashboard/rgw to Component - RGW

Also available in: Atom PDF