Project

General

Profile

Bug #55165

client: validate pool against pool ids as well as pool names

Added by xinyu wang 8 months ago. Updated 8 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Problem:
If the pool is a numeric string (eg. 23134), the current validation assumes
that it is a pool id and looks up the list of pool ids and fails validation
if the pool is not found amongst the list of pool ids.

Solution:
Since a string of digits can also be used as a pool name, the pool is validated
against list of pool names as well if it doesn't match any of the pool ids.

History

#1 Updated by Venky Shankar 8 months ago

  • Status changed from New to Fix Under Review
  • Target version set to v18.0.0
  • Source set to Community (user)
  • Backport set to quincy, pacific

Also available in: Atom PDF