Commit 9989135
Linstor: Fix on destroy
linstor-manager:
- fix on get_drbd_volumes
Failed because the key backing-disk is not always present.
LinstorSR:
- Refactored some hosts variable to reference the OpaqueRef status
linstorvolumemanager:
- Add destroying DRBD remnants on each hosts before destroying resource groups
- Correctly remove DB files (#57)
`glob` method only returns the dir when not wildcard
is used in the path.
Therefore the remove call right after will fail everytime.
Signed-off-by: Damien Thenot <[email protected]>
Co-authored-by: Benjamin Reis <[email protected]>
Co-authored-by: Ronan Abhamon <[email protected]>1 parent 20c54e8 commit 9989135
File tree
3 files changed
+28
-11
lines changed- drivers
3 files changed
+28
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
655 | | - | |
| 655 | + | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
| 660 | + | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
| 663 | + | |
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
| 680 | + | |
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
245 | 248 | | |
246 | 249 | | |
247 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
1362 | 1361 | | |
1363 | 1362 | | |
1364 | 1363 | | |
1365 | | - | |
| 1364 | + | |
1366 | 1365 | | |
1367 | 1366 | | |
1368 | 1367 | | |
1369 | 1368 | | |
1370 | 1369 | | |
1371 | | - | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1372 | 1385 | | |
1373 | 1386 | | |
1374 | 1387 | | |
| |||
1381 | 1394 | | |
1382 | 1395 | | |
1383 | 1396 | | |
1384 | | - | |
1385 | | - | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1386 | 1400 | | |
1387 | 1401 | | |
1388 | 1402 | | |
| |||
0 commit comments