Bug #64112
closedmgr/dashboard: [Dashboard]Creating a subvolume is prevented if you try to create one with the same name in a different subvolume group.
0%
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:
- ...
Actual results¶
Please add logs and/or screenshots
Expected results
It should check the details in specific subvolume group¶
Additional info¶
here
Files
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
Updated by Nizamudeen A 3 months ago
- Status changed from New to Pending Backport
- Backport set to reef
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
Updated by Nizamudeen A 3 months ago
- Status changed from Pending Backport to Resolved