Commit b8b5c07
cephfs: pin subvolume in its own subvolume group
The "fs subvolume pin" manager command was issued through go-ceph's
PinSubVolume helper, which does not accept a subvolume group. Ceph then
looked the subvolume up in the default group and returned ENOENT for
subvolumes created in a non-default group, which is the case for
ceph-csi (and the e2e test uses the "e2e" group):
failed to pin subvolume csi-vol-... in fs myfs: rados: ret=-2,
No such file or directory: "subvolume 'csi-vol-...' does not exist"
Issue the "fs subvolume pin" command directly with group_name set, via
a new MgrCommand passthrough on ClusterConnection, so pinning works for
any subvolume group.
Assisted-by: goose <noreply@block.xyz>
Signed-off-by: Ismael Puerto Freire <ismaelpf@inditex.com>1 parent ac31e7c commit b8b5c07
2 files changed
Lines changed: 34 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
342 | 341 | | |
343 | 342 | | |
344 | 343 | | |
345 | | - | |
| 344 | + | |
| 345 | + | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
348 | 358 | | |
349 | | - | |
| 359 | + | |
350 | 360 | | |
351 | | - | |
| 361 | + | |
| 362 | + | |
352 | 363 | | |
353 | | - | |
| 364 | + | |
| 365 | + | |
354 | 366 | | |
355 | 367 | | |
356 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
0 commit comments