Project

General

Profile

Actions

Bug #64112

closed

mgr/dashboard: [Dashboard]Creating a subvolume is prevented if you try to create one with the same name in a different subvolume group.

Added by Amarnath Reddy 4 months ago. Updated about 2 months ago.

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

0%

Source:
Community (user)
Tags:
backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

Steps :
1. Created a subvolume in default group with name test
2. Created a subvolume groupe with name subvolgroup_1
3. Tried creating subvolume in subvolgroup_1 with name test. Validation kicks in stops the submission.

In CLI it works fine
[root@ceph-amk-upstream-i9y4nx-node7 ~]# ceph -s
cluster:
id: efc2972c-b6ec-11ee-bcbf-fa163ef34814
health: HEALTH_OK

services:
mon: 3 daemons, quorum ceph-amk-upstream-i9y4nx-node1-installer,ceph-amk-upstream-i9y4nx-node3,ceph-amk-upstream-i9y4nx-node2 (age 2d)
mgr: ceph-amk-upstream-i9y4nx-node1-installer.gxikjf(active, since 2d), standbys: ceph-amk-upstream-i9y4nx-node2.erfypf
mds: 2/2 daemons up, 1 standby
osd: 12 osds: 12 up (since 2d), 12 in (since 2d)
data:
volumes: 1/1 healthy
pools: 4 pools, 561 pgs
objects: 50.41k objects, 1.6 GiB
usage: 9.1 GiB used, 171 GiB / 180 GiB avail
pgs: 561 active+clean

[root@ceph-amk-upstream-i9y4nx-node7 ~]# ceph versions {
"mon": {
"ceph version 18.2.1-182-g9c9b2197 (9c9b2197bb3d0836c997bf41e691c368693100be) reef (stable)": 3
},
"mgr": {
"ceph version 18.2.1-182-g9c9b2197 (9c9b2197bb3d0836c997bf41e691c368693100be) reef (stable)": 2
},
"osd": {
"ceph version 18.2.1-182-g9c9b2197 (9c9b2197bb3d0836c997bf41e691c368693100be) reef (stable)": 12
},
"mds": {
"ceph version 18.2.1-182-g9c9b2197 (9c9b2197bb3d0836c997bf41e691c368693100be) reef (stable)": 3
},
"overall": {
"ceph version 18.2.1-182-g9c9b2197 (9c9b2197bb3d0836c997bf41e691c368693100be) reef (stable)": 20
}
}

[root@ceph-amk-upstream-i9y4nx-node7 ~]# ceph fs subvolume ls cephfs
[ {
"name": "test"
}
]

[root@ceph-amk-upstream-i9y4nx-node7 ~]# ceph fs subvolume create cephfs test --group_name subvolgroup_1
[root@ceph-amk-upstream-i9y4nx-node7 ~]# ceph fs subvolume ls cephfs
[ {
"name": "test"
}
]
[root@ceph-amk-upstream-i9y4nx-node7 ~]# ceph fs subvolume ls cephfs --group_name subvolgroup_1
[ {
"name": "test"
}
]
[root@ceph-amk-upstream-i9y4nx-node7 ~]#

Environment

  • ceph version string:
  • Platform (OS/distro/release):
  • Cluster details (nodes, monitors, OSDs):
  • Did it happen on a stable environment or after a migration/upgrade?:
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)):

How reproducible

Steps:

  1. ...

Actual results

Please add logs and/or screenshots

Expected results
It should check the details in specific subvolume group

Additional info

here


Files

ceph_tracker_1.docx (213 KB) ceph_tracker_1.docx Amarnath Reddy, 01/22/2024 05:49 AM

Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #64239: reef: mgr/dashboard: [Dashboard]Creating a subvolume is prevented if you try to create one with the same name in a different subvolume group.ResolvedAfreen MisbahActions
Actions #1

Updated by Afreen Misbah 4 months ago

  • Assignee changed from Sarthak Gupta to Afreen Misbah
  • Severity changed from 2 - major to 3 - minor

Reducing the severity as suggested in the ceph dashboard standup by Nizam.
Also, there is a duplicate issue (https://tracker.ceph.com/issues/64037), so working on resolving this.

Thanks

Actions #2

Updated by Nizamudeen A 3 months ago

  • Status changed from New to Pending Backport
  • Backport set to reef
Actions #3

Updated by Nizamudeen A 3 months ago

  • Pull request ID set to 55349
Actions #4

Updated by Backport Bot 3 months ago

  • Copied to Backport #64239: reef: mgr/dashboard: [Dashboard]Creating a subvolume is prevented if you try to create one with the same name in a different subvolume group. added
Actions #5

Updated by Backport Bot 3 months ago

  • Tags set to backport_processed
Actions #6

Updated by Nizamudeen A 3 months ago

  • Status changed from Pending Backport to Resolved
Actions #7

Updated by Ilya Dryomov about 2 months ago

  • Target version deleted (v18.2.2)
Actions

Also available in: Atom PDF