Repository navigation
Commit c560105
committed
linstor: only send auto_manage_dual_primary when migrating
Linstor controllers older than 1.29 reject requests with unknown
properties, so a make-available carrying auto_manage_dual_primary fails
against them - which broke every make-available call (and with it
template copies and VM starts) even though the live-migrate API is
version gated: the generated client initializes fields with their schema
default (false here) and serialized everything non-null, so the property
was always sent.1 parent 129ba38 commit c560105
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
- plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
378 | 381 | | |
379 | 382 | | |
380 | 383 | | |
| |||
0 commit comments